Skip to content

Commit fa2bef0

Browse files
Remove scan code block
1 parent 5e4dc1f commit fa2bef0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/win32/keypress.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,6 @@ void win32KeyEvent(int key, MMKeyFlags flags)
5353
}
5454
}
5555

56-
/* Set the scan code for keyup */
57-
if (flags & KEYEVENTF_KEYUP)
58-
{
59-
scan |= 0x80;
60-
}
61-
6256
INPUT keyboardInput;
6357
keyboardInput.type = INPUT_KEYBOARD;
6458
keyboardInput.ki.wScan = (WORD)scan;

0 commit comments

Comments
 (0)