Code: Select all
From 7345e03daf2212b1c3b17871525fb36902bc4d53 Mon Sep 17 00:00:00 2001
From: Pedro Gimeno <pgimeno@users.noreply.notabug.org>
Date: Fri, 8 Apr 2022 00:29:19 +0200
Subject: [PATCH] Add Japanese-exclusive keys support
---
input.cpp | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/input.cpp b/input.cpp
index 00836cc..4194bd5 100644
--- a/input.cpp
+++ b/input.cpp
@@ -388,12 +388,12 @@ static const int ev2ps2[] =
0x61, //86 KEY_102ND
0x78, //87 KEY_F11
0x07, //88 KEY_F12
- NONE, //89 KEY_RO
+ 0x51, //89 KEY_RO
NONE, //90 KEY_KATAKANA
NONE, //91 KEY_HIRAGANA
- NONE, //92 KEY_HENKAN
- NONE, //93 KEY_KATAKANA
- NONE, //94 KEY_MUHENKAN
+ 0x64, //92 KEY_HENKAN
+ 0x13, //93 KEY_KATAKANAHIRAGANA
+ 0x67, //94 KEY_MUHENKAN
NONE, //95 KEY_KPJPCOMMA
EXT | 0x5a, //96 KEY_KPENTER
RCTRL | EXT | 0x14, //97 KEY_RIGHTCTRL
@@ -423,7 +423,7 @@ static const int ev2ps2[] =
NONE, //121 KEY_KPCOMMA
NONE, //122 KEY_HANGEUL
NONE, //123 KEY_HANJA
- NONE, //124 KEY_YEN
+ 0x6A, //124 KEY_YEN
LGUI | EXT | 0x1f, //125 KEY_LEFTMETA
RGUI | EXT | 0x27, //126 KEY_RIGHTMETA
NONE, //127 KEY_COMPOSE
--
2.11.0
Help wanted: The problem now is that I left Github to not return, but that's the place to submit patches to, therefore someone with Git skills needs to submit a PR with the above changes, and hope for the patch to get accepted.
Help wanted: To Japanese users: are there any keys missing from the list above that are not yet supported?