Keysyms.pm untested

filter: Statementstmt 0.0% 0 / 1332 Branchbran 0.0% 0 / 40 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 1375 CC 21 SCAR 60.9
CC
21
Cov
0%
import
462.0
BEGIN
2.0
CRAP 441.1
1 # Keysyms.pm semi-automatically derived from:
2 # $XConsortium: keysymdef.h,v 1.21 94/08/28 16:17:06 rws Exp $
3 #
4 #**********************************************************
5 #Copyright (c) 1987, 1994 X Consortium
6 #
7 #Permission is hereby granted, free of charge, to any person obtaining
8 #a copy of this software and associated documentation files (the
9 #"Software"), to deal in the Software without restriction, including
10 #without limitation the rights to use, copy, modify, merge, publish,
11 #distribute, sublicense, and/or sell copies of the Software, and to
12 #permit persons to whom the Software is furnished to do so, subject to
13 #the following conditions:
14 #
15 #The above copyright notice and this permission notice shall be included
16 #in all copies or substantial portions of the Software.
17 #
18 #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 #OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 #MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21 #IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
22 #OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
23 #ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24 #OTHER DEALINGS IN THE SOFTWARE.
25 #
26 #Except as contained in this notice, the name of the X Consortium shall
27 #not be used in advertising or otherwise to promote the sale, use or
28 #other dealings in this Software without prior written authorization
29 #from the X Consortium.
30 #
31 #
32 #Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts
33 #
34 # All Rights Reserved
35 #
36 #Permission to use, copy, modify, and distribute this software and its
37 #documentation for any purpose and without fee is hereby granted,
38 #provided that the above copyright notice appear in all copies and that
39 #both that copyright notice and this permission notice appear in
40 #supporting documentation, and that the name of Digital not be
41 #used in advertising or publicity pertaining to distribution of the
42 #software without specific, written prior permission.
43 #
44 #DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
45 #ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
46 #DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
47 #ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
48 #WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
49 #ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
50 #SOFTWARE.
51 #
52 #*****************************************************************
53  
54 package X11::Keysyms;
55  
56 use Carp;
57 $VERSION = 0.01;
58  
59 sub import {
60 my($pkg, $var, @x) = @_;
61 my($into) = caller();
62  
63 croak "Need the name of a variable to import into" unless $var;
64 $var =~ s/^%//;
65  
66 my(%KL);
67 if (@x) {
68 @KL{@x} = (1) x @x;
69 } else {
70 @KL{'MISCELLANY', 'XKB_KEYS', 'LATIN1', 'LATIN2', 'LATIN3', 'LATIN4',
71 'GREEK'} = (1) x 7;
72 }
73  
74 local(*Keysyms) = *{"${into}::$var"};
75 # print STDERR "Exporting into ${into}::$var\n";
76  
77 $Keysyms{"VoidSymbol"} = 0xFFFFFF; # void symbol
78
79 #ifdef XK_MISCELLANY
80 #
81 # * TTY Functions, cleverly chosen to map to ascii, for convenience of
82 # * programming, but could have been arbitrary (at the cost of lookup
83 # * tables in client code.
84
85 if ($KL{'MISCELLANY'}) {
86 $Keysyms{"BackSpace"} = 0xFF08; # back space, back char
87 $Keysyms{"Tab"} = 0xFF09;
88 $Keysyms{"Linefeed"} = 0xFF0A; # Linefeed, LF
89 $Keysyms{"Clear"} = 0xFF0B;
90 $Keysyms{"Return"} = 0xFF0D; # Return, enter
91 $Keysyms{"Pause"} = 0xFF13; # Pause, hold
92 $Keysyms{"Scroll_Lock"} = 0xFF14;
93 $Keysyms{"Sys_Req"} = 0xFF15;
94 $Keysyms{"Escape"} = 0xFF1B;
95 $Keysyms{"Delete"} = 0xFFFF; # Delete, rubout
96  
97 # International & multi-key character composition
98  
99 $Keysyms{"Multi_key"} = 0xFF20; # Multi-key character compose
100  
101 # Japanese keyboard support
102  
103 $Keysyms{"Kanji"} = 0xFF21; # Kanji, Kanji convert
104 $Keysyms{"Muhenkan"} = 0xFF22; # Cancel Conversion
105 $Keysyms{"Henkan_Mode"} = 0xFF23; # Start/Stop Conversion
106 $Keysyms{"Henkan"} = 0xFF23; # Alias for Henkan_Mode
107 $Keysyms{"Romaji"} = 0xFF24; # to Romaji
108 $Keysyms{"Hiragana"} = 0xFF25; # to Hiragana
109 $Keysyms{"Katakana"} = 0xFF26; # to Katakana
110 $Keysyms{"Hiragana_Katakana"} = 0xFF27; # Hiragana/Katakana toggle
111 $Keysyms{"Zenkaku"} = 0xFF28; # to Zenkaku
112 $Keysyms{"Hankaku"} = 0xFF29; # to Hankaku
113 $Keysyms{"Zenkaku_Hankaku"} = 0xFF2A; # Zenkaku/Hankaku toggle
114 $Keysyms{"Touroku"} = 0xFF2B; # Add to Dictionary
115 $Keysyms{"Massyo"} = 0xFF2C; # Delete from Dictionary
116 $Keysyms{"Kana_Lock"} = 0xFF2D; # Kana Lock
117 $Keysyms{"Kana_Shift"} = 0xFF2E; # Kana Shift
118 $Keysyms{"Eisu_Shift"} = 0xFF2F; # Alphanumeric Shift
119 $Keysyms{"Eisu_toggle"} = 0xFF30; # Alphanumeric toggle
120  
121 # 0xFF31 thru 0xFF3F are under XK_KOREAN
122  
123 # Cursor control & motion
124  
125 $Keysyms{"Home"} = 0xFF50;
126 $Keysyms{"Left"} = 0xFF51; # Move left, left arrow
127 $Keysyms{"Up"} = 0xFF52; # Move up, up arrow
128 $Keysyms{"Right"} = 0xFF53; # Move right, right arrow
129 $Keysyms{"Down"} = 0xFF54; # Move down, down arrow
130 $Keysyms{"Prior"} = 0xFF55; # Prior, previous
131 $Keysyms{"Page_Up"} = 0xFF55;
132 $Keysyms{"Next"} = 0xFF56; # Next
133 $Keysyms{"Page_Down"} = 0xFF56;
134 $Keysyms{"End"} = 0xFF57; # EOL
135 $Keysyms{"Begin"} = 0xFF58; # BOL
136  
137  
138 # Misc Functions
139  
140 $Keysyms{"Select"} = 0xFF60; # Select, mark
141 $Keysyms{"Print"} = 0xFF61;
142 $Keysyms{"Execute"} = 0xFF62; # Execute, run, do
143 $Keysyms{"Insert"} = 0xFF63; # Insert, insert here
144 $Keysyms{"Undo"} = 0xFF65; # Undo, oops
145 $Keysyms{"Redo"} = 0xFF66; # redo, again
146 $Keysyms{"Menu"} = 0xFF67;
147 $Keysyms{"Find"} = 0xFF68; # Find, search
148 $Keysyms{"Cancel"} = 0xFF69; # Cancel, stop, abort, exit
149 $Keysyms{"Help"} = 0xFF6A; # Help
150 $Keysyms{"Break"} = 0xFF6B;
151 $Keysyms{"Mode_switch"} = 0xFF7E; # Character set switch
152 $Keysyms{"script_switch"} = 0xFF7E; # Alias for mode_switch
153 $Keysyms{"Num_Lock"} = 0xFF7F;
154  
155 # Keypad Functions, keypad numbers cleverly chosen to map to ascii
156  
157 $Keysyms{"KP_Space"} = 0xFF80; # space
158 $Keysyms{"KP_Tab"} = 0xFF89;
159 $Keysyms{"KP_Enter"} = 0xFF8D; # enter
160 $Keysyms{"KP_F1"} = 0xFF91; # PF1, KP_A, ...
161 $Keysyms{"KP_F2"} = 0xFF92;
162 $Keysyms{"KP_F3"} = 0xFF93;
163 $Keysyms{"KP_F4"} = 0xFF94;
164 $Keysyms{"KP_Home"} = 0xFF95;
165 $Keysyms{"KP_Left"} = 0xFF96;
166 $Keysyms{"KP_Up"} = 0xFF97;
167 $Keysyms{"KP_Right"} = 0xFF98;
168 $Keysyms{"KP_Down"} = 0xFF99;
169 $Keysyms{"KP_Prior"} = 0xFF9A;
170 $Keysyms{"KP_Page_Up"} = 0xFF9A;
171 $Keysyms{"KP_Next"} = 0xFF9B;
172 $Keysyms{"KP_Page_Down"} = 0xFF9B;
173 $Keysyms{"KP_End"} = 0xFF9C;
174 $Keysyms{"KP_Begin"} = 0xFF9D;
175 $Keysyms{"KP_Insert"} = 0xFF9E;
176 $Keysyms{"KP_Delete"} = 0xFF9F;
177 $Keysyms{"KP_Equal"} = 0xFFBD; # equals
178 $Keysyms{"KP_Multiply"} = 0xFFAA;
179 $Keysyms{"KP_Add"} = 0xFFAB;
180 $Keysyms{"KP_Separator"} = 0xFFAC; # separator, often comma
181 $Keysyms{"KP_Subtract"} = 0xFFAD;
182 $Keysyms{"KP_Decimal"} = 0xFFAE;
183 $Keysyms{"KP_Divide"} = 0xFFAF;
184  
185 $Keysyms{"KP_0"} = 0xFFB0;
186 $Keysyms{"KP_1"} = 0xFFB1;
187 $Keysyms{"KP_2"} = 0xFFB2;
188 $Keysyms{"KP_3"} = 0xFFB3;
189 $Keysyms{"KP_4"} = 0xFFB4;
190 $Keysyms{"KP_5"} = 0xFFB5;
191 $Keysyms{"KP_6"} = 0xFFB6;
192 $Keysyms{"KP_7"} = 0xFFB7;
193 $Keysyms{"KP_8"} = 0xFFB8;
194 $Keysyms{"KP_9"} = 0xFFB9;
195  
196 #
197 # * Auxilliary Functions; note the duplicate definitions for left and right
198 # * function keys; Sun keyboards and a few other manufactures have such
199 # * function key groups on the left and/or right sides of the keyboard.
200 # * We've not found a keyboard with more than 35 function keys total.
201
202 $Keysyms{"F1"} = 0xFFBE;
203 $Keysyms{"F2"} = 0xFFBF;
204 $Keysyms{"F3"} = 0xFFC0;
205 $Keysyms{"F4"} = 0xFFC1;
206 $Keysyms{"F5"} = 0xFFC2;
207 $Keysyms{"F6"} = 0xFFC3;
208 $Keysyms{"F7"} = 0xFFC4;
209 $Keysyms{"F8"} = 0xFFC5;
210 $Keysyms{"F9"} = 0xFFC6;
211 $Keysyms{"F10"} = 0xFFC7;
212 $Keysyms{"F11"} = 0xFFC8;
213 $Keysyms{"L1"} = 0xFFC8;
214 $Keysyms{"F12"} = 0xFFC9;
215 $Keysyms{"L2"} = 0xFFC9;
216 $Keysyms{"F13"} = 0xFFCA;
217 $Keysyms{"L3"} = 0xFFCA;
218 $Keysyms{"F14"} = 0xFFCB;
219 $Keysyms{"L4"} = 0xFFCB;
220 $Keysyms{"F15"} = 0xFFCC;
221 $Keysyms{"L5"} = 0xFFCC;
222 $Keysyms{"F16"} = 0xFFCD;
223 $Keysyms{"L6"} = 0xFFCD;
224 $Keysyms{"F17"} = 0xFFCE;
225 $Keysyms{"L7"} = 0xFFCE;
226 $Keysyms{"F18"} = 0xFFCF;
227 $Keysyms{"L8"} = 0xFFCF;
228 $Keysyms{"F19"} = 0xFFD0;
229 $Keysyms{"L9"} = 0xFFD0;
230 $Keysyms{"F20"} = 0xFFD1;
231 $Keysyms{"L10"} = 0xFFD1;
232 $Keysyms{"F21"} = 0xFFD2;
233 $Keysyms{"R1"} = 0xFFD2;
234 $Keysyms{"F22"} = 0xFFD3;
235 $Keysyms{"R2"} = 0xFFD3;
236 $Keysyms{"F23"} = 0xFFD4;
237 $Keysyms{"R3"} = 0xFFD4;
238 $Keysyms{"F24"} = 0xFFD5;
239 $Keysyms{"R4"} = 0xFFD5;
240 $Keysyms{"F25"} = 0xFFD6;
241 $Keysyms{"R5"} = 0xFFD6;
242 $Keysyms{"F26"} = 0xFFD7;
243 $Keysyms{"R6"} = 0xFFD7;
244 $Keysyms{"F27"} = 0xFFD8;
245 $Keysyms{"R7"} = 0xFFD8;
246 $Keysyms{"F28"} = 0xFFD9;
247 $Keysyms{"R8"} = 0xFFD9;
248 $Keysyms{"F29"} = 0xFFDA;
249 $Keysyms{"R9"} = 0xFFDA;
250 $Keysyms{"F30"} = 0xFFDB;
251 $Keysyms{"R10"} = 0xFFDB;
252 $Keysyms{"F31"} = 0xFFDC;
253 $Keysyms{"R11"} = 0xFFDC;
254 $Keysyms{"F32"} = 0xFFDD;
255 $Keysyms{"R12"} = 0xFFDD;
256 $Keysyms{"F33"} = 0xFFDE;
257 $Keysyms{"R13"} = 0xFFDE;
258 $Keysyms{"F34"} = 0xFFDF;
259 $Keysyms{"R14"} = 0xFFDF;
260 $Keysyms{"F35"} = 0xFFE0;
261 $Keysyms{"R15"} = 0xFFE0;
262  
263 # Modifiers
264  
265 $Keysyms{"Shift_L"} = 0xFFE1; # Left shift
266 $Keysyms{"Shift_R"} = 0xFFE2; # Right shift
267 $Keysyms{"Control_L"} = 0xFFE3; # Left control
268 $Keysyms{"Control_R"} = 0xFFE4; # Right control
269 $Keysyms{"Caps_Lock"} = 0xFFE5; # Caps lock
270 $Keysyms{"Shift_Lock"} = 0xFFE6; # Shift lock
271
272 $Keysyms{"Meta_L"} = 0xFFE7; # Left meta
273 $Keysyms{"Meta_R"} = 0xFFE8; # Right meta
274 $Keysyms{"Alt_L"} = 0xFFE9; # Left alt
275 $Keysyms{"Alt_R"} = 0xFFEA; # Right alt
276 $Keysyms{"Super_L"} = 0xFFEB; # Left super
277 $Keysyms{"Super_R"} = 0xFFEC; # Right super
278 $Keysyms{"Hyper_L"} = 0xFFED; # Left hyper
279 $Keysyms{"Hyper_R"} = 0xFFEE; # Right hyper
280 }
281 #endif # XK_MISCELLANY
282  
283 #
284 # * ISO 9995 Function and Modifier Keys
285 # * Byte 3 = 0xFE
286
287  
288 #ifdef XK_XKB_KEYS
289 if ($KL{'XKB_KEYS'}) {
290 $Keysyms{"ISO_Lock"} = 0xFE01;
291 $Keysyms{"ISO_Level2_Latch"} = 0xFE02;
292 $Keysyms{"ISO_Level3_Shift"} = 0xFE03;
293 $Keysyms{"ISO_Level3_Latch"} = 0xFE04;
294 $Keysyms{"ISO_Level3_Lock"} = 0xFE05;
295 $Keysyms{"ISO_Group_Shift"} = 0xFF7E; # Alias for mode_switch
296 $Keysyms{"ISO_Group_Latch"} = 0xFE06;
297 $Keysyms{"ISO_Group_Lock"} = 0xFE07;
298 $Keysyms{"ISO_Next_Group"} = 0xFE08;
299 $Keysyms{"ISO_Next_Group_Lock"} = 0xFE09;
300 $Keysyms{"ISO_Prev_Group"} = 0xFE0A;
301 $Keysyms{"ISO_Prev_Group_Lock"} = 0xFE0B;
302 $Keysyms{"ISO_First_Group"} = 0xFE0C;
303 $Keysyms{"ISO_First_Group_Lock"} = 0xFE0D;
304 $Keysyms{"ISO_Last_Group"} = 0xFE0E;
305 $Keysyms{"ISO_Last_Group_Lock"} = 0xFE0F;
306  
307 $Keysyms{"ISO_Left_Tab"} = 0xFE20;
308 $Keysyms{"ISO_Move_Line_Up"} = 0xFE21;
309 $Keysyms{"ISO_Move_Line_Down"} = 0xFE22;
310 $Keysyms{"ISO_Partial_Line_Up"} = 0xFE23;
311 $Keysyms{"ISO_Partial_Line_Down"} = 0xFE24;
312 $Keysyms{"ISO_Partial_Space_Left"} = 0xFE25;
313 $Keysyms{"ISO_Partial_Space_Right"} = 0xFE26;
314 $Keysyms{"ISO_Set_Margin_Left"} = 0xFE27;
315 $Keysyms{"ISO_Set_Margin_Right"} = 0xFE28;
316 $Keysyms{"ISO_Release_Margin_Left"} = 0xFE29;
317 $Keysyms{"ISO_Release_Margin_Right"} = 0xFE2A;
318 $Keysyms{"ISO_Release_Both_Margins"} = 0xFE2B;
319 $Keysyms{"ISO_Fast_Cursor_Left"} = 0xFE2C;
320 $Keysyms{"ISO_Fast_Cursor_Right"} = 0xFE2D;
321 $Keysyms{"ISO_Fast_Cursor_Up"} = 0xFE2E;
322 $Keysyms{"ISO_Fast_Cursor_Down"} = 0xFE2F;
323 $Keysyms{"ISO_Continuous_Underline"} = 0xFE30;
324 $Keysyms{"ISO_Discontinuous_Underline"} = 0xFE31;
325 $Keysyms{"ISO_Emphasize"} = 0xFE32;
326 $Keysyms{"ISO_Center_Object"} = 0xFE33;
327 $Keysyms{"ISO_Enter"} = 0xFE34;
328  
329 $Keysyms{"dead_grave"} = 0xFE50;
330 $Keysyms{"dead_acute"} = 0xFE51;
331 $Keysyms{"dead_circumflex"} = 0xFE52;
332 $Keysyms{"dead_tilde"} = 0xFE53;
333 $Keysyms{"dead_macron"} = 0xFE54;
334 $Keysyms{"dead_breve"} = 0xFE55;
335 $Keysyms{"dead_abovedot"} = 0xFE56;
336 $Keysyms{"dead_diaeresis"} = 0xFE57;
337 $Keysyms{"dead_abovering"} = 0xFE58;
338 $Keysyms{"dead_doubleacute"} = 0xFE59;
339 $Keysyms{"dead_caron"} = 0xFE5A;
340 $Keysyms{"dead_cedilla"} = 0xFE5B;
341 $Keysyms{"dead_ogonek"} = 0xFE5C;
342 $Keysyms{"dead_iota"} = 0xFE5D;
343 $Keysyms{"dead_voiced_sound"} = 0xFE5E;
344 $Keysyms{"dead_semivoiced_sound"} = 0xFE5F;
345  
346 $Keysyms{"First_Virtual_Screen"} = 0xFED0;
347 $Keysyms{"Prev_Virtual_Screen"} = 0xFED1;
348 $Keysyms{"Next_Virtual_Screen"} = 0xFED2;
349 $Keysyms{"Last_Virtual_Screen"} = 0xFED4;
350 $Keysyms{"Terminate_Server"} = 0xFED5;
351  
352 $Keysyms{"Pointer_Left"} = 0xFEE0;
353 $Keysyms{"Pointer_Right"} = 0xFEE1;
354 $Keysyms{"Pointer_Up"} = 0xFEE2;
355 $Keysyms{"Pointer_Down"} = 0xFEE3;
356 $Keysyms{"Pointer_UpLeft"} = 0xFEE4;
357 $Keysyms{"Pointer_UpRight"} = 0xFEE5;
358 $Keysyms{"Pointer_DownLeft"} = 0xFEE6;
359 $Keysyms{"Pointer_DownRight"} = 0xFEE7;
360 $Keysyms{"Pointer_Button_Dflt"} = 0xFEE8;
361 $Keysyms{"Pointer_Button1"} = 0xFEE9;
362 $Keysyms{"Pointer_Button2"} = 0xFEEA;
363 $Keysyms{"Pointer_Button3"} = 0xFEEB;
364 $Keysyms{"Pointer_Button4"} = 0xFEEC;
365 $Keysyms{"Pointer_Button5"} = 0xFEED;
366 $Keysyms{"Pointer_DblClick_Dflt"} = 0xFEEE;
367 $Keysyms{"Pointer_DblClick1"} = 0xFEEF;
368 $Keysyms{"Pointer_DblClick2"} = 0xFEF0;
369 $Keysyms{"Pointer_DblClick3"} = 0xFEF1;
370 $Keysyms{"Pointer_DblClick4"} = 0xFEF2;
371 $Keysyms{"Pointer_DblClick5"} = 0xFEF3;
372 $Keysyms{"Pointer_Drag_Dflt"} = 0xFEF4;
373 $Keysyms{"Pointer_Drag1"} = 0xFEF5;
374 $Keysyms{"Pointer_Drag2"} = 0xFEF6;
375 $Keysyms{"Pointer_Drag3"} = 0xFEF7;
376 $Keysyms{"Pointer_Drag4"} = 0xFEF8;
377  
378 $Keysyms{"Pointer_EnableKeys"} = 0xFEF9;
379 $Keysyms{"Pointer_Accelerate"} = 0xFEFA;
380 $Keysyms{"Pointer_DfltBtnNext"} = 0xFEFB;
381 $Keysyms{"Pointer_DfltBtnPrev"} = 0xFEFC;
382 }
383 #endif
384  
385 #
386 # * 3270 Terminal Keys
387 # * Byte 3 = 0xFD
388
389  
390 #ifdef XK_3270
391 if ($KL{'3270'}) {
392 $Keysyms{"3270_Duplicate"} = 0xFD01;
393 $Keysyms{"3270_FieldMark"} = 0xFD02;
394 $Keysyms{"3270_Right2"} = 0xFD03;
395 $Keysyms{"3270_Left2"} = 0xFD04;
396 $Keysyms{"3270_BackTab"} = 0xFD05;
397 $Keysyms{"3270_EraseEOF"} = 0xFD06;
398 $Keysyms{"3270_EraseInput"} = 0xFD07;
399 $Keysyms{"3270_Reset"} = 0xFD08;
400 $Keysyms{"3270_Quit"} = 0xFD09;
401 $Keysyms{"3270_PA1"} = 0xFD0A;
402 $Keysyms{"3270_PA2"} = 0xFD0B;
403 $Keysyms{"3270_PA3"} = 0xFD0C;
404 $Keysyms{"3270_Test"} = 0xFD0D;
405 $Keysyms{"3270_Attn"} = 0xFD0E;
406 $Keysyms{"3270_CursorBlink"} = 0xFD0F;
407 $Keysyms{"3270_AltCursor"} = 0xFD10;
408 $Keysyms{"3270_KeyClick"} = 0xFD11;
409 $Keysyms{"3270_Jump"} = 0xFD12;
410 $Keysyms{"3270_Ident"} = 0xFD13;
411 $Keysyms{"3270_Rule"} = 0xFD14;
412 $Keysyms{"3270_Copy"} = 0xFD15;
413 $Keysyms{"3270_Play"} = 0xFD16;
414 $Keysyms{"3270_Setup"} = 0xFD17;
415 $Keysyms{"3270_Record"} = 0xFD18;
416 $Keysyms{"3270_ChangeScreen"} = 0xFD19;
417 $Keysyms{"3270_DeleteWord"} = 0xFD1A;
418 $Keysyms{"3270_ExSelect"} = 0xFD1B;
419 $Keysyms{"3270_CursorSelect"} = 0xFD1C;
420 $Keysyms{"3270_PrintScreen"} = 0xFD1D;
421 $Keysyms{"3270_Enter"} = 0xFD1E;
422 }
423 #endif
424  
425 #
426 # * Latin 1
427 # * Byte 3 = 0
428
429 #ifdef XK_LATIN1
430 if ($KL{'LATIN1'}) {
431 $Keysyms{"space"} = 0x020;
432 $Keysyms{"exclam"} = 0x021;
433 $Keysyms{"quotedbl"} = 0x022;
434 $Keysyms{"numbersign"} = 0x023;
435 $Keysyms{"dollar"} = 0x024;
436 $Keysyms{"percent"} = 0x025;
437 $Keysyms{"ampersand"} = 0x026;
438 $Keysyms{"apostrophe"} = 0x027;
439 $Keysyms{"quoteright"} = 0x027; # deprecated
440 $Keysyms{"parenleft"} = 0x028;
441 $Keysyms{"parenright"} = 0x029;
442 $Keysyms{"asterisk"} = 0x02a;
443 $Keysyms{"plus"} = 0x02b;
444 $Keysyms{"comma"} = 0x02c;
445 $Keysyms{"minus"} = 0x02d;
446 $Keysyms{"period"} = 0x02e;
447 $Keysyms{"slash"} = 0x02f;
448 $Keysyms{"0"} = 0x030;
449 $Keysyms{"1"} = 0x031;
450 $Keysyms{"2"} = 0x032;
451 $Keysyms{"3"} = 0x033;
452 $Keysyms{"4"} = 0x034;
453 $Keysyms{"5"} = 0x035;
454 $Keysyms{"6"} = 0x036;
455 $Keysyms{"7"} = 0x037;
456 $Keysyms{"8"} = 0x038;
457 $Keysyms{"9"} = 0x039;
458 $Keysyms{"colon"} = 0x03a;
459 $Keysyms{"semicolon"} = 0x03b;
460 $Keysyms{"less"} = 0x03c;
461 $Keysyms{"equal"} = 0x03d;
462 $Keysyms{"greater"} = 0x03e;
463 $Keysyms{"question"} = 0x03f;
464 $Keysyms{"at"} = 0x040;
465 $Keysyms{"A"} = 0x041;
466 $Keysyms{"B"} = 0x042;
467 $Keysyms{"C"} = 0x043;
468 $Keysyms{"D"} = 0x044;
469 $Keysyms{"E"} = 0x045;
470 $Keysyms{"F"} = 0x046;
471 $Keysyms{"G"} = 0x047;
472 $Keysyms{"H"} = 0x048;
473 $Keysyms{"I"} = 0x049;
474 $Keysyms{"J"} = 0x04a;
475 $Keysyms{"K"} = 0x04b;
476 $Keysyms{"L"} = 0x04c;
477 $Keysyms{"M"} = 0x04d;
478 $Keysyms{"N"} = 0x04e;
479 $Keysyms{"O"} = 0x04f;
480 $Keysyms{"P"} = 0x050;
481 $Keysyms{"Q"} = 0x051;
482 $Keysyms{"R"} = 0x052;
483 $Keysyms{"S"} = 0x053;
484 $Keysyms{"T"} = 0x054;
485 $Keysyms{"U"} = 0x055;
486 $Keysyms{"V"} = 0x056;
487 $Keysyms{"W"} = 0x057;
488 $Keysyms{"X"} = 0x058;
489 $Keysyms{"Y"} = 0x059;
490 $Keysyms{"Z"} = 0x05a;
491 $Keysyms{"bracketleft"} = 0x05b;
492 $Keysyms{"backslash"} = 0x05c;
493 $Keysyms{"bracketright"} = 0x05d;
494 $Keysyms{"asciicircum"} = 0x05e;
495 $Keysyms{"underscore"} = 0x05f;
496 $Keysyms{"grave"} = 0x060;
497 $Keysyms{"quoteleft"} = 0x060; # deprecated
498 $Keysyms{"a"} = 0x061;
499 $Keysyms{"b"} = 0x062;
500 $Keysyms{"c"} = 0x063;
501 $Keysyms{"d"} = 0x064;
502 $Keysyms{"e"} = 0x065;
503 $Keysyms{"f"} = 0x066;
504 $Keysyms{"g"} = 0x067;
505 $Keysyms{"h"} = 0x068;
506 $Keysyms{"i"} = 0x069;
507 $Keysyms{"j"} = 0x06a;
508 $Keysyms{"k"} = 0x06b;
509 $Keysyms{"l"} = 0x06c;
510 $Keysyms{"m"} = 0x06d;
511 $Keysyms{"n"} = 0x06e;
512 $Keysyms{"o"} = 0x06f;
513 $Keysyms{"p"} = 0x070;
514 $Keysyms{"q"} = 0x071;
515 $Keysyms{"r"} = 0x072;
516 $Keysyms{"s"} = 0x073;
517 $Keysyms{"t"} = 0x074;
518 $Keysyms{"u"} = 0x075;
519 $Keysyms{"v"} = 0x076;
520 $Keysyms{"w"} = 0x077;
521 $Keysyms{"x"} = 0x078;
522 $Keysyms{"y"} = 0x079;
523 $Keysyms{"z"} = 0x07a;
524 $Keysyms{"braceleft"} = 0x07b;
525 $Keysyms{"bar"} = 0x07c;
526 $Keysyms{"braceright"} = 0x07d;
527 $Keysyms{"asciitilde"} = 0x07e;
528  
529 $Keysyms{"nobreakspace"} = 0x0a0;
530 $Keysyms{"exclamdown"} = 0x0a1;
531 $Keysyms{"cent"} = 0x0a2;
532 $Keysyms{"sterling"} = 0x0a3;
533 $Keysyms{"currency"} = 0x0a4;
534 $Keysyms{"yen"} = 0x0a5;
535 $Keysyms{"brokenbar"} = 0x0a6;
536 $Keysyms{"section"} = 0x0a7;
537 $Keysyms{"diaeresis"} = 0x0a8;
538 $Keysyms{"copyright"} = 0x0a9;
539 $Keysyms{"ordfeminine"} = 0x0aa;
540 $Keysyms{"guillemotleft"} = 0x0ab; # left angle quotation mark
541 $Keysyms{"notsign"} = 0x0ac;
542 $Keysyms{"hyphen"} = 0x0ad;
543 $Keysyms{"registered"} = 0x0ae;
544 $Keysyms{"macron"} = 0x0af;
545 $Keysyms{"degree"} = 0x0b0;
546 $Keysyms{"plusminus"} = 0x0b1;
547 $Keysyms{"twosuperior"} = 0x0b2;
548 $Keysyms{"threesuperior"} = 0x0b3;
549 $Keysyms{"acute"} = 0x0b4;
550 $Keysyms{"mu"} = 0x0b5;
551 $Keysyms{"paragraph"} = 0x0b6;
552 $Keysyms{"periodcentered"} = 0x0b7;
553 $Keysyms{"cedilla"} = 0x0b8;
554 $Keysyms{"onesuperior"} = 0x0b9;
555 $Keysyms{"masculine"} = 0x0ba;
556 $Keysyms{"guillemotright"} = 0x0bb; # right angle quotation mark
557 $Keysyms{"onequarter"} = 0x0bc;
558 $Keysyms{"onehalf"} = 0x0bd;
559 $Keysyms{"threequarters"} = 0x0be;
560 $Keysyms{"questiondown"} = 0x0bf;
561 $Keysyms{"Agrave"} = 0x0c0;
562 $Keysyms{"Aacute"} = 0x0c1;
563 $Keysyms{"Acircumflex"} = 0x0c2;
564 $Keysyms{"Atilde"} = 0x0c3;
565 $Keysyms{"Adiaeresis"} = 0x0c4;
566 $Keysyms{"Aring"} = 0x0c5;
567 $Keysyms{"AE"} = 0x0c6;
568 $Keysyms{"Ccedilla"} = 0x0c7;
569 $Keysyms{"Egrave"} = 0x0c8;
570 $Keysyms{"Eacute"} = 0x0c9;
571 $Keysyms{"Ecircumflex"} = 0x0ca;
572 $Keysyms{"Ediaeresis"} = 0x0cb;
573 $Keysyms{"Igrave"} = 0x0cc;
574 $Keysyms{"Iacute"} = 0x0cd;
575 $Keysyms{"Icircumflex"} = 0x0ce;
576 $Keysyms{"Idiaeresis"} = 0x0cf;
577 $Keysyms{"ETH"} = 0x0d0;
578 $Keysyms{"Eth"} = 0x0d0; # deprecated
579 $Keysyms{"Ntilde"} = 0x0d1;
580 $Keysyms{"Ograve"} = 0x0d2;
581 $Keysyms{"Oacute"} = 0x0d3;
582 $Keysyms{"Ocircumflex"} = 0x0d4;
583 $Keysyms{"Otilde"} = 0x0d5;
584 $Keysyms{"Odiaeresis"} = 0x0d6;
585 $Keysyms{"multiply"} = 0x0d7;
586 $Keysyms{"Ooblique"} = 0x0d8;
587 $Keysyms{"Ugrave"} = 0x0d9;
588 $Keysyms{"Uacute"} = 0x0da;
589 $Keysyms{"Ucircumflex"} = 0x0db;
590 $Keysyms{"Udiaeresis"} = 0x0dc;
591 $Keysyms{"Yacute"} = 0x0dd;
592 $Keysyms{"THORN"} = 0x0de;
593 $Keysyms{"Thorn"} = 0x0de; # deprecated
594 $Keysyms{"ssharp"} = 0x0df;
595 $Keysyms{"agrave"} = 0x0e0;
596 $Keysyms{"aacute"} = 0x0e1;
597 $Keysyms{"acircumflex"} = 0x0e2;
598 $Keysyms{"atilde"} = 0x0e3;
599 $Keysyms{"adiaeresis"} = 0x0e4;
600 $Keysyms{"aring"} = 0x0e5;
601 $Keysyms{"ae"} = 0x0e6;
602 $Keysyms{"ccedilla"} = 0x0e7;
603 $Keysyms{"egrave"} = 0x0e8;
604 $Keysyms{"eacute"} = 0x0e9;
605 $Keysyms{"ecircumflex"} = 0x0ea;
606 $Keysyms{"ediaeresis"} = 0x0eb;
607 $Keysyms{"igrave"} = 0x0ec;
608 $Keysyms{"iacute"} = 0x0ed;
609 $Keysyms{"icircumflex"} = 0x0ee;
610 $Keysyms{"idiaeresis"} = 0x0ef;
611 $Keysyms{"eth"} = 0x0f0;
612 $Keysyms{"ntilde"} = 0x0f1;
613 $Keysyms{"ograve"} = 0x0f2;
614 $Keysyms{"oacute"} = 0x0f3;
615 $Keysyms{"ocircumflex"} = 0x0f4;
616 $Keysyms{"otilde"} = 0x0f5;
617 $Keysyms{"odiaeresis"} = 0x0f6;
618 $Keysyms{"division"} = 0x0f7;
619 $Keysyms{"oslash"} = 0x0f8;
620 $Keysyms{"ugrave"} = 0x0f9;
621 $Keysyms{"uacute"} = 0x0fa;
622 $Keysyms{"ucircumflex"} = 0x0fb;
623 $Keysyms{"udiaeresis"} = 0x0fc;
624 $Keysyms{"yacute"} = 0x0fd;
625 $Keysyms{"thorn"} = 0x0fe;
626 $Keysyms{"ydiaeresis"} = 0x0ff;
627 }
628 #endif # XK_LATIN1
629  
630 #
631 # * Latin 2
632 # * Byte 3 = 1
633
634  
635 #ifdef XK_LATIN2
636 if ($KL{'LATIN2'}) {
637 $Keysyms{"Aogonek"} = 0x1a1;
638 $Keysyms{"breve"} = 0x1a2;
639 $Keysyms{"Lstroke"} = 0x1a3;
640 $Keysyms{"Lcaron"} = 0x1a5;
641 $Keysyms{"Sacute"} = 0x1a6;
642 $Keysyms{"Scaron"} = 0x1a9;
643 $Keysyms{"Scedilla"} = 0x1aa;
644 $Keysyms{"Tcaron"} = 0x1ab;
645 $Keysyms{"Zacute"} = 0x1ac;
646 $Keysyms{"Zcaron"} = 0x1ae;
647 $Keysyms{"Zabovedot"} = 0x1af;
648 $Keysyms{"aogonek"} = 0x1b1;
649 $Keysyms{"ogonek"} = 0x1b2;
650 $Keysyms{"lstroke"} = 0x1b3;
651 $Keysyms{"lcaron"} = 0x1b5;
652 $Keysyms{"sacute"} = 0x1b6;
653 $Keysyms{"caron"} = 0x1b7;
654 $Keysyms{"scaron"} = 0x1b9;
655 $Keysyms{"scedilla"} = 0x1ba;
656 $Keysyms{"tcaron"} = 0x1bb;
657 $Keysyms{"zacute"} = 0x1bc;
658 $Keysyms{"doubleacute"} = 0x1bd;
659 $Keysyms{"zcaron"} = 0x1be;
660 $Keysyms{"zabovedot"} = 0x1bf;
661 $Keysyms{"Racute"} = 0x1c0;
662 $Keysyms{"Abreve"} = 0x1c3;
663 $Keysyms{"Lacute"} = 0x1c5;
664 $Keysyms{"Cacute"} = 0x1c6;
665 $Keysyms{"Ccaron"} = 0x1c8;
666 $Keysyms{"Eogonek"} = 0x1ca;
667 $Keysyms{"Ecaron"} = 0x1cc;
668 $Keysyms{"Dcaron"} = 0x1cf;
669 $Keysyms{"Dstroke"} = 0x1d0;
670 $Keysyms{"Nacute"} = 0x1d1;
671 $Keysyms{"Ncaron"} = 0x1d2;
672 $Keysyms{"Odoubleacute"} = 0x1d5;
673 $Keysyms{"Rcaron"} = 0x1d8;
674 $Keysyms{"Uring"} = 0x1d9;
675 $Keysyms{"Udoubleacute"} = 0x1db;
676 $Keysyms{"Tcedilla"} = 0x1de;
677 $Keysyms{"racute"} = 0x1e0;
678 $Keysyms{"abreve"} = 0x1e3;
679 $Keysyms{"lacute"} = 0x1e5;
680 $Keysyms{"cacute"} = 0x1e6;
681 $Keysyms{"ccaron"} = 0x1e8;
682 $Keysyms{"eogonek"} = 0x1ea;
683 $Keysyms{"ecaron"} = 0x1ec;
684 $Keysyms{"dcaron"} = 0x1ef;
685 $Keysyms{"dstroke"} = 0x1f0;
686 $Keysyms{"nacute"} = 0x1f1;
687 $Keysyms{"ncaron"} = 0x1f2;
688 $Keysyms{"odoubleacute"} = 0x1f5;
689 $Keysyms{"udoubleacute"} = 0x1fb;
690 $Keysyms{"rcaron"} = 0x1f8;
691 $Keysyms{"uring"} = 0x1f9;
692 $Keysyms{"tcedilla"} = 0x1fe;
693 $Keysyms{"abovedot"} = 0x1ff;
694 }
695 #endif # XK_LATIN2
696  
697 #
698 # * Latin 3
699 # * Byte 3 = 2
700
701  
702 #ifdef XK_LATIN3
703 if ($KL{'LATIN3'}) {
704 $Keysyms{"Hstroke"} = 0x2a1;
705 $Keysyms{"Hcircumflex"} = 0x2a6;
706 $Keysyms{"Iabovedot"} = 0x2a9;
707 $Keysyms{"Gbreve"} = 0x2ab;
708 $Keysyms{"Jcircumflex"} = 0x2ac;
709 $Keysyms{"hstroke"} = 0x2b1;
710 $Keysyms{"hcircumflex"} = 0x2b6;
711 $Keysyms{"idotless"} = 0x2b9;
712 $Keysyms{"gbreve"} = 0x2bb;
713 $Keysyms{"jcircumflex"} = 0x2bc;
714 $Keysyms{"Cabovedot"} = 0x2c5;
715 $Keysyms{"Ccircumflex"} = 0x2c6;
716 $Keysyms{"Gabovedot"} = 0x2d5;
717 $Keysyms{"Gcircumflex"} = 0x2d8;
718 $Keysyms{"Ubreve"} = 0x2dd;
719 $Keysyms{"Scircumflex"} = 0x2de;
720 $Keysyms{"cabovedot"} = 0x2e5;
721 $Keysyms{"ccircumflex"} = 0x2e6;
722 $Keysyms{"gabovedot"} = 0x2f5;
723 $Keysyms{"gcircumflex"} = 0x2f8;
724 $Keysyms{"ubreve"} = 0x2fd;
725 $Keysyms{"scircumflex"} = 0x2fe;
726 }
727 #endif # XK_LATIN3
728  
729  
730 #
731 # * Latin 4
732 # * Byte 3 = 3
733
734  
735 #ifdef XK_LATIN4
736 if ($KL{'LATIN4'}) {
737 $Keysyms{"kra"} = 0x3a2;
738 $Keysyms{"kappa"} = 0x3a2; # deprecated
739 $Keysyms{"Rcedilla"} = 0x3a3;
740 $Keysyms{"Itilde"} = 0x3a5;
741 $Keysyms{"Lcedilla"} = 0x3a6;
742 $Keysyms{"Emacron"} = 0x3aa;
743 $Keysyms{"Gcedilla"} = 0x3ab;
744 $Keysyms{"Tslash"} = 0x3ac;
745 $Keysyms{"rcedilla"} = 0x3b3;
746 $Keysyms{"itilde"} = 0x3b5;
747 $Keysyms{"lcedilla"} = 0x3b6;
748 $Keysyms{"emacron"} = 0x3ba;
749 $Keysyms{"gcedilla"} = 0x3bb;
750 $Keysyms{"tslash"} = 0x3bc;
751 $Keysyms{"ENG"} = 0x3bd;
752 $Keysyms{"eng"} = 0x3bf;
753 $Keysyms{"Amacron"} = 0x3c0;
754 $Keysyms{"Iogonek"} = 0x3c7;
755 $Keysyms{"Eabovedot"} = 0x3cc;
756 $Keysyms{"Imacron"} = 0x3cf;
757 $Keysyms{"Ncedilla"} = 0x3d1;
758 $Keysyms{"Omacron"} = 0x3d2;
759 $Keysyms{"Kcedilla"} = 0x3d3;
760 $Keysyms{"Uogonek"} = 0x3d9;
761 $Keysyms{"Utilde"} = 0x3dd;
762 $Keysyms{"Umacron"} = 0x3de;
763 $Keysyms{"amacron"} = 0x3e0;
764 $Keysyms{"iogonek"} = 0x3e7;
765 $Keysyms{"eabovedot"} = 0x3ec;
766 $Keysyms{"imacron"} = 0x3ef;
767 $Keysyms{"ncedilla"} = 0x3f1;
768 $Keysyms{"omacron"} = 0x3f2;
769 $Keysyms{"kcedilla"} = 0x3f3;
770 $Keysyms{"uogonek"} = 0x3f9;
771 $Keysyms{"utilde"} = 0x3fd;
772 $Keysyms{"umacron"} = 0x3fe;
773 }
774 #endif # XK_LATIN4
775  
776 #
777 # * Katakana
778 # * Byte 3 = 4
779
780  
781 #ifdef XK_KATAKANA
782 if ($KL{'KATAKANA'}) {
783 $Keysyms{"overline"} = 0x47e;
784 $Keysyms{"kana_fullstop"} = 0x4a1;
785 $Keysyms{"kana_openingbracket"} = 0x4a2;
786 $Keysyms{"kana_closingbracket"} = 0x4a3;
787 $Keysyms{"kana_comma"} = 0x4a4;
788 $Keysyms{"kana_conjunctive"} = 0x4a5;
789 $Keysyms{"kana_middledot"} = 0x4a5; # deprecated
790 $Keysyms{"kana_WO"} = 0x4a6;
791 $Keysyms{"kana_a"} = 0x4a7;
792 $Keysyms{"kana_i"} = 0x4a8;
793 $Keysyms{"kana_u"} = 0x4a9;
794 $Keysyms{"kana_e"} = 0x4aa;
795 $Keysyms{"kana_o"} = 0x4ab;
796 $Keysyms{"kana_ya"} = 0x4ac;
797 $Keysyms{"kana_yu"} = 0x4ad;
798 $Keysyms{"kana_yo"} = 0x4ae;
799 $Keysyms{"kana_tsu"} = 0x4af;
800 $Keysyms{"kana_tu"} = 0x4af; # deprecated
801 $Keysyms{"prolongedsound"} = 0x4b0;
802 $Keysyms{"kana_A"} = 0x4b1;
803 $Keysyms{"kana_I"} = 0x4b2;
804 $Keysyms{"kana_U"} = 0x4b3;
805 $Keysyms{"kana_E"} = 0x4b4;
806 $Keysyms{"kana_O"} = 0x4b5;
807 $Keysyms{"kana_KA"} = 0x4b6;
808 $Keysyms{"kana_KI"} = 0x4b7;
809 $Keysyms{"kana_KU"} = 0x4b8;
810 $Keysyms{"kana_KE"} = 0x4b9;
811 $Keysyms{"kana_KO"} = 0x4ba;
812 $Keysyms{"kana_SA"} = 0x4bb;
813 $Keysyms{"kana_SHI"} = 0x4bc;
814 $Keysyms{"kana_SU"} = 0x4bd;
815 $Keysyms{"kana_SE"} = 0x4be;
816 $Keysyms{"kana_SO"} = 0x4bf;
817 $Keysyms{"kana_TA"} = 0x4c0;
818 $Keysyms{"kana_CHI"} = 0x4c1;
819 $Keysyms{"kana_TI"} = 0x4c1; # deprecated
820 $Keysyms{"kana_TSU"} = 0x4c2;
821 $Keysyms{"kana_TU"} = 0x4c2; # deprecated
822 $Keysyms{"kana_TE"} = 0x4c3;
823 $Keysyms{"kana_TO"} = 0x4c4;
824 $Keysyms{"kana_NA"} = 0x4c5;
825 $Keysyms{"kana_NI"} = 0x4c6;
826 $Keysyms{"kana_NU"} = 0x4c7;
827 $Keysyms{"kana_NE"} = 0x4c8;
828 $Keysyms{"kana_NO"} = 0x4c9;
829 $Keysyms{"kana_HA"} = 0x4ca;
830 $Keysyms{"kana_HI"} = 0x4cb;
831 $Keysyms{"kana_FU"} = 0x4cc;
832 $Keysyms{"kana_HU"} = 0x4cc; # deprecated
833 $Keysyms{"kana_HE"} = 0x4cd;
834 $Keysyms{"kana_HO"} = 0x4ce;
835 $Keysyms{"kana_MA"} = 0x4cf;
836 $Keysyms{"kana_MI"} = 0x4d0;
837 $Keysyms{"kana_MU"} = 0x4d1;
838 $Keysyms{"kana_ME"} = 0x4d2;
839 $Keysyms{"kana_MO"} = 0x4d3;
840 $Keysyms{"kana_YA"} = 0x4d4;
841 $Keysyms{"kana_YU"} = 0x4d5;
842 $Keysyms{"kana_YO"} = 0x4d6;
843 $Keysyms{"kana_RA"} = 0x4d7;
844 $Keysyms{"kana_RI"} = 0x4d8;
845 $Keysyms{"kana_RU"} = 0x4d9;
846 $Keysyms{"kana_RE"} = 0x4da;
847 $Keysyms{"kana_RO"} = 0x4db;
848 $Keysyms{"kana_WA"} = 0x4dc;
849 $Keysyms{"kana_N"} = 0x4dd;
850 $Keysyms{"voicedsound"} = 0x4de;
851 $Keysyms{"semivoicedsound"} = 0x4df;
852 $Keysyms{"kana_switch"} = 0xFF7E; # Alias for mode_switch
853 }
854 #endif # XK_KATAKANA
855  
856 #
857 # * Arabic
858 # * Byte 3 = 5
859
860  
861 #ifdef XK_ARABIC
862 if ($KL{'ARABIC'}) {
863 $Keysyms{"Arabic_comma"} = 0x5ac;
864 $Keysyms{"Arabic_semicolon"} = 0x5bb;
865 $Keysyms{"Arabic_question_mark"} = 0x5bf;
866 $Keysyms{"Arabic_hamza"} = 0x5c1;
867 $Keysyms{"Arabic_maddaonalef"} = 0x5c2;
868 $Keysyms{"Arabic_hamzaonalef"} = 0x5c3;
869 $Keysyms{"Arabic_hamzaonwaw"} = 0x5c4;
870 $Keysyms{"Arabic_hamzaunderalef"} = 0x5c5;
871 $Keysyms{"Arabic_hamzaonyeh"} = 0x5c6;
872 $Keysyms{"Arabic_alef"} = 0x5c7;
873 $Keysyms{"Arabic_beh"} = 0x5c8;
874 $Keysyms{"Arabic_tehmarbuta"} = 0x5c9;
875 $Keysyms{"Arabic_teh"} = 0x5ca;
876 $Keysyms{"Arabic_theh"} = 0x5cb;
877 $Keysyms{"Arabic_jeem"} = 0x5cc;
878 $Keysyms{"Arabic_hah"} = 0x5cd;
879 $Keysyms{"Arabic_khah"} = 0x5ce;
880 $Keysyms{"Arabic_dal"} = 0x5cf;
881 $Keysyms{"Arabic_thal"} = 0x5d0;
882 $Keysyms{"Arabic_ra"} = 0x5d1;
883 $Keysyms{"Arabic_zain"} = 0x5d2;
884 $Keysyms{"Arabic_seen"} = 0x5d3;
885 $Keysyms{"Arabic_sheen"} = 0x5d4;
886 $Keysyms{"Arabic_sad"} = 0x5d5;
887 $Keysyms{"Arabic_dad"} = 0x5d6;
888 $Keysyms{"Arabic_tah"} = 0x5d7;
889 $Keysyms{"Arabic_zah"} = 0x5d8;
890 $Keysyms{"Arabic_ain"} = 0x5d9;
891 $Keysyms{"Arabic_ghain"} = 0x5da;
892 $Keysyms{"Arabic_tatweel"} = 0x5e0;
893 $Keysyms{"Arabic_feh"} = 0x5e1;
894 $Keysyms{"Arabic_qaf"} = 0x5e2;
895 $Keysyms{"Arabic_kaf"} = 0x5e3;
896 $Keysyms{"Arabic_lam"} = 0x5e4;
897 $Keysyms{"Arabic_meem"} = 0x5e5;
898 $Keysyms{"Arabic_noon"} = 0x5e6;
899 $Keysyms{"Arabic_ha"} = 0x5e7;
900 $Keysyms{"Arabic_heh"} = 0x5e7; # deprecated
901 $Keysyms{"Arabic_waw"} = 0x5e8;
902 $Keysyms{"Arabic_alefmaksura"} = 0x5e9;
903 $Keysyms{"Arabic_yeh"} = 0x5ea;
904 $Keysyms{"Arabic_fathatan"} = 0x5eb;
905 $Keysyms{"Arabic_dammatan"} = 0x5ec;
906 $Keysyms{"Arabic_kasratan"} = 0x5ed;
907 $Keysyms{"Arabic_fatha"} = 0x5ee;
908 $Keysyms{"Arabic_damma"} = 0x5ef;
909 $Keysyms{"Arabic_kasra"} = 0x5f0;
910 $Keysyms{"Arabic_shadda"} = 0x5f1;
911 $Keysyms{"Arabic_sukun"} = 0x5f2;
912 $Keysyms{"Arabic_switch"} = 0xFF7E; # Alias for mode_switch
913 }
914 #endif # XK_ARABIC
915  
916 #
917 # * Cyrillic
918 # * Byte 3 = 6
919
920 #ifdef XK_CYRILLIC
921 if ($KL{'CYRILLIC'}) {
922 $Keysyms{"Serbian_dje"} = 0x6a1;
923 $Keysyms{"Macedonia_gje"} = 0x6a2;
924 $Keysyms{"Cyrillic_io"} = 0x6a3;
925 $Keysyms{"Ukrainian_ie"} = 0x6a4;
926 $Keysyms{"Ukranian_je"} = 0x6a4; # deprecated
927 $Keysyms{"Macedonia_dse"} = 0x6a5;
928 $Keysyms{"Ukrainian_i"} = 0x6a6;
929 $Keysyms{"Ukranian_i"} = 0x6a6; # deprecated
930 $Keysyms{"Ukrainian_yi"} = 0x6a7;
931 $Keysyms{"Ukranian_yi"} = 0x6a7; # deprecated
932 $Keysyms{"Cyrillic_je"} = 0x6a8;
933 $Keysyms{"Serbian_je"} = 0x6a8; # deprecated
934 $Keysyms{"Cyrillic_lje"} = 0x6a9;
935 $Keysyms{"Serbian_lje"} = 0x6a9; # deprecated
936 $Keysyms{"Cyrillic_nje"} = 0x6aa;
937 $Keysyms{"Serbian_nje"} = 0x6aa; # deprecated
938 $Keysyms{"Serbian_tshe"} = 0x6ab;
939 $Keysyms{"Macedonia_kje"} = 0x6ac;
940 $Keysyms{"Byelorussian_shortu"} = 0x6ae;
941 $Keysyms{"Cyrillic_dzhe"} = 0x6af;
942 $Keysyms{"Serbian_dze"} = 0x6af; # deprecated
943 $Keysyms{"numerosign"} = 0x6b0;
944 $Keysyms{"Serbian_DJE"} = 0x6b1;
945 $Keysyms{"Macedonia_GJE"} = 0x6b2;
946 $Keysyms{"Cyrillic_IO"} = 0x6b3;
947 $Keysyms{"Ukrainian_IE"} = 0x6b4;
948 $Keysyms{"Ukranian_JE"} = 0x6b4; # deprecated
949 $Keysyms{"Macedonia_DSE"} = 0x6b5;
950 $Keysyms{"Ukrainian_I"} = 0x6b6;
951 $Keysyms{"Ukranian_I"} = 0x6b6; # deprecated
952 $Keysyms{"Ukrainian_YI"} = 0x6b7;
953 $Keysyms{"Ukranian_YI"} = 0x6b7; # deprecated
954 $Keysyms{"Cyrillic_JE"} = 0x6b8;
955 $Keysyms{"Serbian_JE"} = 0x6b8; # deprecated
956 $Keysyms{"Cyrillic_LJE"} = 0x6b9;
957 $Keysyms{"Serbian_LJE"} = 0x6b9; # deprecated
958 $Keysyms{"Cyrillic_NJE"} = 0x6ba;
959 $Keysyms{"Serbian_NJE"} = 0x6ba; # deprecated
960 $Keysyms{"Serbian_TSHE"} = 0x6bb;
961 $Keysyms{"Macedonia_KJE"} = 0x6bc;
962 $Keysyms{"Byelorussian_SHORTU"} = 0x6be;
963 $Keysyms{"Cyrillic_DZHE"} = 0x6bf;
964 $Keysyms{"Serbian_DZE"} = 0x6bf; # deprecated
965 $Keysyms{"Cyrillic_yu"} = 0x6c0;
966 $Keysyms{"Cyrillic_a"} = 0x6c1;
967 $Keysyms{"Cyrillic_be"} = 0x6c2;
968 $Keysyms{"Cyrillic_tse"} = 0x6c3;
969 $Keysyms{"Cyrillic_de"} = 0x6c4;
970 $Keysyms{"Cyrillic_ie"} = 0x6c5;
971 $Keysyms{"Cyrillic_ef"} = 0x6c6;
972 $Keysyms{"Cyrillic_ghe"} = 0x6c7;
973 $Keysyms{"Cyrillic_ha"} = 0x6c8;
974 $Keysyms{"Cyrillic_i"} = 0x6c9;
975 $Keysyms{"Cyrillic_shorti"} = 0x6ca;
976 $Keysyms{"Cyrillic_ka"} = 0x6cb;
977 $Keysyms{"Cyrillic_el"} = 0x6cc;
978 $Keysyms{"Cyrillic_em"} = 0x6cd;
979 $Keysyms{"Cyrillic_en"} = 0x6ce;
980 $Keysyms{"Cyrillic_o"} = 0x6cf;
981 $Keysyms{"Cyrillic_pe"} = 0x6d0;
982 $Keysyms{"Cyrillic_ya"} = 0x6d1;
983 $Keysyms{"Cyrillic_er"} = 0x6d2;
984 $Keysyms{"Cyrillic_es"} = 0x6d3;
985 $Keysyms{"Cyrillic_te"} = 0x6d4;
986 $Keysyms{"Cyrillic_u"} = 0x6d5;
987 $Keysyms{"Cyrillic_zhe"} = 0x6d6;
988 $Keysyms{"Cyrillic_ve"} = 0x6d7;
989 $Keysyms{"Cyrillic_softsign"} = 0x6d8;
990 $Keysyms{"Cyrillic_yeru"} = 0x6d9;
991 $Keysyms{"Cyrillic_ze"} = 0x6da;
992 $Keysyms{"Cyrillic_sha"} = 0x6db;
993 $Keysyms{"Cyrillic_e"} = 0x6dc;
994 $Keysyms{"Cyrillic_shcha"} = 0x6dd;
995 $Keysyms{"Cyrillic_che"} = 0x6de;
996 $Keysyms{"Cyrillic_hardsign"} = 0x6df;
997 $Keysyms{"Cyrillic_YU"} = 0x6e0;
998 $Keysyms{"Cyrillic_A"} = 0x6e1;
999 $Keysyms{"Cyrillic_BE"} = 0x6e2;
1000 $Keysyms{"Cyrillic_TSE"} = 0x6e3;
1001 $Keysyms{"Cyrillic_DE"} = 0x6e4;
1002 $Keysyms{"Cyrillic_IE"} = 0x6e5;
1003 $Keysyms{"Cyrillic_EF"} = 0x6e6;
1004 $Keysyms{"Cyrillic_GHE"} = 0x6e7;
1005 $Keysyms{"Cyrillic_HA"} = 0x6e8;
1006 $Keysyms{"Cyrillic_I"} = 0x6e9;
1007 $Keysyms{"Cyrillic_SHORTI"} = 0x6ea;
1008 $Keysyms{"Cyrillic_KA"} = 0x6eb;
1009 $Keysyms{"Cyrillic_EL"} = 0x6ec;
1010 $Keysyms{"Cyrillic_EM"} = 0x6ed;
1011 $Keysyms{"Cyrillic_EN"} = 0x6ee;
1012 $Keysyms{"Cyrillic_O"} = 0x6ef;
1013 $Keysyms{"Cyrillic_PE"} = 0x6f0;
1014 $Keysyms{"Cyrillic_YA"} = 0x6f1;
1015 $Keysyms{"Cyrillic_ER"} = 0x6f2;
1016 $Keysyms{"Cyrillic_ES"} = 0x6f3;
1017 $Keysyms{"Cyrillic_TE"} = 0x6f4;
1018 $Keysyms{"Cyrillic_U"} = 0x6f5;
1019 $Keysyms{"Cyrillic_ZHE"} = 0x6f6;
1020 $Keysyms{"Cyrillic_VE"} = 0x6f7;
1021 $Keysyms{"Cyrillic_SOFTSIGN"} = 0x6f8;
1022 $Keysyms{"Cyrillic_YERU"} = 0x6f9;
1023 $Keysyms{"Cyrillic_ZE"} = 0x6fa;
1024 $Keysyms{"Cyrillic_SHA"} = 0x6fb;
1025 $Keysyms{"Cyrillic_E"} = 0x6fc;
1026 $Keysyms{"Cyrillic_SHCHA"} = 0x6fd;
1027 $Keysyms{"Cyrillic_CHE"} = 0x6fe;
1028 $Keysyms{"Cyrillic_HARDSIGN"} = 0x6ff;
1029 }
1030 #endif # XK_CYRILLIC
1031  
1032 #
1033 # * Greek
1034 # * Byte 3 = 7
1035
1036  
1037 #ifdef XK_GREEK
1038 if ($KL{'GREEK'}) {
1039 $Keysyms{"Greek_ALPHAaccent"} = 0x7a1;
1040 $Keysyms{"Greek_EPSILONaccent"} = 0x7a2;
1041 $Keysyms{"Greek_ETAaccent"} = 0x7a3;
1042 $Keysyms{"Greek_IOTAaccent"} = 0x7a4;
1043 $Keysyms{"Greek_IOTAdiaeresis"} = 0x7a5;
1044 $Keysyms{"Greek_OMICRONaccent"} = 0x7a7;
1045 $Keysyms{"Greek_UPSILONaccent"} = 0x7a8;
1046 $Keysyms{"Greek_UPSILONdieresis"} = 0x7a9;
1047 $Keysyms{"Greek_OMEGAaccent"} = 0x7ab;
1048 $Keysyms{"Greek_accentdieresis"} = 0x7ae;
1049 $Keysyms{"Greek_horizbar"} = 0x7af;
1050 $Keysyms{"Greek_alphaaccent"} = 0x7b1;
1051 $Keysyms{"Greek_epsilonaccent"} = 0x7b2;
1052 $Keysyms{"Greek_etaaccent"} = 0x7b3;
1053 $Keysyms{"Greek_iotaaccent"} = 0x7b4;
1054 $Keysyms{"Greek_iotadieresis"} = 0x7b5;
1055 $Keysyms{"Greek_iotaaccentdieresis"} = 0x7b6;
1056 $Keysyms{"Greek_omicronaccent"} = 0x7b7;
1057 $Keysyms{"Greek_upsilonaccent"} = 0x7b8;
1058 $Keysyms{"Greek_upsilondieresis"} = 0x7b9;
1059 $Keysyms{"Greek_upsilonaccentdieresis"} = 0x7ba;
1060 $Keysyms{"Greek_omegaaccent"} = 0x7bb;
1061 $Keysyms{"Greek_ALPHA"} = 0x7c1;
1062 $Keysyms{"Greek_BETA"} = 0x7c2;
1063 $Keysyms{"Greek_GAMMA"} = 0x7c3;
1064 $Keysyms{"Greek_DELTA"} = 0x7c4;
1065 $Keysyms{"Greek_EPSILON"} = 0x7c5;
1066 $Keysyms{"Greek_ZETA"} = 0x7c6;
1067 $Keysyms{"Greek_ETA"} = 0x7c7;
1068 $Keysyms{"Greek_THETA"} = 0x7c8;
1069 $Keysyms{"Greek_IOTA"} = 0x7c9;
1070 $Keysyms{"Greek_KAPPA"} = 0x7ca;
1071 $Keysyms{"Greek_LAMDA"} = 0x7cb;
1072 $Keysyms{"Greek_LAMBDA"} = 0x7cb;
1073 $Keysyms{"Greek_MU"} = 0x7cc;
1074 $Keysyms{"Greek_NU"} = 0x7cd;
1075 $Keysyms{"Greek_XI"} = 0x7ce;
1076 $Keysyms{"Greek_OMICRON"} = 0x7cf;
1077 $Keysyms{"Greek_PI"} = 0x7d0;
1078 $Keysyms{"Greek_RHO"} = 0x7d1;
1079 $Keysyms{"Greek_SIGMA"} = 0x7d2;
1080 $Keysyms{"Greek_TAU"} = 0x7d4;
1081 $Keysyms{"Greek_UPSILON"} = 0x7d5;
1082 $Keysyms{"Greek_PHI"} = 0x7d6;
1083 $Keysyms{"Greek_CHI"} = 0x7d7;
1084 $Keysyms{"Greek_PSI"} = 0x7d8;
1085 $Keysyms{"Greek_OMEGA"} = 0x7d9;
1086 $Keysyms{"Greek_alpha"} = 0x7e1;
1087 $Keysyms{"Greek_beta"} = 0x7e2;
1088 $Keysyms{"Greek_gamma"} = 0x7e3;
1089 $Keysyms{"Greek_delta"} = 0x7e4;
1090 $Keysyms{"Greek_epsilon"} = 0x7e5;
1091 $Keysyms{"Greek_zeta"} = 0x7e6;
1092 $Keysyms{"Greek_eta"} = 0x7e7;
1093 $Keysyms{"Greek_theta"} = 0x7e8;
1094 $Keysyms{"Greek_iota"} = 0x7e9;
1095 $Keysyms{"Greek_kappa"} = 0x7ea;
1096 $Keysyms{"Greek_lamda"} = 0x7eb;
1097 $Keysyms{"Greek_lambda"} = 0x7eb;
1098 $Keysyms{"Greek_mu"} = 0x7ec;
1099 $Keysyms{"Greek_nu"} = 0x7ed;
1100 $Keysyms{"Greek_xi"} = 0x7ee;
1101 $Keysyms{"Greek_omicron"} = 0x7ef;
1102 $Keysyms{"Greek_pi"} = 0x7f0;
1103 $Keysyms{"Greek_rho"} = 0x7f1;
1104 $Keysyms{"Greek_sigma"} = 0x7f2;
1105 $Keysyms{"Greek_finalsmallsigma"} = 0x7f3;
1106 $Keysyms{"Greek_tau"} = 0x7f4;
1107 $Keysyms{"Greek_upsilon"} = 0x7f5;
1108 $Keysyms{"Greek_phi"} = 0x7f6;
1109 $Keysyms{"Greek_chi"} = 0x7f7;
1110 $Keysyms{"Greek_psi"} = 0x7f8;
1111 $Keysyms{"Greek_omega"} = 0x7f9;
1112 $Keysyms{"Greek_switch"} = 0xFF7E; # Alias for mode_switch
1113 }
1114 #endif # XK_GREEK
1115  
1116 #
1117 # * Technical
1118 # * Byte 3 = 8
1119
1120  
1121 #ifdef XK_TECHNICAL
1122 if ($KL{'TECHNICAL'}) {
1123 $Keysyms{"leftradical"} = 0x8a1;
1124 $Keysyms{"topleftradical"} = 0x8a2;
1125 $Keysyms{"horizconnector"} = 0x8a3;
1126 $Keysyms{"topintegral"} = 0x8a4;
1127 $Keysyms{"botintegral"} = 0x8a5;
1128 $Keysyms{"vertconnector"} = 0x8a6;
1129 $Keysyms{"topleftsqbracket"} = 0x8a7;
1130 $Keysyms{"botleftsqbracket"} = 0x8a8;
1131 $Keysyms{"toprightsqbracket"} = 0x8a9;
1132 $Keysyms{"botrightsqbracket"} = 0x8aa;
1133 $Keysyms{"topleftparens"} = 0x8ab;
1134 $Keysyms{"botleftparens"} = 0x8ac;
1135 $Keysyms{"toprightparens"} = 0x8ad;
1136 $Keysyms{"botrightparens"} = 0x8ae;
1137 $Keysyms{"leftmiddlecurlybrace"} = 0x8af;
1138 $Keysyms{"rightmiddlecurlybrace"} = 0x8b0;
1139 $Keysyms{"topleftsummation"} = 0x8b1;
1140 $Keysyms{"botleftsummation"} = 0x8b2;
1141 $Keysyms{"topvertsummationconnector"} = 0x8b3;
1142 $Keysyms{"botvertsummationconnector"} = 0x8b4;
1143 $Keysyms{"toprightsummation"} = 0x8b5;
1144 $Keysyms{"botrightsummation"} = 0x8b6;
1145 $Keysyms{"rightmiddlesummation"} = 0x8b7;
1146 $Keysyms{"lessthanequal"} = 0x8bc;
1147 $Keysyms{"notequal"} = 0x8bd;
1148 $Keysyms{"greaterthanequal"} = 0x8be;
1149 $Keysyms{"integral"} = 0x8bf;
1150 $Keysyms{"therefore"} = 0x8c0;
1151 $Keysyms{"variation"} = 0x8c1;
1152 $Keysyms{"infinity"} = 0x8c2;
1153 $Keysyms{"nabla"} = 0x8c5;
1154 $Keysyms{"approximate"} = 0x8c8;
1155 $Keysyms{"similarequal"} = 0x8c9;
1156 $Keysyms{"ifonlyif"} = 0x8cd;
1157 $Keysyms{"implies"} = 0x8ce;
1158 $Keysyms{"identical"} = 0x8cf;
1159 $Keysyms{"radical"} = 0x8d6;
1160 $Keysyms{"includedin"} = 0x8da;
1161 $Keysyms{"includes"} = 0x8db;
1162 $Keysyms{"intersection"} = 0x8dc;
1163 $Keysyms{"union"} = 0x8dd;
1164 $Keysyms{"logicaland"} = 0x8de;
1165 $Keysyms{"logicalor"} = 0x8df;
1166 $Keysyms{"partialderivative"} = 0x8ef;
1167 $Keysyms{"function"} = 0x8f6;
1168 $Keysyms{"leftarrow"} = 0x8fb;
1169 $Keysyms{"uparrow"} = 0x8fc;
1170 $Keysyms{"rightarrow"} = 0x8fd;
1171 $Keysyms{"downarrow"} = 0x8fe;
1172 }
1173 #endif # XK_TECHNICAL
1174  
1175 #
1176 # * Special
1177 # * Byte 3 = 9
1178
1179  
1180 #ifdef XK_SPECIAL
1181 if ($KL{'SPECIAL'}) {
1182 $Keysyms{"blank"} = 0x9df;
1183 $Keysyms{"soliddiamond"} = 0x9e0;
1184 $Keysyms{"checkerboard"} = 0x9e1;
1185 $Keysyms{"ht"} = 0x9e2;
1186 $Keysyms{"ff"} = 0x9e3;
1187 $Keysyms{"cr"} = 0x9e4;
1188 $Keysyms{"lf"} = 0x9e5;
1189 $Keysyms{"nl"} = 0x9e8;
1190 $Keysyms{"vt"} = 0x9e9;
1191 $Keysyms{"lowrightcorner"} = 0x9ea;
1192 $Keysyms{"uprightcorner"} = 0x9eb;
1193 $Keysyms{"upleftcorner"} = 0x9ec;
1194 $Keysyms{"lowleftcorner"} = 0x9ed;
1195 $Keysyms{"crossinglines"} = 0x9ee;
1196 $Keysyms{"horizlinescan1"} = 0x9ef;
1197 $Keysyms{"horizlinescan3"} = 0x9f0;
1198 $Keysyms{"horizlinescan5"} = 0x9f1;
1199 $Keysyms{"horizlinescan7"} = 0x9f2;
1200 $Keysyms{"horizlinescan9"} = 0x9f3;
1201 $Keysyms{"leftt"} = 0x9f4;
1202 $Keysyms{"rightt"} = 0x9f5;
1203 $Keysyms{"bott"} = 0x9f6;
1204 $Keysyms{"topt"} = 0x9f7;
1205 $Keysyms{"vertbar"} = 0x9f8;
1206 }
1207 #endif # XK_SPECIAL
1208  
1209 #
1210 # * Publishing
1211 # * Byte 3 = a
1212
1213  
1214 #ifdef XK_PUBLISHING
1215 if ($KL{'PUBLISHING'}) {
1216 $Keysyms{"emspace"} = 0xaa1;
1217 $Keysyms{"enspace"} = 0xaa2;
1218 $Keysyms{"em3space"} = 0xaa3;
1219 $Keysyms{"em4space"} = 0xaa4;
1220 $Keysyms{"digitspace"} = 0xaa5;
1221 $Keysyms{"punctspace"} = 0xaa6;
1222 $Keysyms{"thinspace"} = 0xaa7;
1223 $Keysyms{"hairspace"} = 0xaa8;
1224 $Keysyms{"emdash"} = 0xaa9;
1225 $Keysyms{"endash"} = 0xaaa;
1226 $Keysyms{"signifblank"} = 0xaac;
1227 $Keysyms{"ellipsis"} = 0xaae;
1228 $Keysyms{"doubbaselinedot"} = 0xaaf;
1229 $Keysyms{"onethird"} = 0xab0;
1230 $Keysyms{"twothirds"} = 0xab1;
1231 $Keysyms{"onefifth"} = 0xab2;
1232 $Keysyms{"twofifths"} = 0xab3;
1233 $Keysyms{"threefifths"} = 0xab4;
1234 $Keysyms{"fourfifths"} = 0xab5;
1235 $Keysyms{"onesixth"} = 0xab6;
1236 $Keysyms{"fivesixths"} = 0xab7;
1237 $Keysyms{"careof"} = 0xab8;
1238 $Keysyms{"figdash"} = 0xabb;
1239 $Keysyms{"leftanglebracket"} = 0xabc;
1240 $Keysyms{"decimalpoint"} = 0xabd;
1241 $Keysyms{"rightanglebracket"} = 0xabe;
1242 $Keysyms{"marker"} = 0xabf;
1243 $Keysyms{"oneeighth"} = 0xac3;
1244 $Keysyms{"threeeighths"} = 0xac4;
1245 $Keysyms{"fiveeighths"} = 0xac5;
1246 $Keysyms{"seveneighths"} = 0xac6;
1247 $Keysyms{"trademark"} = 0xac9;
1248 $Keysyms{"signaturemark"} = 0xaca;
1249 $Keysyms{"trademarkincircle"} = 0xacb;
1250 $Keysyms{"leftopentriangle"} = 0xacc;
1251 $Keysyms{"rightopentriangle"} = 0xacd;
1252 $Keysyms{"emopencircle"} = 0xace;
1253 $Keysyms{"emopenrectangle"} = 0xacf;
1254 $Keysyms{"leftsinglequotemark"} = 0xad0;
1255 $Keysyms{"rightsinglequotemark"} = 0xad1;
1256 $Keysyms{"leftdoublequotemark"} = 0xad2;
1257 $Keysyms{"rightdoublequotemark"} = 0xad3;
1258 $Keysyms{"prescription"} = 0xad4;
1259 $Keysyms{"minutes"} = 0xad6;
1260 $Keysyms{"seconds"} = 0xad7;
1261 $Keysyms{"latincross"} = 0xad9;
1262 $Keysyms{"hexagram"} = 0xada;
1263 $Keysyms{"filledrectbullet"} = 0xadb;
1264 $Keysyms{"filledlefttribullet"} = 0xadc;
1265 $Keysyms{"filledrighttribullet"} = 0xadd;
1266 $Keysyms{"emfilledcircle"} = 0xade;
1267 $Keysyms{"emfilledrect"} = 0xadf;
1268 $Keysyms{"enopencircbullet"} = 0xae0;
1269 $Keysyms{"enopensquarebullet"} = 0xae1;
1270 $Keysyms{"openrectbullet"} = 0xae2;
1271 $Keysyms{"opentribulletup"} = 0xae3;
1272 $Keysyms{"opentribulletdown"} = 0xae4;
1273 $Keysyms{"openstar"} = 0xae5;
1274 $Keysyms{"enfilledcircbullet"} = 0xae6;
1275 $Keysyms{"enfilledsqbullet"} = 0xae7;
1276 $Keysyms{"filledtribulletup"} = 0xae8;
1277 $Keysyms{"filledtribulletdown"} = 0xae9;
1278 $Keysyms{"leftpointer"} = 0xaea;
1279 $Keysyms{"rightpointer"} = 0xaeb;
1280 $Keysyms{"club"} = 0xaec;
1281 $Keysyms{"diamond"} = 0xaed;
1282 $Keysyms{"heart"} = 0xaee;
1283 $Keysyms{"maltesecross"} = 0xaf0;
1284 $Keysyms{"dagger"} = 0xaf1;
1285 $Keysyms{"doubledagger"} = 0xaf2;
1286 $Keysyms{"checkmark"} = 0xaf3;
1287 $Keysyms{"ballotcross"} = 0xaf4;
1288 $Keysyms{"musicalsharp"} = 0xaf5;
1289 $Keysyms{"musicalflat"} = 0xaf6;
1290 $Keysyms{"malesymbol"} = 0xaf7;
1291 $Keysyms{"femalesymbol"} = 0xaf8;
1292 $Keysyms{"telephone"} = 0xaf9;
1293 $Keysyms{"telephonerecorder"} = 0xafa;
1294 $Keysyms{"phonographcopyright"} = 0xafb;
1295 $Keysyms{"caret"} = 0xafc;
1296 $Keysyms{"singlelowquotemark"} = 0xafd;
1297 $Keysyms{"doublelowquotemark"} = 0xafe;
1298 $Keysyms{"cursor"} = 0xaff;
1299 }
1300 #endif # XK_PUBLISHING
1301  
1302 #
1303 # * APL
1304 # * Byte 3 = b
1305
1306  
1307 #ifdef XK_APL
1308 if ($KL{'APL'}) {
1309 $Keysyms{"leftcaret"} = 0xba3;
1310 $Keysyms{"rightcaret"} = 0xba6;
1311 $Keysyms{"downcaret"} = 0xba8;
1312 $Keysyms{"upcaret"} = 0xba9;
1313 $Keysyms{"overbar"} = 0xbc0;
1314 $Keysyms{"downtack"} = 0xbc2;
1315 $Keysyms{"upshoe"} = 0xbc3;
1316 $Keysyms{"downstile"} = 0xbc4;
1317 $Keysyms{"underbar"} = 0xbc6;
1318 $Keysyms{"jot"} = 0xbca;
1319 $Keysyms{"quad"} = 0xbcc;
1320 $Keysyms{"uptack"} = 0xbce;
1321 $Keysyms{"circle"} = 0xbcf;
1322 $Keysyms{"upstile"} = 0xbd3;
1323 $Keysyms{"downshoe"} = 0xbd6;
1324 $Keysyms{"rightshoe"} = 0xbd8;
1325 $Keysyms{"leftshoe"} = 0xbda;
1326 $Keysyms{"lefttack"} = 0xbdc;
1327 $Keysyms{"righttack"} = 0xbfc;
1328 }
1329 #endif # XK_APL
1330  
1331 #
1332 # * Hebrew
1333 # * Byte 3 = c
1334
1335  
1336 #ifdef XK_HEBREW
1337 if ($KL{'HEBREW'}) {
1338 $Keysyms{"hebrew_doublelowline"} = 0xcdf;
1339 $Keysyms{"hebrew_aleph"} = 0xce0;
1340 $Keysyms{"hebrew_bet"} = 0xce1;
1341 $Keysyms{"hebrew_beth"} = 0xce1; # deprecated
1342 $Keysyms{"hebrew_gimel"} = 0xce2;
1343 $Keysyms{"hebrew_gimmel"} = 0xce2; # deprecated
1344 $Keysyms{"hebrew_dalet"} = 0xce3;
1345 $Keysyms{"hebrew_daleth"} = 0xce3; # deprecated
1346 $Keysyms{"hebrew_he"} = 0xce4;
1347 $Keysyms{"hebrew_waw"} = 0xce5;
1348 $Keysyms{"hebrew_zain"} = 0xce6;
1349 $Keysyms{"hebrew_zayin"} = 0xce6; # deprecated
1350 $Keysyms{"hebrew_chet"} = 0xce7;
1351 $Keysyms{"hebrew_het"} = 0xce7; # deprecated
1352 $Keysyms{"hebrew_tet"} = 0xce8;
1353 $Keysyms{"hebrew_teth"} = 0xce8; # deprecated
1354 $Keysyms{"hebrew_yod"} = 0xce9;
1355 $Keysyms{"hebrew_finalkaph"} = 0xcea;
1356 $Keysyms{"hebrew_kaph"} = 0xceb;
1357 $Keysyms{"hebrew_lamed"} = 0xcec;
1358 $Keysyms{"hebrew_finalmem"} = 0xced;
1359 $Keysyms{"hebrew_mem"} = 0xcee;
1360 $Keysyms{"hebrew_finalnun"} = 0xcef;
1361 $Keysyms{"hebrew_nun"} = 0xcf0;
1362 $Keysyms{"hebrew_samech"} = 0xcf1;
1363 $Keysyms{"hebrew_samekh"} = 0xcf1; # deprecated
1364 $Keysyms{"hebrew_ayin"} = 0xcf2;
1365 $Keysyms{"hebrew_finalpe"} = 0xcf3;
1366 $Keysyms{"hebrew_pe"} = 0xcf4;
1367 $Keysyms{"hebrew_finalzade"} = 0xcf5;
1368 $Keysyms{"hebrew_finalzadi"} = 0xcf5; # deprecated
1369 $Keysyms{"hebrew_zade"} = 0xcf6;
1370 $Keysyms{"hebrew_zadi"} = 0xcf6; # deprecated
1371 $Keysyms{"hebrew_qoph"} = 0xcf7;
1372 $Keysyms{"hebrew_kuf"} = 0xcf7; # deprecated
1373 $Keysyms{"hebrew_resh"} = 0xcf8;
1374 $Keysyms{"hebrew_shin"} = 0xcf9;
1375 $Keysyms{"hebrew_taw"} = 0xcfa;
1376 $Keysyms{"hebrew_taf"} = 0xcfa; # deprecated
1377 $Keysyms{"Hebrew_switch"} = 0xFF7E; # Alias for mode_switch
1378 }
1379 #endif # XK_HEBREW
1380  
1381 #
1382 # * Thai
1383 # * Byte 3 = d
1384
1385  
1386 #ifdef XK_THAI
1387 if ($KL{'THAI'}) {
1388 $Keysyms{"Thai_kokai"} = 0xda1;
1389 $Keysyms{"Thai_khokhai"} = 0xda2;
1390 $Keysyms{"Thai_khokhuat"} = 0xda3;
1391 $Keysyms{"Thai_khokhwai"} = 0xda4;
1392 $Keysyms{"Thai_khokhon"} = 0xda5;
1393 $Keysyms{"Thai_khorakhang"} = 0xda6;
1394 $Keysyms{"Thai_ngongu"} = 0xda7;
1395 $Keysyms{"Thai_chochan"} = 0xda8;
1396 $Keysyms{"Thai_choching"} = 0xda9;
1397 $Keysyms{"Thai_chochang"} = 0xdaa;
1398 $Keysyms{"Thai_soso"} = 0xdab;
1399 $Keysyms{"Thai_chochoe"} = 0xdac;
1400 $Keysyms{"Thai_yoying"} = 0xdad;
1401 $Keysyms{"Thai_dochada"} = 0xdae;
1402 $Keysyms{"Thai_topatak"} = 0xdaf;
1403 $Keysyms{"Thai_thothan"} = 0xdb0;
1404 $Keysyms{"Thai_thonangmontho"} = 0xdb1;
1405 $Keysyms{"Thai_thophuthao"} = 0xdb2;
1406 $Keysyms{"Thai_nonen"} = 0xdb3;
1407 $Keysyms{"Thai_dodek"} = 0xdb4;
1408 $Keysyms{"Thai_totao"} = 0xdb5;
1409 $Keysyms{"Thai_thothung"} = 0xdb6;
1410 $Keysyms{"Thai_thothahan"} = 0xdb7;
1411 $Keysyms{"Thai_thothong"} = 0xdb8;
1412 $Keysyms{"Thai_nonu"} = 0xdb9;
1413 $Keysyms{"Thai_bobaimai"} = 0xdba;
1414 $Keysyms{"Thai_popla"} = 0xdbb;
1415 $Keysyms{"Thai_phophung"} = 0xdbc;
1416 $Keysyms{"Thai_fofa"} = 0xdbd;
1417 $Keysyms{"Thai_phophan"} = 0xdbe;
1418 $Keysyms{"Thai_fofan"} = 0xdbf;
1419 $Keysyms{"Thai_phosamphao"} = 0xdc0;
1420 $Keysyms{"Thai_moma"} = 0xdc1;
1421 $Keysyms{"Thai_yoyak"} = 0xdc2;
1422 $Keysyms{"Thai_rorua"} = 0xdc3;
1423 $Keysyms{"Thai_ru"} = 0xdc4;
1424 $Keysyms{"Thai_loling"} = 0xdc5;
1425 $Keysyms{"Thai_lu"} = 0xdc6;
1426 $Keysyms{"Thai_wowaen"} = 0xdc7;
1427 $Keysyms{"Thai_sosala"} = 0xdc8;
1428 $Keysyms{"Thai_sorusi"} = 0xdc9;
1429 $Keysyms{"Thai_sosua"} = 0xdca;
1430 $Keysyms{"Thai_hohip"} = 0xdcb;
1431 $Keysyms{"Thai_lochula"} = 0xdcc;
1432 $Keysyms{"Thai_oang"} = 0xdcd;
1433 $Keysyms{"Thai_honokhuk"} = 0xdce;
1434 $Keysyms{"Thai_paiyannoi"} = 0xdcf;
1435 $Keysyms{"Thai_saraa"} = 0xdd0;
1436 $Keysyms{"Thai_maihanakat"} = 0xdd1;
1437 $Keysyms{"Thai_saraaa"} = 0xdd2;
1438 $Keysyms{"Thai_saraam"} = 0xdd3;
1439 $Keysyms{"Thai_sarai"} = 0xdd4;
1440 $Keysyms{"Thai_saraii"} = 0xdd5;
1441 $Keysyms{"Thai_saraue"} = 0xdd6;
1442 $Keysyms{"Thai_sarauee"} = 0xdd7;
1443 $Keysyms{"Thai_sarau"} = 0xdd8;
1444 $Keysyms{"Thai_sarauu"} = 0xdd9;
1445 $Keysyms{"Thai_phinthu"} = 0xdda;
1446 $Keysyms{"Thai_maihanakat_maitho"} = 0xdde;
1447 $Keysyms{"Thai_baht"} = 0xddf;
1448 $Keysyms{"Thai_sarae"} = 0xde0;
1449 $Keysyms{"Thai_saraae"} = 0xde1;
1450 $Keysyms{"Thai_sarao"} = 0xde2;
1451 $Keysyms{"Thai_saraaimaimuan"} = 0xde3;
1452 $Keysyms{"Thai_saraaimaimalai"} = 0xde4;
1453 $Keysyms{"Thai_lakkhangyao"} = 0xde5;
1454 $Keysyms{"Thai_maiyamok"} = 0xde6;
1455 $Keysyms{"Thai_maitaikhu"} = 0xde7;
1456 $Keysyms{"Thai_maiek"} = 0xde8;
1457 $Keysyms{"Thai_maitho"} = 0xde9;
1458 $Keysyms{"Thai_maitri"} = 0xdea;
1459 $Keysyms{"Thai_maichattawa"} = 0xdeb;
1460 $Keysyms{"Thai_thanthakhat"} = 0xdec;
1461 $Keysyms{"Thai_nikhahit"} = 0xded;
1462 $Keysyms{"Thai_leksun"} = 0xdf0;
1463 $Keysyms{"Thai_leknung"} = 0xdf1;
1464 $Keysyms{"Thai_leksong"} = 0xdf2;
1465 $Keysyms{"Thai_leksam"} = 0xdf3;
1466 $Keysyms{"Thai_leksi"} = 0xdf4;
1467 $Keysyms{"Thai_lekha"} = 0xdf5;
1468 $Keysyms{"Thai_lekhok"} = 0xdf6;
1469 $Keysyms{"Thai_lekchet"} = 0xdf7;
1470 $Keysyms{"Thai_lekpaet"} = 0xdf8;
1471 $Keysyms{"Thai_lekkao"} = 0xdf9;
1472 }
1473 #endif # XK_THAI
1474  
1475 #
1476 # * Korean
1477 # * Byte 3 = e
1478
1479  
1480 #ifdef XK_KOREAN
1481 if ($KL{'KOREAN'}) {
1482 $Keysyms{"Hangul"} = 0xff31; # Hangul start/stop(toggle)
1483 $Keysyms{"Hangul_Start"} = 0xff32; # Hangul start
1484 $Keysyms{"Hangul_End"} = 0xff33; # Hangul end, English start
1485 $Keysyms{"Hangul_Hanja"} = 0xff34; # Start Hangul->Hanja Conversion
1486 $Keysyms{"Hangul_Jamo"} = 0xff35; # Hangul Jamo mode
1487 $Keysyms{"Hangul_Romaja"} = 0xff36; # Hangul Romaja mode
1488 $Keysyms{"Hangul_Codeinput"} = 0xff37; # Hangul code input mode
1489 $Keysyms{"Hangul_Jeonja"} = 0xff38; # Jeonja mode
1490 $Keysyms{"Hangul_Banja"} = 0xff39; # Banja mode
1491 $Keysyms{"Hangul_PreHanja"} = 0xff3a; # Pre Hanja conversion
1492 $Keysyms{"Hangul_PostHanja"} = 0xff3b; # Post Hanja conversion
1493 $Keysyms{"Hangul_SingleCandidate"} = 0xff3c; # Single candidate
1494 $Keysyms{"Hangul_MultipleCandidate"} = 0xff3d; # Multiple candidate
1495 $Keysyms{"Hangul_PreviousCandidate"} = 0xff3e; # Previous candidate
1496 $Keysyms{"Hangul_Special"} = 0xff3f; # Special symbols
1497 $Keysyms{"Hangul_switch"} = 0xFF7E; # Alias for mode_switch
1498  
1499 # Hangul Consonant Characters
1500 $Keysyms{"Hangul_Kiyeog"} = 0xea1;
1501 $Keysyms{"Hangul_SsangKiyeog"} = 0xea2;
1502 $Keysyms{"Hangul_KiyeogSios"} = 0xea3;
1503 $Keysyms{"Hangul_Nieun"} = 0xea4;
1504 $Keysyms{"Hangul_NieunJieuj"} = 0xea5;
1505 $Keysyms{"Hangul_NieunHieuh"} = 0xea6;
1506 $Keysyms{"Hangul_Dikeud"} = 0xea7;
1507 $Keysyms{"Hangul_SsangDikeud"} = 0xea8;
1508 $Keysyms{"Hangul_Rieul"} = 0xea9;
1509 $Keysyms{"Hangul_RieulKiyeog"} = 0xeaa;
1510 $Keysyms{"Hangul_RieulMieum"} = 0xeab;
1511 $Keysyms{"Hangul_RieulPieub"} = 0xeac;
1512 $Keysyms{"Hangul_RieulSios"} = 0xead;
1513 $Keysyms{"Hangul_RieulTieut"} = 0xeae;
1514 $Keysyms{"Hangul_RieulPhieuf"} = 0xeaf;
1515 $Keysyms{"Hangul_RieulHieuh"} = 0xeb0;
1516 $Keysyms{"Hangul_Mieum"} = 0xeb1;
1517 $Keysyms{"Hangul_Pieub"} = 0xeb2;
1518 $Keysyms{"Hangul_SsangPieub"} = 0xeb3;
1519 $Keysyms{"Hangul_PieubSios"} = 0xeb4;
1520 $Keysyms{"Hangul_Sios"} = 0xeb5;
1521 $Keysyms{"Hangul_SsangSios"} = 0xeb6;
1522 $Keysyms{"Hangul_Ieung"} = 0xeb7;
1523 $Keysyms{"Hangul_Jieuj"} = 0xeb8;
1524 $Keysyms{"Hangul_SsangJieuj"} = 0xeb9;
1525 $Keysyms{"Hangul_Cieuc"} = 0xeba;
1526 $Keysyms{"Hangul_Khieuq"} = 0xebb;
1527 $Keysyms{"Hangul_Tieut"} = 0xebc;
1528 $Keysyms{"Hangul_Phieuf"} = 0xebd;
1529 $Keysyms{"Hangul_Hieuh"} = 0xebe;
1530  
1531 # Hangul Vowel Characters
1532 $Keysyms{"Hangul_A"} = 0xebf;
1533 $Keysyms{"Hangul_AE"} = 0xec0;
1534 $Keysyms{"Hangul_YA"} = 0xec1;
1535 $Keysyms{"Hangul_YAE"} = 0xec2;
1536 $Keysyms{"Hangul_EO"} = 0xec3;
1537 $Keysyms{"Hangul_E"} = 0xec4;
1538 $Keysyms{"Hangul_YEO"} = 0xec5;
1539 $Keysyms{"Hangul_YE"} = 0xec6;
1540 $Keysyms{"Hangul_O"} = 0xec7;
1541 $Keysyms{"Hangul_WA"} = 0xec8;
1542 $Keysyms{"Hangul_WAE"} = 0xec9;
1543 $Keysyms{"Hangul_OE"} = 0xeca;
1544 $Keysyms{"Hangul_YO"} = 0xecb;
1545 $Keysyms{"Hangul_U"} = 0xecc;
1546 $Keysyms{"Hangul_WEO"} = 0xecd;
1547 $Keysyms{"Hangul_WE"} = 0xece;
1548 $Keysyms{"Hangul_WI"} = 0xecf;
1549 $Keysyms{"Hangul_YU"} = 0xed0;
1550 $Keysyms{"Hangul_EU"} = 0xed1;
1551 $Keysyms{"Hangul_YI"} = 0xed2;
1552 $Keysyms{"Hangul_I"} = 0xed3;
1553  
1554 # Hangul syllable-final (JongSeong) Characters
1555 $Keysyms{"Hangul_J_Kiyeog"} = 0xed4;
1556 $Keysyms{"Hangul_J_SsangKiyeog"} = 0xed5;
1557 $Keysyms{"Hangul_J_KiyeogSios"} = 0xed6;
1558 $Keysyms{"Hangul_J_Nieun"} = 0xed7;
1559 $Keysyms{"Hangul_J_NieunJieuj"} = 0xed8;
1560 $Keysyms{"Hangul_J_NieunHieuh"} = 0xed9;
1561 $Keysyms{"Hangul_J_Dikeud"} = 0xeda;
1562 $Keysyms{"Hangul_J_Rieul"} = 0xedb;
1563 $Keysyms{"Hangul_J_RieulKiyeog"} = 0xedc;
1564 $Keysyms{"Hangul_J_RieulMieum"} = 0xedd;
1565 $Keysyms{"Hangul_J_RieulPieub"} = 0xede;
1566 $Keysyms{"Hangul_J_RieulSios"} = 0xedf;
1567 $Keysyms{"Hangul_J_RieulTieut"} = 0xee0;
1568 $Keysyms{"Hangul_J_RieulPhieuf"} = 0xee1;
1569 $Keysyms{"Hangul_J_RieulHieuh"} = 0xee2;
1570 $Keysyms{"Hangul_J_Mieum"} = 0xee3;
1571 $Keysyms{"Hangul_J_Pieub"} = 0xee4;
1572 $Keysyms{"Hangul_J_PieubSios"} = 0xee5;
1573 $Keysyms{"Hangul_J_Sios"} = 0xee6;
1574 $Keysyms{"Hangul_J_SsangSios"} = 0xee7;
1575 $Keysyms{"Hangul_J_Ieung"} = 0xee8;
1576 $Keysyms{"Hangul_J_Jieuj"} = 0xee9;
1577 $Keysyms{"Hangul_J_Cieuc"} = 0xeea;
1578 $Keysyms{"Hangul_J_Khieuq"} = 0xeeb;
1579 $Keysyms{"Hangul_J_Tieut"} = 0xeec;
1580 $Keysyms{"Hangul_J_Phieuf"} = 0xeed;
1581 $Keysyms{"Hangul_J_Hieuh"} = 0xeee;
1582  
1583 # Ancient Hangul Consonant Characters
1584 $Keysyms{"Hangul_RieulYeorinHieuh"} = 0xeef;
1585 $Keysyms{"Hangul_SunkyeongeumMieum"} = 0xef0;
1586 $Keysyms{"Hangul_SunkyeongeumPieub"} = 0xef1;
1587 $Keysyms{"Hangul_PanSios"} = 0xef2;
1588 $Keysyms{"Hangul_KkogjiDalrinIeung"} = 0xef3;
1589 $Keysyms{"Hangul_SunkyeongeumPhieuf"} = 0xef4;
1590 $Keysyms{"Hangul_YeorinHieuh"} = 0xef5;
1591  
1592 # Ancient Hangul Vowel Characters
1593 $Keysyms{"Hangul_AraeA"} = 0xef6;
1594 $Keysyms{"Hangul_AraeAE"} = 0xef7;
1595  
1596 # Ancient Hangul syllable-final (JongSeong) Characters
1597 $Keysyms{"Hangul_J_PanSios"} = 0xef8;
1598 $Keysyms{"Hangul_J_KkogjiDalrinIeung"} = 0xef9;
1599 $Keysyms{"Hangul_J_YeorinHieuh"} = 0xefa;
1600  
1601 # Korean currency symbol
1602 $Keysyms{"Korean_Won"} = 0xeff;
1603 }
1604 #endif # XK_KOREAN
1605  
1606 }
1607  
1608 1;
1609  
1610 __END__