2 //Copyright (c) 1996 X Consortium
4 //Permission is hereby granted, free of charge, to any person obtaining
5 //a copy of this software and associated documentation files (the
6 //"Software"), to deal in the Software without restriction, including
7 //without limitation the rights to use, copy, modify, merge, publish,
8 //distribute, sublicense, and/or sell copies of the Software, and to
9 //permit persons to whom the Software is furnished to do so, subject to
10 //the following conditions:
12 //The above copyright notice and this permission notice shall be
13 //included in all copies or substantial portions of the Software.
15 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18 //IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
19 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21 //OTHER DEALINGS IN THE SOFTWARE.
23 //Except as contained in this notice, the name of the X Consortium shall
24 //not be used in advertising or otherwise to promote the sale, use or
25 //other dealings in this Software without prior written authorization
26 //from the X Consortium.
29 default xkb_keycodes "macintosh" {
103 <LCTL> = 62; // Left Control
104 <LALT> = 63; // Left Option
105 <LFSH> = 64; // Left Shift
106 <RALT> = 66; // Left Command
107 // <RTSH> = 131; // Right Shift
108 // <RALT> = 132; // Right Command
109 // <RCTL> = 133; // Right Control
110 // <RMTA> = 134; // Right Option
164 indicator 3 = "Scroll Lock";
165 indicator 2 = "Num Lock";
166 indicator 1 = "Caps Lock";
168 alias <ALGR> = <RALT>;
186 // Aluminium Keyboards
187 xkb_keycodes "alukbd" {
190 // Fkeys missing in xfree86 keycodes
194 // Eject key that matches the geometry definition
195 alias <I169> = <K6C>;
197 // Japanese keypad separator (KPSP in base, JPCM in evdev)
198 alias <JPCM> = <KPDC>;
201 // Aluminium Keyboards JIS
202 // As of HID Usage Table v1.11, it seems there are no usages
203 // for keys EISU or KANA. JIS Aluminium Keyboards overcome
204 // this by outputting usages of keys Hanja and Hangul
205 xkb_keycodes "jisevdev" {
206 alias <KANA> = <HJCV>; // Switch to kana mode
207 alias <EISU> = <HNGL>; // Switch to alphanumeric mode