mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 19:55:27 +02:00
Disable analog stick deduplication (#14590)
* Refactor and unify analog input settings * Disable analog stick deduplication
This commit is contained in:
@@ -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