1 // $Xorg: us,v 1.4 2001/02/09 02:05:53 xorgcvs Exp $
3 //Copyright 1996, 1998 The Open Group
5 //Permission to use, copy, modify, distribute, and sell this software and its
6 //documentation for any purpose is hereby granted without fee, provided that
7 //the above copyright notice appear in all copies and that both that
8 //copyright notice and this permission notice appear in supporting
11 //The above copyright notice and this permission notice shall be
12 //included in all copies or substantial portions of the Software.
14 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 //OTHER DEALINGS IN THE SOFTWARE.
22 //Except as contained in this notice, the name of The Open Group shall
23 //not be used in advertising or otherwise to promote the sale, use or
24 //other dealings in this Software without prior written authorization
25 //from The Open Group.
27 // $XFree86: xc/programs/xkbcomp/symbols/sun_vndr/us,v 1.6 2001/12/14 20:02:05 dawes Exp $
29 // US/ASCII layout for a Type 4 Sun keyboard
33 // A few alphanumeric keys are different
34 key <TLDE> { [ grave, asciitilde ], [ acute ] };
35 key <AC11> { [ apostrophe, quotedbl ], [ acute ] };
37 key <RTSH> { [ Shift_R ] };
38 key <LALT> { [ Alt_L ] };
39 key <ALGR> { [ Mode_switch ] };
40 key <LMTA> { [ Meta_L ] };
41 key <RMTA> { [ Meta_R ] };
42 key <LNFD> { [ Linefeed ] };
43 key <COMP> { [ Multi_key ] };
44 // End alphanumeric section
46 // Begin "Function" section
47 key <FK01> { [ F1 ] };
48 key <FK02> { [ F2 ] };
49 key <FK03> { [ F3 ] };
50 key <FK04> { [ F4 ] };
51 key <FK05> { [ F5 ] };
52 key <FK06> { [ F6 ] };
53 key <FK07> { [ F7 ] };
54 key <FK08> { [ F8 ] };
55 key <FK09> { [ F9 ] };
56 key <FK10> { [ F10 ] };
57 key <FK11> { [ F11 ], [ SunF36] };
58 key <FK12> { [ F12 ], [ SunF37] };
59 key <STOP> { [ Cancel ], [ F11 ] };
60 key <AGAI> { [ Redo ], [ F12 ] };
61 key <PROP> { [ SunProps ], [ F13 ] };
62 key <UNDO> { [ Undo ], [ F14 ] };
63 key <FRNT> { [ SunFront ], [ F15 ] };
64 key <COPY> { [ SunCopy ], [ F16 ] };
65 key <OPEN> { [ SunOpen ], [ F17 ] };
66 key <PAST> { [ SunPaste ], [ F18 ] };
67 key <FIND> { [ Find ], [ F19 ] };
68 key <CUT> { [ SunCut ], [ F20 ] };
69 // End "Function" section
71 // Begin "Editing" section
72 key <PRSC> { [ Print ],[ F21 ] };
73 key <SCLK> { [ Break, Scroll_Lock ],[ F22 ] };
74 key <PAUS> { [ Pause ],[ F23 ] };
75 key <DELE> { [ Delete ] };
76 key <HELP> { [ Help ] };
78 // End "Editing" section, begin "Keypad"
79 key <NMLK> { [ Num_Lock ] };
80 key <KPEQ> { [ KP_Equal ], [ F24 ] };
81 key <KPDV> { [ KP_Divide ], [ F25 ] };
82 key <KPMU> { [ KP_Multiply ], [ F26 ] };
83 key <KPSU> { [ KP_Subtract ] };
85 key <KP7> { [ KP_Home, KP_7 ], [ F27 ] };
86 key <KP8> { [ KP_Up, KP_8 ], [ F28 ] };
87 key <KP9> { [ KP_Prior, KP_9 ], [ F29 ] };
88 key <KPAD> { [ KP_Add ] };
90 key <KP4> { [ KP_Left, KP_4 ], [ F30 ] };
91 key <KP5> { [ KP_Begin, KP_5 ], [ F31 ] };
92 key <KP6> { [ KP_Right, KP_6 ], [ F32 ] };
94 key <KP1> { [ KP_End, KP_1 ], [ F33 ] };
95 key <KP2> { [ KP_Down, KP_2 ], [ F34 ] };
96 key <KP3> { [ KP_Next, KP_3 ], [ F35 ] };
97 key <KPEN> { [ KP_Enter ] };
98 key <KP0> { [ KP_Insert, KP_0 ] };
99 key <KPDL> { [ KP_Delete, KP_Decimal ] };
100 // End "Keypad" section
103 // begin modifier mappings
104 modifier_map Shift { Shift_R };
105 modifier_map Mod1 { Meta_L, Meta_R };
106 modifier_map Mod2 { Alt_L };
107 modifier_map Mod3 { Mode_switch };
108 modifier_map Mod4 { Num_Lock };
109 modifier_map Mod5 { F13, F18, F20 };
112 hidden partial function_keys xkb_symbols "broken_openlook_map" {
113 key <STOP> { [ F11 ], [ Cancel ] };
114 key <AGAI> { [ F12 ], [ Redo ] };
115 key <PROP> { [ F13 ], [ SunProps ] };
116 key <UNDO> { [ F14 ], [ Undo ] };
117 key <FRNT> { [ F15 ], [ SunFront ] };
118 key <COPY> { [ F16 ], [ SunCopy ] };
119 key <OPEN> { [ F17 ], [ SunOpen ] };
120 key <PAST> { [ F18 ], [ SunPaste ] };
121 key <FIND> { [ F19 ], [ Find ] };
122 key <CUT> { [ F20 ], [ SunCut ] };
125 // US/ASCII layout for a Type 4 Sun keyboard w/ broken OpenLook keymap
126 xkb_symbols "sun4ol" {
127 override "sun_vndr/us(sun4)"
128 include "sun_vndr/us(broken_openlook_map)"
131 // US/ASCII layout for a Type 5 Sun keyboard
135 // A alphanumeric keys are different
136 key <TLDE> { [ grave, asciitilde ], [ acute ] };
137 key <AC11> { [ apostrophe, quotedbl ], [ acute ] };
139 key <RTSH> { [ Shift_R ] };
141 key <LALT> { [ Alt_L ] };
142 key <ALGR> { [ Mode_switch ] };
143 key <LMTA> { [ Meta_L ] };
144 key <RMTA> { [ Meta_R ] };
145 key <COMP> { [ Multi_key ] };
146 // End alphanumeric section
148 // Begin "Function" section
149 key <FK01> { [ F1 ] };
150 key <FK02> { [ F2 ] };
151 key <FK03> { [ F3 ] };
152 key <FK04> { [ F4 ] };
153 key <FK05> { [ F5 ] };
154 key <FK06> { [ F6 ] };
155 key <FK07> { [ F7 ] };
156 key <FK08> { [ F8 ] };
157 key <FK09> { [ F9 ] };
158 key <FK10> { [ F10 ] };
159 key <FK11> { [ F11 ], [ SunF36] };
160 key <FK12> { [ F12 ], [ SunF37] };
161 key <STOP> { [ Cancel ], [ F11 ] };
162 key <AGAI> { [ Redo ], [ F12 ] };
163 key <PROP> { [ SunProps ], [ F13 ] };
164 key <UNDO> { [ Undo ], [ F14 ] };
165 key <FRNT> { [ SunFront ], [ F15 ] };
166 key <COPY> { [ SunCopy ], [ F16 ] };
167 key <OPEN> { [ SunOpen ], [ F17 ] };
168 key <PAST> { [ SunPaste ], [ F18 ] };
169 key <FIND> { [ Find ], [ F19 ] };
170 key <CUT> { [ SunCut ], [ F20 ] };
171 // End "Function" section
173 // Begin "Editing" section
174 key <PRSC> { [ Print ], [ Sys_Req, SunSys_Req ] };
175 key <SCLK> { [ Scroll_Lock ] };
176 key <PAUS> { [ Pause ], [ Break ] };
177 key <LEFT> { [ Left ] };
178 key <RGHT> { [ Right ] };
180 key <DOWN> { [ Down ] };
182 key <DELE> { [ Delete ] };
183 key <INS> { [ Insert ] };
184 key <PGUP> { [ Prior ] };
185 key <PGDN> { [ Next ] };
186 key <HOME> { [ Home ] };
187 key <END> { [ End ] };
188 key <HELP> { [ Help ] };
190 // End "Editing" section, begin "Keypad"
191 key <NMLK> { [ Num_Lock ] };
192 key <KPDV> { [ KP_Divide ], [ F25 ] };
193 key <KPMU> { [ KP_Multiply ], [ F26 ] };
194 key <KPSU> { [ KP_Subtract ] };
196 key <KP7> { [ KP_Home, KP_7 ], [ F27 ] };
197 key <KP8> { [ KP_Up, KP_8 ], [ F28 ] };
198 key <KP9> { [ KP_Prior, KP_9 ], [ F29 ] };
199 key <KPAD> { [ KP_Add ] };
201 key <KP4> { [ KP_Left, KP_4 ], [ F30 ] };
202 key <KP5> { [ KP_Begin, KP_5 ], [ F31 ] };
203 key <KP6> { [ KP_Right, KP_6 ], [ F32 ] };
205 key <KP1> { [ KP_End, KP_1 ], [ F33 ] };
206 key <KP2> { [ KP_Down, KP_2 ], [ F34 ] };
207 key <KP3> { [ KP_Next, KP_3 ], [ F35 ] };
208 key <KPEN> { [ KP_Enter ] };
210 key <KP0> { [ KP_Insert, KP_0 ] };
211 key <KPDL> { [ KP_Delete, KP_Decimal ] };
212 // End "Keypad" section,
213 // begin "four keys up on the right"
215 key <MUTE> { [ SunAudioMute, SunVideoDegauss ] };
216 key <VOL-> { [ SunAudioLowerVolume,SunVideoLowerBrightness ] };
217 key <VOL+> { [ SunAudioRaiseVolume,SunVideoRaiseBrightness ] };
218 key <POWR> { [ SunPowerSwitch, SunPowerSwitchShift ] };
220 // begin modifier mappings
221 modifier_map Shift { Shift_R };
222 modifier_map Mod1 { Alt_L };
223 modifier_map Mod2 { Num_Lock };
224 modifier_map Mod3 { Mode_switch };
225 modifier_map Mod4 { Meta_L, Meta_R};
226 modifier_map Mod5 { Scroll_Lock };
229 // US/ASCII layout for a Type 5 Sun keyboard w/ broken OpenLook keymap
230 xkb_symbols "sun5ol" {
231 override "sun_vndr/us(sun5)"
232 include "sun_vndr/us(broken_openlook_map)"
235 // US/ASCII layout for a Type 6 Sun keyboard
239 key <RTSH> { [ Shift_R ] };
240 key <LALT> { [ Alt_L ] };
241 key <RCTL> { [ Control_R ] };
242 key <RALT> { [ Alt_R ] };
243 key <LMTA> { [ Meta_L ] };
244 key <RMTA> { [ Meta_R ] };
245 key <COMP> { [ Multi_key ] };
247 // Begin "Function" section
248 key <FK01> { [ F1 ] };
249 key <FK02> { [ F2 ] };
250 key <FK03> { [ F3 ] };
251 key <FK04> { [ F4 ] };
252 key <FK05> { [ F5 ] };
253 key <FK06> { [ F6 ] };
254 key <FK07> { [ F7 ] };
255 key <FK08> { [ F8 ] };
256 key <FK09> { [ F9 ] };
257 key <FK10> { [ F10 ] };
258 key <FK11> { [ F11 ] };
259 key <FK12> { [ F12 ] };
260 // End "Function" section
262 // Begin "Editing" section
265 symbols[Group1]= [ Print, Execute ]
267 key <SCLK> { [ Scroll_Lock ] };
270 symbols[Group1]= [ Pause, Break ]
272 key <INS> { [ Insert ] };
273 key <HOME> { [ Home ] };
274 key <PGUP> { [ Prior ] };
275 key <DELE> { [ Delete ] };
276 key <END> { [ End ] };
277 key <PGDN> { [ Next ] };
280 key <LEFT> { [ Left ] };
281 key <DOWN> { [ Down ] };
282 key <RGHT> { [ Right ] };
284 // End "Editing" section, begin "Keypad"
285 key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] };
286 key <KPDV> { [ KP_Divide ] };
287 key <KPMU> { [ KP_Multiply ] };
288 key <KPSU> { [ KP_Subtract ] };
290 key <KP7> { [ KP_Home, KP_7 ] };
291 key <KP8> { [ KP_Up, KP_8 ] };
292 key <KP9> { [ KP_Prior, KP_9 ] };
293 key <KPAD> { [ KP_Add ] };
295 key <KP4> { [ KP_Left, KP_4 ] };
296 key <KP5> { [ KP_Begin, KP_5 ] };
297 key <KP6> { [ KP_Right, KP_6 ] };
299 key <KP1> { [ KP_End, KP_1 ] };
300 key <KP2> { [ KP_Down, KP_2 ] };
301 key <KP3> { [ KP_Next, KP_3 ] };
302 key <KPEN> { [ KP_Enter ] };
304 key <KP0> { [ KP_Insert, KP_0 ] };
305 key <KPDL> { [ KP_Delete, KP_Decimal ] };
306 // End "Keypad" section
308 key <MUTE> { [ SunAudioMute, SunVideoDegauss ] };
309 key <VOL-> { [ SunAudioLowerVolume,SunVideoLowerBrightness ] };
310 key <VOL+> { [ SunAudioRaiseVolume,SunVideoRaiseBrightness ] };
311 key <POWR> { [ SunPowerSwitch, SunPowerSwitchShift ] };
313 // from symbols/sun_vndr/us(type5)
314 key <STOP> { [ Cancel ], [ F11 ] };
315 key <AGAI> { [ Redo ], [ F12 ] };
316 key <PROP> { [ SunProps ], [ F13 ] };
317 key <UNDO> { [ Undo ], [ F14 ] };
318 key <FRNT> { [ SunFront ], [ F15 ] };
319 key <COPY> { [ SunCopy ], [ F16 ] };
320 key <OPEN> { [ SunOpen ], [ F17 ] };
321 key <PAST> { [ SunPaste ], [ F18 ] };
322 key <FIND> { [ Find ], [ F19 ] };
323 key <CUT> { [ SunCut ], [ F20 ] };
324 key <HELP> { [ Help ] };
326 // begin modifier mappings
327 modifier_map Shift { Shift_R };
328 modifier_map Mod1 { Meta_L, Meta_R };
329 modifier_map Mod2 { Alt_L };
330 modifier_map Mod3 { Mode_switch };
331 modifier_map Mod4 { Num_Lock };
334 // US/ASCII layout for a Type 6 Sun keyboard w/ broken OpenLook keymap
335 xkb_symbols "sun6ol" {
336 override "sun_vndr/us(sun6)"
337 include "sun_vndr/us(broken_openlook_map)"