pc105 for evdev, b.fd.o#7347
[xorg/xkeyboard-config] / keycodes / macintosh
1 // $XConsortium: macintosh /main/10 1996/01/24 12:17:35 kaleb $
2 //
3 //Copyright (c) 1996  X Consortium
4 //
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:
12 //
13 //The above copyright notice and this permission notice shall be
14 //included in all copies or substantial portions of the Software.
15 //
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.
23 //
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.
28 //
29 // $XFree86: xc/programs/xkbcomp/keycodes/macintosh,v 1.4 2001/10/02 19:57:00 alanh Exp $
30 //
31 default xkb_keycodes "macintosh" {
32    include "xfree86"
33
34    <FK13> = 182;
35    <FK14> = 183;
36    <FK15> = 184;
37    <KPEQ> = 157;
38    
39 };
40 xkb_keycodes "old" {
41
42     minimum= 8;
43     maximum= 134;
44
45     <ESC>  = 61;
46     <TLDE> = 58;
47     <AE01> = 26;
48     <AE02> = 27;
49     <AE03> = 28;
50     <AE04> = 29;
51     <AE05> = 31;
52     <AE06> = 30;
53     <AE07> = 34;
54     <AE08> = 36;
55     <AE09> = 33;
56     <AE10> = 37;
57     <AE11> = 35;
58     <AE12> = 32;
59     <BKSP> = 59;
60
61     <TAB>  = 56;
62     <AD01> = 20;
63     <AD02> = 21;
64     <AD03> = 22;
65     <AD04> = 23;
66     <AD05> = 25;
67     <AD06> = 24;
68     <AD07> = 40;
69     <AD08> = 42;
70     <AD09> = 39;
71     <AD10> = 43;
72     <AD11> = 41;
73     <AD12> = 38;
74     <BKSL> = 50;
75
76     <CAPS> = 65;
77     <AC01> = 8;
78     <AC02> = 9;
79     <AC03> = 10;
80     <AC04> = 11;
81     <AC05> = 13;
82     <AC06> = 12;
83     <AC07> = 46;
84     <AC08> = 48;
85     <AC09> = 45;
86     <AC10> = 49;
87     <AC11> = 47;
88     <RTRN> = 44;
89
90     <LSGT> = 18;
91     <AB01> = 14;
92     <AB02> = 15;
93     <AB03> = 16;
94     <AB04> = 17;
95     <AB05> = 19;
96     <AB06> = 53;
97     <AB07> = 54;
98     <AB08> = 51;
99     <AB09> = 55;
100     <AB10> = 52;
101
102     <SPCE> = 57;
103
104     <LCTL> = 62;  // Left Control
105     <LALT> = 63;  // Left Option
106     <LFSH> = 64;  // Left Shift
107     <RALT> = 66;  // Left Command
108 //    <RTSH> = 131; // Right Shift
109 //    <RALT> = 132; // Right Command
110 //    <RCTL> = 133; // Right Control
111 //    <RMTA> = 134; // Right Option
112
113     <FK01> = 130;
114     <FK02> = 128;
115     <FK03> = 107;
116     <FK04> = 126;
117     <FK05> = 104;
118     <FK06> = 105;
119     <FK07> = 106;
120     <FK08> = 108;
121     <FK09> = 109;
122     <FK10> = 117;
123     <FK11> = 111;
124     <FK12> = 119;
125
126     <PRSC> = 113;
127     <SCLK> = 115;
128     <PAUS> = 121;
129
130     <INS>  = 122;
131     <HOME> = 123;
132     <PGUP> = 124;
133     <DELE> = 125;
134     <END>  = 127;
135     <PGDN> = 129;
136
137     <UP>   = 70;
138     <LEFT> = 67;
139     <DOWN> = 69;
140     <RGHT> = 68;
141
142     <NMLK> = 79;
143     <KPEQ> = 89;
144     <KPDV> = 83;
145     <KPMU> = 75;
146
147     <KP7>  = 97;
148     <KP8>  = 99;
149     <KP9>  = 100;
150     <KPSU> = 86;
151
152     <KP4>  = 94;
153     <KP5>  = 95;
154     <KP6>  = 96;
155     <KPAD> = 77;
156
157     <KP1>  = 91;
158     <KP2>  = 92;
159     <KP3>  = 93;
160     <KPEN> = 84;
161
162     <KP0>  = 90;
163     <KPDL> = 73;
164
165     indicator 3 = "Scroll Lock";
166     indicator 2 = "Num Lock";
167     indicator 1 = "Caps Lock";
168
169     alias <ALGR> = <RALT>;
170 };