diff --git a/src/win32/keypress.c b/src/win32/keypress.c index 04ed0f8..b4a2ca4 100644 --- a/src/win32/keypress.c +++ b/src/win32/keypress.c @@ -53,12 +53,6 @@ void win32KeyEvent(int key, MMKeyFlags flags) } } - /* Set the scan code for keyup */ - if (flags & KEYEVENTF_KEYUP) - { - scan |= 0x80; - } - INPUT keyboardInput; keyboardInput.type = INPUT_KEYBOARD; keyboardInput.ki.wScan = (WORD)scan;