| 110 | } |
| 111 | |
| 112 | void Input::UpdateGamepadLookSensitivity() { |
| 113 | for (auto& open_joystick : open_joysticks_) { |
| 114 | char buffer[64]; |
| 115 | sprintf(buffer, "gamepad_%i_look_sensitivity", open_joystick.second->player_input); |
| 116 | open_joystick.second->joystick.look_sensitivity_ = config[buffer].toNumber<float>(); |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | void Input::UpdateGamepadDeadzone() { |
| 121 | for (auto& open_joystick : open_joysticks_) { |
no outgoing calls
no test coverage detected