Refactor input handling to unify mouse and keyboard input structures. Update key event processing to support extended key flags and improve error logging for input operations. Adjust key mappings for consistency across input types.
This commit is contained in:
+4
-4
@@ -12,10 +12,10 @@ var vkNames = map[string]uint16{
|
||||
"backspace": 0x08,
|
||||
"tab": 0x09,
|
||||
"enter": 0x0D,
|
||||
"shift": 0x10,
|
||||
"ctrl": 0x11,
|
||||
"control": 0x11,
|
||||
"alt": 0x12,
|
||||
"shift": 0xA0,
|
||||
"ctrl": 0xA2,
|
||||
"control": 0xA2,
|
||||
"alt": 0xA4,
|
||||
"pause": 0x13,
|
||||
"capslock": 0x14,
|
||||
"escape": 0x1B,
|
||||
|
||||
Reference in New Issue
Block a user