mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-23 19:29:05 +02:00
Disable analog stick deduplication (#14590)
* Refactor and unify analog input settings * Disable analog stick deduplication
This commit is contained in:
1 parent
f7bf15ac4f
commit
dea13f7197
1 file changed
-4
@@ -1358,10 +1358,6 @@ static void ConvertAnalogStick(float &x, float &y) {
|
||||
static bool AnalogStickAxis(const AxisInput &axis) {
|
||||
static float history[JOYSTICK_AXIS_MAX+1] = { 0.0f };
|
||||
|
||||
if (history[axis.axisId] == axis.value) {
|
||||
return true;
|
||||
}
|
||||
|
||||
history[axis.axisId] = axis.value;
|
||||
AxisInput axisA = axis;
|
||||
AxisInput axisB = axis;
|
||||
|
||||
Reference in new issue
Block a user