MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / InputTask

Function InputTask

source/src/input.cpp:96–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95};
96void 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
122ThreadQueue inputQueue;
123bool _stdcall InputHook::InputProc(BYTE key, bool press, POINT cursor, PULONG_PTR param)

Callers

nothing calls this directly

Calls 4

RecordInputFunction · 0.85
TriggerFunction · 0.85
recordStopMethod · 0.80
recordStartMethod · 0.80

Tested by

no test coverage detected