Changeset 1346
- Timestamp:
- May 6, 2012, 10:52:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/platform/sdl/sdlinput.cpp
r1342 r1346 56 56 { 57 57 SDL_Joystick *sdlstick = SDL_JoystickOpen(i); 58 59 /* Blacklist HDAPS, it's not a real joystick */ 60 char const *name = SDL_JoystickName(i); 61 if (strstr(name, "HDAPS")) 62 { 63 SDL_JoystickClose(sdlstick); 64 continue; 65 } 66 58 67 Stick *stick = Input::CreateStick(); 59 68 stick->SetAxisCount(SDL_JoystickNumAxes(sdlstick));
Note: See TracChangeset
for help on using the changeset viewer.