| 223 | |
| 224 | int InputManager::getNumJoysticks() { return mNumJoysticks; } |
| 225 | int InputManager::getButtonCountByDevice(int id) |
| 226 | { |
| 227 | if(id == DEVICE_KEYBOARD) |
| 228 | return 120; //it's a lot, okay. |
| 229 | else |
| 230 | return SDL_JoystickNumButtons(mJoysticks[id]); |
| 231 | } |
| 232 | |
| 233 | int InputManager::getNumPlayers() { return mNumPlayers; } |
| 234 | void InputManager::setNumPlayers(int num) { mNumPlayers = num; } |
nothing calls this directly
no outgoing calls
no test coverage detected