summaryrefslogtreecommitdiff
path: root/compat/japan
diff options
context:
space:
mode:
Diffstat (limited to 'compat/japan')
-rw-r--r--compat/japan19
1 files changed, 19 insertions, 0 deletions
diff --git a/compat/japan b/compat/japan
index 34bcc096..00187d00 100644
--- a/compat/japan
+++ b/compat/japan
@@ -27,3 +27,22 @@ default partial xkb_compatibility "japan" {
action= NoAction();
};
};
+
+// Some Japanese keyboards have an explict Kana Lock key & matching LED
+
+partial xkb_compatibility "kana_lock" {
+
+ virtual_modifiers Kana_Lock;
+
+ interpret Kana_Lock+AnyOfOrNone(all) {
+ virtualModifier= Kana_Lock;
+ useModMapMods=level1;
+ action= LockGroup(group=+1);
+ };
+
+ indicator "Kana" {
+ !allowExplicit;
+ groups= All-Group1;
+ };
+};
+