We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c38631c commit e328395Copy full SHA for e328395
src/keypress.c
@@ -103,6 +103,7 @@ void win32KeyEvent(int key, MMKeyFlags flags)
103
}
104
105
INPUT keyboardInput;
106
+ keyboardInput.type = INPUT_KEYBOARD;
107
keyboardInput.ki.wScan = scan;
108
keyboardInput.ki.dwFlags = KEYEVENTF_SCANCODE | flags;
109
SendInput(1, &keyboardInput, sizeof(keyboardInput));
0 commit comments