summaryrefslogtreecommitdiff
path: root/kvmd/keyboard
diff options
context:
space:
mode:
authorMartin Funk <[email protected]>2020-09-20 23:04:52 +0200
committerMartin Funk <[email protected]>2020-09-20 23:04:52 +0200
commit3701a0a7421e96e9beedb9fe1a2a27c807fce2dc (patch)
tree0755af747b7a6486aa01289848daed41f7c2fd21 /kvmd/keyboard
parent7dd9895dda55e8a4d80d85dae4dca57dc7789b09 (diff)
Added missing no us key
Diffstat (limited to 'kvmd/keyboard')
-rw-r--r--kvmd/keyboard/mappings.py4
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",