| 2 | #include "ConfigFile.h" |
| 3 | |
| 4 | void inputKeyboard(WORD cmd, DWORD flag) |
| 5 | { |
| 6 | INPUT input; |
| 7 | input.type = INPUT_KEYBOARD; |
| 8 | input.ki.wScan = 0; |
| 9 | input.ki.time = 0; |
| 10 | input.ki.dwExtraInfo = 0; |
| 11 | input.ki.wVk = cmd; |
| 12 | input.ki.dwFlags = flag; |
| 13 | SendInput(1, &input, sizeof(INPUT)); |
| 14 | } |
| 15 | |
| 16 | void inputKeyboardDown(WORD cmd) |
| 17 | { |
no outgoing calls
no test coverage detected