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

Method FlushAndResetMouse

engine/Poseidon/Input/InputSubsystem.cpp:978–982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

976 GInput.cursor.aimDeltaY = 0;
977 return val;
978}
979
980float InputSubsystem::ConsumeCursorScroll()
981{
982 float val = GInput.cursor.aimDeltaZ;
983 GInput.cursor.aimDeltaZ = 0;
984 return val;
985}

Callers 1

DisplayMissionMethod · 0.80

Calls 1

FlushAndResetMethod · 0.80

Tested by

no test coverage detected