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

Method ConsumeCursorScroll

engine/Poseidon/Input/InputSubsystem.cpp:965–970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

963
964float InputSubsystem::ConsumeCursorScroll()
965{
966 float val = GInput.cursor.aimDeltaZ;
967 GInput.cursor.aimDeltaZ = 0;
968 return val;
969}
970
971void InputSubsystem::ResetCursorPosition()
972{
973 GInput.cursor.cursorX = 0;

Callers 6

SimulateMethod · 0.80
ConsumeWheelMethod · 0.80
OnSimulateMethod · 0.80
ProcessActionsMethod · 0.80
PollWheelScrollMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected