MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / ToggleJoystickEnabled

Method ToggleJoystickEnabled

engine/Poseidon/Input/InputSubsystem.cpp:1268–1271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1266}
1267void InputSubsystem::ToggleReverseMouse()
1268{
1269 GInput.mouse.reverseY = !GInput.mouse.reverseY;
1270}
1271void InputSubsystem::SetJoystickEnabled(bool v)
1272{
1273 GInput.gamepad.enabled = v;
1274}

Callers 2

OnButtonClickedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected