mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Improved Windows keyboard input
- added handling of syskey-messages (alt-Key now generates Key events) - right and left variants of keys now generate seperate events (e.g. left shift and right shift are seperate keys now instead of simply being "shift") - added method to get the localized name of a Key
This commit is contained in:
@@ -68,6 +68,7 @@ namespace GlitchyEngine
|
||||
case Z = 90; // Z key
|
||||
case LeftSuper = 91; // Left Windows key(Microsoft® Natural® keyboard)
|
||||
case RightSuper = 92; // Right Windows key(Natural keyboard)
|
||||
case ContextMenu = 93; // Context Menu key (VK_APPS)
|
||||
case Numpad0 = 96; // Numeric keypad 0 key
|
||||
case Numpad1 = 97; // Numeric keypad 1 key
|
||||
case Numpad2 = 98; // Numeric keypad 2 key
|
||||
|
||||
Reference in New Issue
Block a user