| 1676 | } |
| 1677 | |
| 1678 | void MSWindowsScreen::fakeLocalKey(KeyButton button, bool press) const |
| 1679 | { |
| 1680 | INPUT input; |
| 1681 | input.type = INPUT_KEYBOARD; |
| 1682 | input.ki.wVk = m_keyState->mapButtonToVirtualKey(button); |
| 1683 | DWORD pressFlag = press ? KEYEVENTF_EXTENDEDKEY : KEYEVENTF_KEYUP; |
| 1684 | input.ki.dwFlags = pressFlag; |
| 1685 | input.ki.time = 0; |
| 1686 | input.ki.dwExtraInfo = 0; |
| 1687 | SendInput(1, &input, sizeof(input)); |
| 1688 | } |
| 1689 | |
| 1690 | // |
| 1691 | // MSWindowsScreen::HotKeyItem |
nothing calls this directly
no test coverage detected