| 118 | } |
| 119 | |
| 120 | void Input::UpdateGamepadDeadzone() { |
| 121 | for (auto& open_joystick : open_joysticks_) { |
| 122 | char buffer[64]; |
| 123 | sprintf(buffer, "gamepad_%i_deadzone", open_joystick.second->player_input); |
| 124 | open_joystick.second->joystick.deadzone = config[buffer].toNumber<float>(); |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | void Input::OpenJoystick(int index) { |
| 129 | // int num_joysticks = SDL_NumJoysticks(); |
no outgoing calls
no test coverage detected