diff options
author | Maxim Devaev <[email protected]> | 2022-12-10 18:19:36 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-12-10 18:19:36 +0300 |
commit | d683149b38742dba05fa7d33e2e76f8e4c64d7a6 (patch) | |
tree | b48e8aac3360909a602b92e116117b36451e5559 /kvmd | |
parent | 392b8c3f9e76213cafa92e1e1b3c1b20cafd1834 (diff) |
pikvm/pikvm#878: Added Japanese keys
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/keyboard/mappings.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kvmd/keyboard/mappings.py b/kvmd/keyboard/mappings.py index e639cef4..af7b1ad1 100644 --- a/kvmd/keyboard/mappings.py +++ b/kvmd/keyboard/mappings.py @@ -149,6 +149,10 @@ KEYMAP: dict[str, Key] = { "Power": Key(mcu=McuKey(code=105), usb=UsbKey(code=102, is_modifier=False)), "IntlBackslash": Key(mcu=McuKey(code=106), usb=UsbKey(code=100, is_modifier=False)), "IntlYen": Key(mcu=McuKey(code=107), usb=UsbKey(code=137, is_modifier=False)), + "IntlRo": Key(mcu=McuKey(code=108), usb=UsbKey(code=135, is_modifier=False)), + "KanaMode": Key(mcu=McuKey(code=109), usb=UsbKey(code=136, is_modifier=False)), + "Convert": Key(mcu=McuKey(code=110), usb=UsbKey(code=138, is_modifier=False)), + "NonConvert": Key(mcu=McuKey(code=111), usb=UsbKey(code=139, is_modifier=False)), } @@ -435,6 +439,10 @@ AT1_TO_WEB = { 86: "IntlBackslash", 87: "F11", 88: "F12", + 112: "KanaMode", + 115: "IntlRo", + 121: "Convert", + 123: "NonConvert", 125: "IntlYen", 57372: "NumpadEnter", 57373: "ControlRight", |