mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-05 04:27:51 +00:00
Merge pull request #1801 from cedric-h/master
Add enums for getting Scancodes from WM_KEYDOWN
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user