aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkeyboard-config/symbols/macintosh_vndr/jp
blob: 331257a82a0f070a2e13ad85c2e8b434b4b1cc3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// JIS symbol mapping for Apple Aluminium Keyboard
// (Damien Ciabrini <damien.ciabrini@gmail.com>)
//
// The JIS version of the Aluminium Keyboard is made of
//   QWERTY-like map for the latin part
//   PC98-like map for the kana part
//   EISU and KANA keys found on other Apple keyboards

partial default alphanumeric_keys
xkb_symbols "usmac" {
    name[Group1]	= "Japan - Macintosh, US map";
    include "jp(common)"

    key <JPCM> { [ KP_Separator ] };
    key <AE13> { [ yen, bar 	] };
    replace key <AE10> { [ 0		] };
    replace key <AB11> { [ underscore	] };
    replace key <CAPS> { [ Caps_Lock ] };
};

partial alphanumeric_keys
xkb_symbols "mac" {
    name[Group1]	= "Japan - Macintosh";
    include "jp(kana)"

    replace key <CAPS> { [ Caps_Lock ] };
};

partial alphanumeric_keys
xkb_symbols "alujiskeys" {
    // On JIS USB keyboard, EISU and KANA replace Hangul and Hanja
    // see keycodes macintosh(jisevdev)
    replace key <HJCV> { [ Hiragana_Katakana ] };
    replace key <HNGL> { [ Eisu_toggle ] };
};