Fixed recentering triggers when the application doesn't have focus
This commit is contained in:
parent
72164985b0
commit
8bc5c57d2e
3 changed files with 12 additions and 17 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue