Joystick input: Ignore in-deadzone events from a different device than previous events

Fixes #15465
This commit is contained in:
Henrik Rydgård
2022-11-23 12:22:59 +01:00
parent f4c88e0f80
commit 5230fc7c41
7 changed files with 99 additions and 71 deletions
+1
View File
@@ -33,6 +33,7 @@ enum {
DEVICE_ID_ACCELEROMETER = 30,
DEVICE_ID_XR_CONTROLLER_LEFT = 40,
DEVICE_ID_XR_CONTROLLER_RIGHT = 41,
DEVICE_ID_TOUCH = 42,
};
//number of contiguous generic joypad IDs