| 383 | } |
| 384 | |
| 385 | int SdlInputManager::joyNumAxes(int joyId) const |
| 386 | { |
| 387 | int numAxes = -1; |
| 388 | |
| 389 | if (isJoyPresent(joyId)) |
| 390 | numAxes = SDL_JoystickNumAxes(sdlJoysticks_[joyId]); |
| 391 | |
| 392 | return numAxes; |
| 393 | } |
| 394 | |
| 395 | const JoystickState& SdlInputManager::joystickState(int joyId) const |
| 396 | { |
no outgoing calls
no test coverage detected