| 363 | } |
| 364 | |
| 365 | int SdlInputManager::joyNumButtons(int joyId) const |
| 366 | { |
| 367 | int numButtons = -1; |
| 368 | |
| 369 | if (isJoyPresent(joyId)) |
| 370 | numButtons = SDL_JoystickNumButtons(sdlJoysticks_[joyId]); |
| 371 | |
| 372 | return numButtons; |
| 373 | } |
| 374 | |
| 375 | int SdlInputManager::joyNumHats(int joyId) const |
| 376 | { |
no outgoing calls
no test coverage detected