Merge pull request #1801 from cedric-h/master

Add enums for getting Scancodes from WM_KEYDOWN
This commit is contained in:
gingerBill
2022-05-22 20:39:59 +01:00
committed by GitHub

View File

@@ -1,6 +1,14 @@
// +build windows
package sys_windows
// https://docs.microsoft.com/en-us/windows/win32/inputdev/about-keyboard-input
KF_EXTENDED :: 0x0100
KF_DLGMODE :: 0x0800
KF_MENUMODE :: 0x1000
KF_ALTDOWN :: 0x2000
KF_REPEAT :: 0x4000
KF_UP :: 0x8000
// https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
// Virtual Keys, Standard Set
VK_LBUTTON :: 0x01