feat: add keyboard layout support
This commit is contained in:
@@ -391,6 +391,13 @@ namespace montauk::abi {
|
||||
bool shift;
|
||||
bool ctrl;
|
||||
bool alt;
|
||||
bool capslock;
|
||||
// Right Alt held, reported separately from alt so keyboard layouts can
|
||||
// use it as AltGr without swallowing left-Alt shortcuts.
|
||||
bool altgr;
|
||||
// Key came from an E0-prefixed scancode (keypad "/" and Enter share a
|
||||
// scancode with the main-block keys). Layout translation must skip it.
|
||||
bool extended;
|
||||
};
|
||||
|
||||
struct MouseState {
|
||||
|
||||
Reference in New Issue
Block a user