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

Method GetKeyToDo

engine/Poseidon/Input/InputSubsystem.cpp:991–996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

989
990bool InputSubsystem::GetKeyToDo(int packedKey, bool reset, bool checkFocus)
991{
992 const int value = InputBindingValue(packedKey);
993 return InputBindingIsDoubleTap(packedKey) ? QueryDoubleTapKeyToDo(GInput, value, reset, checkFocus)
994 : QueryKeyToDo(GInput, value, reset, checkFocus);
995}
996
997int InputSubsystem::CheatActivated() const
998{
999 return GInput.keyboard.CheatActivated();

Callers 3

OnSimulateMethod · 0.80
ProcessMenuMethod · 0.80

Calls 4

InputBindingValueFunction · 0.85
InputBindingIsDoubleTapFunction · 0.85
QueryDoubleTapKeyToDoFunction · 0.85
QueryKeyToDoFunction · 0.85

Tested by

no test coverage detected