1 // Japanese keyboards need Eisu and Kana shift and
2 // lock keys, which are typically bound to the
3 // second shift level for some other modifier key.
4 // These interpretations disable the default
5 // interpretation (which would have these keys set
6 // the same modifier as the level one symbol).
8 default partial xkb_compatibility "japan" {
10 interpret.repeat= False;
12 interpret Eisu_Shift+Lock {
16 interpret Eisu_toggle+Lock {
20 interpret Kana_Shift+Lock {
24 interpret Kana_Lock+Lock {
29 // Some Japanese keyboards have an explict Kana Lock key & matching LED
31 partial xkb_compatibility "kana_lock" {
33 virtual_modifiers Kana_Lock;
35 interpret Kana_Lock+AnyOfOrNone(all) {
36 virtualModifier= Kana_Lock;
38 action= LockGroup(group=+1);