2 // $Xorg: keypad,v 1.3 2000/08/17 19:54:43 cpqbld Exp $
4 partial hidden keypad_keys
5 xkb_symbols "overlay" {
6 include "keypad(overlay1)"
9 partial hidden keypad_keys
10 xkb_symbols "overlay1" {
12 // Begin "Keypad" section
14 key <KP7> { [ KP_Home ], overlay1=<KO7> };
15 key <KP8> { [ KP_Up ], overlay1=<KO8> };
16 key <KP9> { [ KP_Prior ], overlay1=<KO9> };
18 key <KP4> { [ KP_Left ], overlay1=<KO4> };
19 key <KP5> { [ KP_Begin ], overlay1=<KO5> };
20 key <KP6> { [ KP_Right ], overlay1=<KO6> };
22 key <KP1> { [ KP_End ], overlay1=<KO1> };
23 key <KP2> { [ KP_Down ], overlay1=<KO2> };
24 key <KP3> { [ KP_Next ], overlay1=<KO3> };
26 key <KP0> { [ KP_Insert ], overlay1=<KO0> };
27 key <KPDL> { [ KP_Delete ], overlay1=<KODL> };
29 key <KO7> { [ KP_7 ] };
30 key <KO8> { [ KP_8 ] };
31 key <KO9> { [ KP_9 ] };
33 key <KO4> { [ KP_4 ] };
34 key <KO5> { [ KP_5 ] };
35 key <KO6> { [ KP_6 ] };
37 key <KO1> { [ KP_1 ] };
38 key <KO2> { [ KP_2 ] };
39 key <KO3> { [ KP_3 ] };
41 key <KO0> { [ KP_0 ] };
42 key <KODL> { [ KP_Decimal ] };
44 // End "Keypad" section
47 partial hidden keypad_keys
48 xkb_symbols "overlay2" {
50 // Begin "Keypad" section
52 key <KP7> { [ KP_Home ], overlay2=<KO7> };
53 key <KP8> { [ KP_Up ], overlay2=<KO8> };
54 key <KP9> { [ KP_Prior ], overlay2=<KO9> };
56 key <KP4> { [ KP_Left ], overlay2=<KO4> };
57 key <KP5> { [ KP_Begin ], overlay2=<KO5> };
58 key <KP6> { [ KP_Right ], overlay2=<KO6> };
60 key <KP1> { [ KP_End ], overlay2=<KO1> };
61 key <KP2> { [ KP_Down ], overlay2=<KO2> };
62 key <KP3> { [ KP_Next ], overlay2=<KO3> };
64 key <KP0> { [ KP_Insert ], overlay2=<KO0> };
65 key <KPDL> { [ KP_Delete ], overlay2=<KODL> };
67 key <KO7> { [ KP_7 ] };
68 key <KO8> { [ KP_8 ] };
69 key <KO9> { [ KP_9 ] };
71 key <KO4> { [ KP_4 ] };
72 key <KO5> { [ KP_5 ] };
73 key <KO6> { [ KP_6 ] };
75 key <KO1> { [ KP_1 ] };
76 key <KO2> { [ KP_2 ] };
77 key <KO3> { [ KP_3 ] };
79 key <KO0> { [ KP_0 ] };
80 key <KODL> { [ KP_Decimal ] };
82 // End "Keypad" section
85 partial hidden default keypad_keys
87 // Ungrab cancels server/keyboard/pointer grabs
90 symbols[Group1]= [ KP_Divide, XF86_Ungrab ]
93 // ClsGrb kills whichever client has a grab in effect
96 symbols[Group1]= [ KP_Multiply, XF86_ClearGrab ]
99 // -VMode switches to the previous video mode
102 symbols[Group1]= [ KP_Subtract, XF86_Prev_VMode ]
105 key <KP7> { [ KP_Home, KP_7 ] };
106 key <KP8> { [ KP_Up, KP_8 ] };
107 key <KP9> { [ KP_Prior, KP_9 ] };
109 // +VMode switches to the next video mode
112 symbols[Group1]= [ KP_Add, XF86_Next_VMode ]
115 key <KP4> { [ KP_Left, KP_4 ] };
116 key <KP5> { [ KP_Begin, KP_5 ] };
117 key <KP6> { [ KP_Right, KP_6 ] };
119 key <KP1> { [ KP_End, KP_1 ] };
120 key <KP2> { [ KP_Down, KP_2 ] };
121 key <KP3> { [ KP_Next, KP_3 ] };
122 key <KPEN> { [ KP_Enter ] };
123 key <KPEQ> { [ KP_Equal ] };
125 key <KP0> { [ KP_Insert, KP_0 ] };
126 key <KPDL> { [ KP_Delete, KP_Decimal ] };
130 // Legacy PC keypad definition
131 // Copyright © 2006-2007 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
133 xkb_symbols "legacy" {
135 include "keypad(core)"
136 include "keypad(legacymath)"
137 include "keypad(legacynumber)"
142 // Legacy Wang 725-3771-ae and 725-3771-uk keypad definition
143 // Copyright © 2006-2007 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
145 xkb_symbols "legacy_wang" {
147 include "keypad(core)"
148 include "keypad(legacymath)"
149 include "keypad(legacynumber_wang)"
154 // Complete new keypad definition
155 // Copyright © 2006-2007 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
159 include "keypad(core)"
160 include "keypad(ossmath)"
161 include "keypad(ossnumber)"
162 include "kpdl(dotoss)"
166 // Latin9 restriction of new keypad definition
167 // Copyright © 2006-2007 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
169 xkb_symbols "oss_latin9" {
171 include "keypad(core)"
172 include "keypad(ossmath_latin9)"
173 include "keypad(legacynumber)"
174 include "kpdl(dotoss_latin9)"
178 // Wang 725-3771-ae and 725-3771-uk keypad variant of oss keypad
179 // Copyright © 2006-2007 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
181 xkb_symbols "oss_wang" {
183 include "keypad(core)"
184 include "keypad(ossmath)"
185 include "keypad(ossnumber_wang)"
186 include "kpdl(dotoss)"
190 // Forward-looking keypad definition
191 // Won't work with applications that make ASCII assumptions
192 // Copyright © 2007 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
194 xkb_symbols "future" {
196 include "keypad(core)"
197 include "keypad(futuremath)"
198 include "keypad(ossnumber)"
199 include "kpdl(commaoss)"
203 // Forward-looking keypad definition
204 // Won't work with applications that make ASCII assumptions
205 // Copyright © 2007 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
207 xkb_symbols "future_wang" {
209 include "keypad(core)"
210 include "keypad(futuremath)"
211 include "keypad(ossnumber_wang)"
212 include "kpdl(commaoss)"
216 // Keypad keys nobody changes
217 // Copyright © 2006 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
221 modifier_map Mod2 { Num_Lock };
223 key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] };
224 key <KPEN> { [ KP_Enter ] };
225 key <KPEQ> { [ KP_Equal ] };
229 // Legacy keypad math area
230 // Copyright © 2006 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
232 // ┏━━━━━┱─────┬─────┬─────┐
233 // ┃Num ┃ ₁ │ ₂ │ ₃ │ ₁ <XF86_Ungrab>
234 // ┃Lock⇭┃ / │ * │ - │ ₂ <XF86_ClearGrab>
235 // ┡━━━━━╃─────┼─────┼─────┤ ₃ <XF86_Prev_VMode>
236 // │ ₄ │ ₄ <XF86_Next_VMode>
243 xkb_symbols "legacymath" {
245 key.type[Group1]="CTRL+ALT" ;
247 key <KPDV> { [ KP_Divide, XF86_Ungrab ] }; // / <XF86_Ungrab>
248 key <KPMU> { [ KP_Multiply, XF86_ClearGrab ] }; // * <XF86_ClearGrab>
249 key <KPSU> { [ KP_Subtract, XF86_Prev_VMode ] }; // - <XF86_Prev_VMode>
251 key <KPAD> { [ KP_Add, XF86_Next_VMode ] }; // + <XF86_Next_VMode>
256 // Keypad math area with non-CS operators
257 // Copyright © 2006 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
259 // ┏━━━━━┱─────┬─────┬─────┐
260 // ┃Num ┃ ∕ ₁ │ . ₂ │ − ₃ │ ₁ <XF86_Ungrab>
261 // ┃Lock⇭┃ / ÷ │ * × │ - − │ ₂ <XF86_ClearGrab>
262 // ┡━━━━━╃─────┼─────┼─────┤ ₃ <XF86_Prev_VMode>
263 // │ + ₄ │ ₄ <XF86_Next_VMode>
267 // │ + + │ 3 Shift+Level3 ⇧⇮
268 // ╆━━━━━┪ 4 Ctrl+Alt
270 xkb_symbols "ossmath" {
272 key.type[Group1]="FOUR_LEVEL_X" ;
274 key <KPDV> { [ KP_Divide, 0x1002215, 0x10000F7, XF86_Ungrab ] }; // / ∕ ÷ <XF86_Ungrab>
275 key <KPMU> { [ KP_Multiply, 0x10022C5, 0x10000D7, XF86_ClearGrab ] }; // * ⋅ × <XF86_ClearGrab>
276 key <KPSU> { [ KP_Subtract, 0x1002212, 0x1002212, XF86_Prev_VMode ] }; // - − − <XF86_Prev_VMode>
278 key <KPAD> { [ KP_Add, 0x100002B, 0x100002B, XF86_Next_VMode ] }; // + + + <XF86_Next_VMode>
283 // Keypad math area with non-CS operators in first levels
284 // As demanded by users not interested in legacy pre-unicode junk
285 // Copyright © 2007 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
287 // ┏━━━━━┱─────┬─────┬─────┐
288 // ┃Num ┃ / ₁ │ * ₂ │ - ₃ │ ₁ <XF86_Ungrab>
289 // ┃Lock⇭┃ ∕ ÷ │ . × │ − − │ ₂ <XF86_ClearGrab>
290 // ┡━━━━━╃─────┼─────┼─────┤ ₃ <XF86_Prev_VMode>
291 // │ + ₄ │ ₄ <XF86_Next_VMode>
295 // │ + + │ 3 Shift+Level3 ⇧⇮
296 // ╆━━━━━┪ 4 Ctrl+Alt
298 xkb_symbols "futuremath" {
300 key.type[Group1]="FOUR_LEVEL_X" ;
302 key <KPDV> { [ 0x1002215, KP_Divide, 0x10000F7, XF86_Ungrab ] }; // ∕ / ÷ <XF86_Ungrab>
303 key <KPMU> { [ 0x10022C5, KP_Multiply, 0x10000D7, XF86_ClearGrab ] }; // ⋅ * × <XF86_ClearGrab>
304 key <KPSU> { [ 0x1002212, KP_Subtract, 0x1002212, XF86_Prev_VMode ] }; // − - − <XF86_Prev_VMode>
306 key <KPAD> { [ 0x100002B, KP_Add, 0x100002B, XF86_Next_VMode ] }; // + + + <XF86_Next_VMode>
310 // Keypad math area with non-CS operators, restricted to latin9
311 // Copyright © 2006 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
313 // ┏━━━━━┱─────┬─────┬─────┐
314 // ┃Num ┃ / ₁ │ · ₂ │ - ₃ │ ₁ <XF86_Ungrab>
315 // ┃Lock⇭┃ / ÷ │ * × │ - - │ ₂ <XF86_ClearGrab>
316 // ┡━━━━━╃─────┼─────┼─────┤ ₃ <XF86_Prev_VMode>
317 // │ + ₄ │ ₄ <XF86_Next_VMode>
321 // │ + + │ 3 Shift+Level3 ⇧⇮
322 // ╆━━━━━┪ 4 Ctrl+Alt
324 xkb_symbols "ossmath_latin9" {
326 key.type[Group1]="FOUR_LEVEL_X";
328 key <KPDV> { [ KP_Divide, slash, division, XF86_Ungrab ] }; // / / ÷ <XF86_Ungrab>
329 key <KPMU> { [ KP_Multiply, periodcentered, multiply, XF86_ClearGrab ] }; // * · × <XF86_ClearGrab>
330 key <KPSU> { [ KP_Subtract, minus, minus, XF86_Prev_VMode ] }; // - - - <XF86_Prev_VMode>
332 key <KPAD> { [ KP_Add, plus, plus, XF86_Next_VMode ] }; // + + + <XF86_Next_VMode>
336 // Legacy keypad number area
337 // Copyright © 2006 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
342 // ┡━━━━━╃─────┼─────┼ ⇟ Page down
343 // │ 7 │ 8 │ 9 │ ⇞ Page up
344 // │ ⇱ │ ⇧ │ ⇞ │ ⎀ Insert
345 // ├─────┼─────┼─────┤ ␥ Delete
346 // │ 4 │ 5 │ 6 │ ⇦⇧⇨⇩ Directions
348 // ├─────┼─────┼─────╆
350 // │ ⇲ │ ⇩ │ ⇟ ┃ 1 None
351 // ├─────┴─────┼─────┨ 2 Num Lock ⇭
356 xkb_symbols "legacynumber" {
358 key.type[Group1]="KEYPAD" ;
360 key <KP7> { [ KP_Home, KP_7 ] }; // <home> 7
361 key <KP8> { [ KP_Up, KP_8 ] }; // <up> 8
362 key <KP9> { [ KP_Prior, KP_9 ] }; // <prior> 9
364 key <KP4> { [ KP_Left, KP_4 ] }; // <left> 4
365 key <KP5> { [ KP_Begin, KP_5 ] }; // <begin> 5
366 key <KP6> { [ KP_Right, KP_6 ] }; // <right> 6
368 key <KP1> { [ KP_End, KP_1 ] }; // <end> 1
369 key <KP2> { [ KP_Down, KP_2 ] }; // <down> 2
370 key <KP3> { [ KP_Next, KP_3 ] }; // <next> 3
372 key <KP0> { [ KP_Insert, KP_0 ] }; // <insert> 0
376 // Legacy Wang 725-3771-ae and 725-3771-uk keypad number area
377 // Copyright © 2007 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
378 // This is actually a three-level keypad, declared as four-level
379 // to avoid defining a new type
384 // ┡━━━━━╃─────┼─────┼ ⇟ Page down
385 // │ 7 │ 8 │ 9 │ ⇞ Page up
386 // │ ⇱ < │ ⇧ > │ ⇞ ^ │ ⎀ Insert
387 // ├─────┼─────┼─────┤ ␥ Delete
388 // │ 4 │ 5 │ 6 │ ⇦⇧⇨⇩ Directions
390 // ├─────┼─────┼─────╆
392 // │ ⇲ & │ ⇩ @ │ ⇟ # ┃ 1 None
393 // ├─────┴─────┼─────┨ 2 Num Lock ⇭
398 xkb_symbols "legacynumber_wang" {
400 key.type[Group1]="FOUR_LEVEL_MIXED_KEYPAD" ;
402 key <KP7> { [ KP_Home, KP_7, less ] }; // <home> 7 <
403 key <KP8> { [ KP_Up, KP_8, greater ] }; // <up> 8 >
404 key <KP9> { [ KP_Prior, KP_9, asciicircum ] }; // <prior> 9 ^
406 key <KP4> { [ KP_Left, KP_4, bracketleft ] }; // <left> 4 [
407 key <KP5> { [ KP_Begin, KP_5, bracketright ] }; // <begin> 5 ]
408 key <KP6> { [ KP_Right, KP_6, dollar ] }; // <right> 6 $
410 key <KP1> { [ KP_End, KP_1, ampersand ] }; // <end> 1 &
411 key <KP2> { [ KP_Down, KP_2, at ] }; // <down> 2 @
412 key <KP3> { [ KP_Next, KP_3, numbersign ] }; // <next> 3 #
414 key <KP0> { [ KP_Insert, KP_0, apostrophe ] }; // <insert> 0 '
418 // Keypad number area with arrow symbols
419 // Copyright © 2006 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
424 // ┡━━━━━╃─────┼─────┼ ⇟ Page down
425 // │ 7 ⇖ │ 8 ⇑ │ 9 ⇗ │ ⇞ Page up
426 // │ ⇱ ↖ │ ⇧ ↑ │ ⇞ ↗ │ ⎀ Insert
427 // ├─────┼─────┼─────┤ ␥ Delete
428 // │ 4 ⇐ │ 5 ⇔ │ 6 ⇗ │ ⇦⇧⇨⇩ Directions
429 // │ ⇦ ← │ ↔ │ ⇨ ↗ │ ⍽ narrow no-break space
430 // ├─────┼─────┼─────╆
431 // │ 1 ⇙ │ 2 ⇓ │ 3 ⇘ ┃
432 // │ ⇲ ↙ │ ⇩ ↓ │ ⇟ ↘ ┃ 1 None
433 // ├─────┴─────┼─────┨ 2 Num Lock ⇭
434 // │ 0 ⇕ │ 3 Level3 ⇮
435 // │ ⎀ ↕ │ 4 Shift+Level3 ⇧⇮
438 xkb_symbols "ossnumber" {
440 key.type[Group1]="FOUR_LEVEL_MIXED_KEYPAD" ;
442 key <KP7> { [ KP_Home, KP_7, 0x1002196, 0x10021D6 ] }; // <home> 7 ↖ ⇖
443 key <KP8> { [ KP_Up, KP_8, 0x1002191, 0x10021D1 ] }; // <up> 8 ↑ ⇑
444 key <KP9> { [ KP_Prior, KP_9, 0x1002197, 0x10021D7 ] }; // <prior> 9 ↗ ⇗
446 key <KP4> { [ KP_Left, KP_4, 0x1002190, 0x10021D0 ] }; // <left> 4 ← ⇐
447 key <KP5> { [ KP_Begin, KP_5, 0x1002194, 0x10021D4 ] }; // <begin> 5 ↔ ⇔
448 key <KP6> { [ KP_Right, KP_6, 0x1002192, 0x10021D2 ] }; // <right> 6 → ⇒
450 key <KP1> { [ KP_End, KP_1, 0x1002199, 0x10021D9 ] }; // <end> 1 ↙ ⇙
451 key <KP2> { [ KP_Down, KP_2, 0x1002193, 0x10021D3 ] }; // <down> 2 ↓ ⇓
452 key <KP3> { [ KP_Next, KP_3, 0x1002198, 0x10021D8 ] }; // <next> 3 ↘ ⇘
454 key <KP0> { [ KP_Insert, KP_0, 0x1002195, 0x10021D5 ] }; // <insert> 0 ↕ ⇕
458 // Wang 725-3771-ae and 725-3771-uk keypad number area with additional arrow symbols
459 // Copyright © 2007 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
464 // ┡━━━━━╃─────┼─────┼ ⇟ Page down
465 // │ 7 ↖ │ 8 ↑ │ 9 ↗ │ ⇞ Page up
466 // │ ⇱ < │ ⇧ > │ ⇞ ^ │ ⎀ Insert
467 // ├─────┼─────┼─────┤ ␥ Delete
468 // │ 4 ← │ 5 ↔ │ 6 → │ ⇦⇧⇨⇩ Directions
469 // │ ⇦ [ │ ] │ ⇨ $ │ ⍽ narrow no-break space
470 // ├─────┼─────┼─────╆
471 // │ 1 ↙ │ 2 ↓ │ 3 ↘ ┃
472 // │ ⇲ & │ ⇩ @ │ ⇟ # ┃ 1 None
473 // ├─────┴─────┼─────┨ 2 Num Lock ⇭
474 // │ 0 ↕ │ 3 Level3 ⇮
475 // │ ⎀ ' │ 4 Shift+Level3 ⇧⇮
478 xkb_symbols "ossnumber_wang" {
480 key.type[Group1]="FOUR_LEVEL_MIXED_KEYPAD" ;
482 key <KP7> { [ KP_Home, KP_7, less, 0x1002196 ] }; // <home> 7 < ↖
483 key <KP8> { [ KP_Up, KP_8, greater, 0x1002191 ] }; // <up> 8 > ↑
484 key <KP9> { [ KP_Prior, KP_9, asciicircum, 0x1002197 ] }; // <prior> 9 ^ ↗
486 key <KP4> { [ KP_Left, KP_4, bracketleft, 0x1002190 ] }; // <left> 4 [ ←
487 key <KP5> { [ KP_Begin, KP_5, bracketright, 0x1002194 ] }; // <begin> 5 ] ↔
488 key <KP6> { [ KP_Right, KP_6, dollar, 0x1002192 ] }; // <right> 6 $ →
490 key <KP1> { [ KP_End, KP_1, ampersand, 0x1002199 ] }; // <end> 1 & ↙
491 key <KP2> { [ KP_Down, KP_2, at, 0x1002193 ] }; // <down> 2 @ ↓
492 key <KP3> { [ KP_Next, KP_3, numbersign, 0x1002198 ] }; // <next> 3 # ↘
494 key <KP0> { [ KP_Insert, KP_0, apostrophe, 0x1002195 ] }; // <insert> 0 ' ↕
497 // Standard base "pc" layout only contains cursor keys, and then gets
498 // augmented with the digits later. If you define your own layout for
499 // the numpad you can inherit the cursors, but you'll have to define
500 // the digits yourself. This module can be included in the rules to
501 // define math operators; these are the variants used in computer
502 // languages that are based on ASCII. NoSymbol doesn't mean that
503 // nothing is bound to the key but that no assignment is done here.
504 // srvr_ctrl(stdkeypad) and keypad(x11) declare the operator keys to
505 // be of type CTRL+ALT in order to assign server control events to
506 // them, but it uses the second level which is overwritten if we have
507 // more than one definition (shift state) for the key. Instead, here
508 // the commands are put at the fourth level.
511 key <KPDV> { [ NoSymbol, slash, NoSymbol, XF86_Ungrab ] };
512 key <KPMU> { [ NoSymbol, asterisk, NoSymbol, XF86_ClearGrab ] };
513 key <KPSU> { [ NoSymbol, minus, NoSymbol, XF86_Prev_VMode ] };
514 key <KPAD> { [ NoSymbol, plus, NoSymbol, XF86_Next_VMode ] };
515 key <KPEQ> { [ NoSymbol, equal ] };
518 // Hexadecimal Numpad, by Roland Kaufmann <rlndkfmn at gmail dot com>
519 // License: BSD (also covers variant with ATM digit order)
520 // Third-level gives the letters used in hexadecimal numbers, or
521 // columns in small spreadsheets. As a bonus, having 'e' available at
522 // the center of the keyboard makes it easy to enter floating point
523 // numbers in scientific notation.
524 // Equal is added to start formulas (most numpads on PCs don't have
525 // their own equal key), comma as a list separator (as most
526 // programming languages wants period as a decimal separator) and
527 // colon to enter times and ranges. Someone also may want to represent
528 // multiplication and division in prose using x and colon.
529 // Two first levels are specified as NoSymbol to not override any
530 // previous specification. Combine this with another keypad specifier,
534 key.type[Group1]="FOUR_LEVEL_MIXED_KEYPAD" ;
536 // None NumLock AltGr
538 key <KPDV> { [ NoSymbol, NoSymbol, parenleft ] };
539 key <KPMU> { [ NoSymbol, NoSymbol, parenright ] };
540 key <KPSU> { [ NoSymbol, NoSymbol, dollar ] };
543 key <KP7> { [ NoSymbol, NoSymbol, a ] };
544 key <KP8> { [ NoSymbol, NoSymbol, b ] };
545 key <KP9> { [ NoSymbol, NoSymbol, c ] };
548 key <KP4> { [ NoSymbol, NoSymbol, d ] };
549 key <KP5> { [ NoSymbol, NoSymbol, e ] };
550 key <KP6> { [ NoSymbol, NoSymbol, f ] };
551 key <KPAD> { [ NoSymbol, NoSymbol, comma ] };
554 key <KP1> { [ NoSymbol, NoSymbol, equal ] };
555 key <KP2> { [ NoSymbol, NoSymbol, x ] };
556 key <KP3> { [ NoSymbol, NoSymbol, colon ] };
559 key <KP0> { [ NoSymbol, NoSymbol, backslash ] };
562 // Main numbers follows the traditions from ATMs and phones with
563 // numbers increasing downwards to the right. (It is easier to
564 // change the keyboard layout than to reprogram your local ATM;
565 // also cell-phones are becoming more common while calculators are
566 // becoming more rare).
567 // First level is left unspecified, so it may be combined with another
568 // layout, e.g. "legacy".
572 key <KP7> { [ NoSymbol, KP_1 ] };
573 key <KP8> { [ NoSymbol, KP_2 ] };
574 key <KP9> { [ NoSymbol, KP_3 ] };
577 key <KP1> { [ NoSymbol, KP_7 ] };
578 key <KP2> { [ NoSymbol, KP_8 ] };
579 key <KP3> { [ NoSymbol, KP_9 ] };