MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / CheckClick

Method CheckClick

plugins/base/macro-condition-cursor.cpp:39–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37};
38
39bool MacroConditionCursor::CheckClick()
40{
41 switch (_button) {
42 case MacroConditionCursor::Button::LEFT:
43 return _lastCheckTime < GetLastMouseLeftClickTime();
44 case MacroConditionCursor::Button::MIDDLE:
45 return _lastCheckTime < GetLastMouseMiddleClickTime();
46 case MacroConditionCursor::Button::RIGHT:
47 return _lastCheckTime < GetLastMouseRightClickTime();
48 }
49 return false;
50}
51
52bool MacroConditionCursor::CheckCondition()
53{

Callers

nothing calls this directly

Calls 3

Tested by

no test coverage detected