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:
2026-08-28 13:20:04 +03:00
parent 2a6680c5bf
commit ea71090a53
5 changed files with 125 additions and 86 deletions
+4 -4
View File
@@ -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,