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

Method GetSyntheticLeftStick

engine/Poseidon/Input/InputSubsystem.cpp:1387–1392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1385 GInput.gamepad.jAxisBigLast[i] = intAxis;
1386 GInput.gamepad.jAxisBigLastActive[i] = Glob.uiTime;
1387 }
1388 }
1389}
1390bool InputSubsystem::ConsumeSyntheticStickButton(int i)
1391{
1392 if (i < 0 || i >= int(std::size(syntheticStickButtons_)))
1393 return false;
1394 bool ret = syntheticStickButtons_[i];
1395 syntheticStickButtons_[i] = false;

Callers 1

ProcessJoystick_SDLFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected