mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 01:46:25 +00:00
Fixed recentering triggers when the application doesn't have focus
This commit is contained in:
@@ -36,6 +36,7 @@ struct _SDL_Joystick
|
||||
|
||||
int naxes; /* Number of axis controls on the joystick */
|
||||
Sint16 *axes; /* Current axis states */
|
||||
Sint16 *axes_zero; /* Zero point on the axis (-32768 for triggers) */
|
||||
|
||||
int nhats; /* Number of hats on the joystick */
|
||||
Uint8 *hats; /* Current hat states */
|
||||
|
Reference in New Issue
Block a user