src/joystick/hidapi/SDL_hidapijoystick_c.h
changeset 13348 448528dc13da
parent 13330 c88765bcf1da
child 13354 8c22865bd138
     1.1 --- a/src/joystick/hidapi/SDL_hidapijoystick_c.h	Thu Dec 12 19:07:26 2019 -0800
     1.2 +++ b/src/joystick/hidapi/SDL_hidapijoystick_c.h	Mon Dec 16 10:20:03 2019 -0800
     1.3 @@ -43,6 +43,9 @@
     1.4  #undef SDL_JOYSTICK_HIDAPI_XBOXONE
     1.5  #endif
     1.6  
     1.7 +/* Prevent rumble duration overflow */
     1.8 +#define SDL_MAX_RUMBLE_DURATION_MS  0x0fffffff
     1.9 +
    1.10  typedef struct _SDL_HIDAPI_DeviceDriver
    1.11  {
    1.12      const char *hint;