MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / UpdateGamepadLookSensitivity

Method UpdateGamepadLookSensitivity

Source/UserInput/input.cpp:112–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void 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
120void Input::UpdateGamepadDeadzone() {
121 for (auto& open_joystick : open_joysticks_) {

Callers 1

ReloadDynamicSettingsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected