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

Method ConsumeAxisBigActive

engine/Poseidon/Input/InputSubsystem.cpp:1393–1401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1391 return;
1392 syntheticStickButtons_[i] = value;
1393}
1394void InputSubsystem::SetSyntheticStickPov(int i, bool value)
1395{
1396 if (i < 0 || i >= int(std::size(syntheticStickPov_)))
1397 return;
1398 syntheticStickPov_[i] = value;
1399}
1400void InputSubsystem::SetSyntheticLeftStick(float x, float y)
1401{
1402 syntheticLeftStickX_ = std::clamp(x, -1.0f, 1.0f);
1403 syntheticLeftStickY_ = std::clamp(y, -1.0f, 1.0f);
1404

Callers 4

OnSimulateMethod · 0.80
CapturedGamepadInputFunction · 0.80

Calls

no outgoing calls

Tested by 1