344
|
1 |
// $XdotOrg: $
|
|
2 |
//
|
|
3 |
// Copyright 2009 Sun Microsystems, Inc. All rights reserved.
|
|
4 |
//
|
|
5 |
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
6 |
// 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, and/or sell copies of the Software, and to permit persons
|
|
10 |
// to whom the Software is furnished to do so, provided that the above
|
|
11 |
// copyright notice(s) and this permission notice appear in all copies of
|
|
12 |
// the Software and that both the above copyright notice(s) and this
|
|
13 |
// permission notice appear in supporting documentation.
|
|
14 |
//
|
|
15 |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
16 |
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
17 |
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
18 |
// OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
|
19 |
// HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
|
|
20 |
// INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
|
|
21 |
// FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
|
22 |
// NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
|
23 |
// WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
24 |
//
|
|
25 |
// Except as contained in this notice, the name of a copyright holder
|
|
26 |
// shall not be used in advertising or otherwise to promote the sale, use
|
|
27 |
// or other dealings in this Software without prior written authorization
|
|
28 |
// of the copyright holder.
|
|
29 |
//
|
|
30 |
|
|
31 |
//
|
|
32 |
// CDDL HEADER START
|
|
33 |
//
|
|
34 |
// The contents of this file are subject to the terms of the
|
|
35 |
// Common Development and Distribution License (the "License").
|
|
36 |
// You may not use this file except in compliance with the License.
|
|
37 |
//
|
|
38 |
// You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
|
|
39 |
// or http://www.opensolaris.org/os/licensing.
|
|
40 |
// See the License for the specific language governing permissions
|
|
41 |
// and limitations under the License.
|
|
42 |
//
|
|
43 |
// When distributing Covered Code, include this CDDL HEADER in each
|
|
44 |
// file and include the License file at src/OPENSOLARIS.LICENSE.
|
|
45 |
// If applicable, add the following below this CDDL HEADER, with the
|
|
46 |
// fields enclosed by brackets "[]" replaced with your own identifying
|
|
47 |
// information: Portions Copyright [yyyy] [name of copyright owner]
|
|
48 |
//
|
|
49 |
// CDDL HEADER END
|
|
50 |
//
|
|
51 |
|
|
52 |
partial default alphanumeric_keys
|
|
53 |
xkb_symbols "basic" {
|
|
54 |
|
|
55 |
// Describes the differences between a very simple US/ASCII
|
|
56 |
// keyboard and a very simple Belgian keyboard
|
|
57 |
|
|
58 |
name[Group1]= "Belgian";
|
|
59 |
|
|
60 |
key <TLDE> { [ twosuperior, threesuperior ] };
|
|
61 |
key <AE01> { [ ampersand, 1 ],
|
|
62 |
[ bar ] };
|
|
63 |
key <AE02> { [ eacute, 2 ],
|
|
64 |
[ at ] };
|
|
65 |
key <AE03> { [ quotedbl, 3 ],
|
|
66 |
[ numbersign ] };
|
|
67 |
key <AE04> { [ apostrophe, 4 ] };
|
|
68 |
key <AE05> { [ parenleft, 5 ] };
|
|
69 |
key <AE06> { [ section, 6 ],
|
|
70 |
[ asciicircum ] };
|
|
71 |
key <AE07> { [ egrave, 7 ] };
|
|
72 |
key <AE08> { [ exclam, 8 ] };
|
|
73 |
key <AE09> { [ ccedilla, 9 ],
|
|
74 |
[ braceleft, plusminus ] };
|
|
75 |
key <AE10> { [ agrave, 0 ],
|
|
76 |
[ braceright, degree ] };
|
|
77 |
key <AE11> { [ parenright, degree ] };
|
|
78 |
key <AE12> { [ minus, underscore ] };
|
|
79 |
key <AD01> { [ a, A ] };
|
|
80 |
key <AD02> { [ z, Z ] };
|
|
81 |
key <AD03> { [ e, E ],
|
|
82 |
[ EuroSign, cent ] };
|
|
83 |
key <AD11> { [ SunFA_Circum, dead_diaeresis ],
|
|
84 |
[ bracketleft ] };
|
|
85 |
key <AD12> { [ dollar, asterisk ],
|
|
86 |
[ bracketright ] };
|
|
87 |
key <AC01> { [ q, Q ] };
|
|
88 |
key <AC10> { [ m, M ] };
|
|
89 |
key <AC11> { [ ugrave, percent ],
|
|
90 |
[ SunFA_Acute ] };
|
|
91 |
key <BKSL> { [ mu, sterling ],
|
|
92 |
[ SunFA_Grave ] };
|
|
93 |
key <LSGT> { [ less, greater ],
|
|
94 |
[ backslash ] };
|
|
95 |
key <AB01> { [ w, W ] };
|
|
96 |
key <AB07> { [ comma, question ],
|
|
97 |
[ dead_cedilla ] };
|
|
98 |
key <AB08> { [ semicolon, period ] };
|
|
99 |
key <AB09> { [ colon, slash ] };
|
|
100 |
key <AB10> { [ equal, plus ],
|
|
101 |
[ dead_tilde ] };
|
|
102 |
// End alphanumeric section
|
|
103 |
|
|
104 |
// begin modifier mappings
|
|
105 |
modifier_map Shift { Shift_L };
|
|
106 |
modifier_map Lock { Caps_Lock };
|
|
107 |
modifier_map Control{ Control_L };
|
|
108 |
modifier_map Mod3 { Mode_switch };
|
|
109 |
};
|
|
110 |
|
|
111 |
|
|
112 |
xkb_symbols "type6" {
|
|
113 |
include "sun_vndr/us(type6)"
|
|
114 |
include "sun_vndr/be(basic)"
|
|
115 |
//a few keys are different than in the basic layout
|
|
116 |
key <AE09> { [ ccedilla, 9 ],
|
|
117 |
[ braceleft ] };
|
|
118 |
key <AE10> { [ agrave, 0 ],
|
|
119 |
[ braceright ] };
|
|
120 |
key <AD03> { [ e, E ],
|
|
121 |
[ EuroSign ] };
|
|
122 |
key <AB07> { [ comma, question ] };
|
|
123 |
};
|
|
124 |
|