mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Add enums for getting Scancodes from WM_KEYDOWN
https://docs.microsoft.com/en-us/windows/win32/inputdev/about-keyboard-input
This commit is contained in:
@@ -1,6 +1,14 @@
|
|||||||
// +build windows
|
// +build windows
|
||||||
package sys_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
|
// https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
|
||||||
// Virtual Keys, Standard Set
|
// Virtual Keys, Standard Set
|
||||||
VK_LBUTTON :: 0x01
|
VK_LBUTTON :: 0x01
|
||||||
|
|||||||
Reference in New Issue
Block a user