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

Method IsMouseLeftDown

engine/Poseidon/Input/InputSubsystem.cpp:694–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

692 int dik = static_cast<int>(sc);
693 if (GInput.keyboard.cheat1 || !GInput.keyboard.cheat2 || dik < 0)
694 return false;
695 bool ret = GInput.keyboard.keysToDo[dik];
696 if (reset)
697 GInput.keyboard.keysToDo[dik] = false;
698 return ret;
699}
700#endif

Callers 15

MouseLeftMethod · 0.80
OnLButtonClickMethod · 0.80
OnLButtonClickMethod · 0.80
InitMethod · 0.80
OnSimulateMethod · 0.80
OnMouseMoveMethod · 0.80
OnMouseHoldMethod · 0.80
OnKeyDownMethod · 0.80
OnMouseMoveMethod · 0.80
OnMouseHoldMethod · 0.80
OnMouseMoveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected