diff options
author | Maxim Devaev <[email protected]> | 2020-09-23 21:21:32 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2020-09-23 21:21:32 +0300 |
commit | 3f743114857b11656957767bec4bfa27f4dd7fee (patch) | |
tree | 724789f1e5cedc5c5d5f168fa2aa1cdaa16a3b7d /kvmd/keyboard | |
parent | bbf3b18fe3350c08e6dbcfde20a9e2a4685e8be1 (diff) | |
parent | 3701a0a7421e96e9beedb9fe1a2a27c807fce2dc (diff) |
Merge pull request #10 from mfunkey/new_key
Added missing key on non us keyboards
Diffstat (limited to 'kvmd/keyboard')
-rw-r--r-- | kvmd/keyboard/mappings.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kvmd/keyboard/mappings.py b/kvmd/keyboard/mappings.py index 2d6e57c5..0c4e805d 100644 --- a/kvmd/keyboard/mappings.py +++ b/kvmd/keyboard/mappings.py @@ -149,6 +149,7 @@ KEYMAP: Dict[str, Key] = { "Numpad0": Key(serial=SerialKey(code=103), otg=OtgKey(code=98, is_modifier=False)), "NumpadDecimal": Key(serial=SerialKey(code=104), otg=OtgKey(code=99, is_modifier=False)), "Power": Key(serial=SerialKey(code=105), otg=OtgKey(code=102, is_modifier=False)), + "IntlBackslash": Key(serial=SerialKey(code=106), otg=OtgKey(code=100, is_modifier=False)), } @@ -293,6 +294,8 @@ X11_TO_AT1 = { 65456: At1Key(code=82, shift=False), # XK_KP_0 65454: At1Key(code=83, shift=False), # XK_KP_Decimal 65301: At1Key(code=84, shift=False), # XK_Sys_Req + 60: At1Key(code=86, shift=False), # XK_less + 62: At1Key(code=86, shift=True), # XK_greater 65480: At1Key(code=87, shift=False), # XK_F11 65481: At1Key(code=88, shift=False), # XK_F12 65421: At1Key(code=57372, shift=False), # XK_KP_Enter @@ -402,6 +405,7 @@ AT1_TO_WEB = { 82: "Numpad0", 83: "NumpadDecimal", 84: "PrintScreen", + 86: "IntlBackslash", 87: "F11", 88: "F12", 57372: "NumpadEnter", |