Merge pull request #20515 from hrydgard/more-misc-fixes

Additional fixes for 1.19.2
This commit is contained in:
Henrik Rydgård
2025-06-15 13:24:49 +02:00
parent 044ecb3609
commit c32af6c7f3
11 changed files with 42 additions and 19 deletions
+4 -1
View File
@@ -160,7 +160,10 @@ void ControlMapper::SetCallbacks(
}
void ControlMapper::SetPSPAxis(int device, int stick, char axis, float value) {
int axisId = axis == 'X' ? 0 : 1;
const int axisId = axis == 'X' ? 0 : 1;
if (stick != 0 && stick != 1) {
return;
}
float position[2];
position[0] = history_[stick][0];