japan revision 1.1.1.3 1 // Japanese keyboards need the Eisu and Kana Shift
2 // and Lock keys, which are typically bound to the
3 // second shift level of some other modifier key.
4 // These interpretations disable the default
5 // interpretation (which would have these keys set
6 // to the same modifier as the level one symbol).
7
8 default partial xkb_compatibility "japan" {
9
10 interpret.repeat= False;
11
12 interpret Eisu_Shift+Lock {
13 action= NoAction();
14 };
15
16 interpret Eisu_toggle+Lock {
17 action= NoAction();
18 };
19
20 interpret Kana_Shift+Lock {
21 action= NoAction();
22 };
23
24 interpret Kana_Lock+Lock {
25 action= NoAction();
26 };
27 };
28
29 // Some Japanese keyboards have an explict
30 // Kana Lock key and matching LED.
31 partial xkb_compatibility "kana_lock" {
32
33 virtual_modifiers Kana_Lock;
34
35 interpret Kana_Lock+AnyOfOrNone(all) {
36 virtualModifier= Kana_Lock;
37 useModMapMods=level1;
38 action= LockGroup(group=+1);
39 };
40
41 indicator "Kana" {
42 !allowExplicit;
43 groups= All-Group1;
44 };
45 };
46