1 // $XConsortium: macintosh /main/10 1996/01/24 12:17:35 kaleb $
3 //Copyright (c) 1996 X Consortium
5 //Permission is hereby granted, free of charge, to any person obtaining
6 //a copy of this software and associated documentation files (the
7 //"Software"), to deal in the Software without restriction, including
8 //without limitation the rights to use, copy, modify, merge, publish,
9 //distribute, sublicense, and/or sell copies of the Software, and to
10 //permit persons to whom the Software is furnished to do so, subject to
11 //the following conditions:
13 //The above copyright notice and this permission notice shall be
14 //included in all copies or substantial portions of the Software.
16 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 //IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
20 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 //OTHER DEALINGS IN THE SOFTWARE.
24 //Except as contained in this notice, the name of the X Consortium shall
25 //not be used in advertising or otherwise to promote the sale, use or
26 //other dealings in this Software without prior written authorization
27 //from the X Consortium.
29 // $XFree86: xc/programs/xkbcomp/keycodes/macintosh,v 1.4 2001/10/02 19:57:00 alanh Exp $
31 default xkb_keycodes "macintosh" {
41 xkb_keycodes "badmap" {
46 xkb_keycodes "goodmap" {
115 <LCTL> = 62; // Left Control
116 <LALT> = 63; // Left Option
117 <LFSH> = 64; // Left Shift
118 <RALT> = 66; // Left Command
119 // <RTSH> = 131; // Right Shift
120 // <RALT> = 132; // Right Command
121 // <RCTL> = 133; // Right Control
122 // <RMTA> = 134; // Right Option
176 indicator 3 = "Scroll Lock";
177 indicator 2 = "Num Lock";
178 indicator 1 = "Caps Lock";
180 alias <ALGR> = <RALT>;