diff options
author | John Vilk <jvilk@cs.umass.edu> | 2013-11-19 21:16:52 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-11-19 18:22:45 -0800 |
commit | 814083f84a250a69ce66cf16ca38d0d7d425eee2 (patch) | |
tree | 17ef5ee1ec5fb9f87be2df036ee3e81b250d5459 /src | |
parent | 4a54aa90277cebaf544f42cc9e0f2f4401e7ece4 (diff) |
[SDL] SDL_JoystickEventState should default to SDL_ENABLE, not SDL_DISABLE.
Diffstat (limited to 'src')
-rw-r--r-- | src/library_sdl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js index eb8eea97..8fd06a43 100644 --- a/src/library_sdl.js +++ b/src/library_sdl.js @@ -715,7 +715,7 @@ var LibrarySDL = { // Joystick helper methods and state - joystickEventState: 0, + joystickEventState: 1, // SDL_ENABLE lastJoystickState: {}, // Map from SDL_Joystick* to their last known state. Required to determine if a change has occurred. // Maps Joystick names to pointers. Allows us to avoid reallocating memory for // joystick names each time this function is called. |