| 94 | } |
| 95 | }; |
| 96 | void InputTask(BYTE key, bool press, POINT cursor, KeyState keyState) |
| 97 | { |
| 98 | if (Qi::recordState) |
| 99 | { |
| 100 | if (Qi::recording) |
| 101 | { |
| 102 | if (key == Qi::set.recKey) |
| 103 | { |
| 104 | if (press) Qi::widget.recordStop(); |
| 105 | } |
| 106 | else RecordInput(key, press, cursor); |
| 107 | } |
| 108 | else |
| 109 | { |
| 110 | if (key == Qi::set.recKey) |
| 111 | { |
| 112 | if (press) Qi::widget.recordStart(); |
| 113 | } |
| 114 | } |
| 115 | } |
| 116 | else |
| 117 | { |
| 118 | QiTr::Trigger(key, keyState.state); |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | ThreadQueue inputQueue; |
| 123 | bool _stdcall InputHook::InputProc(BYTE key, bool press, POINT cursor, PULONG_PTR param) |
nothing calls this directly
no test coverage detected