2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
5 Desc: French PC105 Keymap
11 DEFINE_KEYMAP("pc105_f")
31 #define EUR 0xA4 /* ISO 8859-15: Euro = 164 = 0xA4) */
33 STATIC CONST UBYTE lokeymaptypes
[] =
35 S
|A
, /* 00 left of 1 */
46 S
|A
, /* 0B Right of 0 */
47 S
|A
, /* 0C 2nd right of 0 */
48 N
, /* 0D 3rd right of 0 */
63 D
|S
|A
, /* 1A dead key ^" */
106 STATIC CONST UBYTE hikeymaptypes
[] =
109 N
, /* 41 BACKSPACE */
115 ST
|S
, /* 47 INSERT ?? */
116 ST
|S
, /* 48 PAGE UP ?? */
117 ST
|S
, /* 49 PAGE DOWN ?? */
118 N
, /* 4A NUMERIC PAD - */
119 ST
|S
, /* 4B F11 ?? */
120 ST
|S
, /* 4C CURSORUP*/
121 ST
|S
, /* 4D CURSORDOWN */
122 ST
|S
, /* 4E CURSORRIGHT */
123 ST
|S
, /* 4F CURSORLEFT */
134 NOP
, /* 5A NUMLOCK */
140 NOP
, /* 60 LEFT SHIFT*/
141 NOP
, /* 61 RIGHT SHIFT */
142 NOP
, /* 62 CAPS LOCK */
143 NOP
, /* 63 CONTROL */
146 NOP
, /* 66 LCOMMAND */
147 NOP
, /* 67 RCOMMAND */
148 NOP
, /* 68 LEFT MOUSE BUTTON*/
149 NOP
, /* 69 RIGHT MOUSE BUTTON */
150 NOP
, /* 6A MIDDLE MOUSE BUTTON */
154 ST
|A
, /* 6E PAUSE/BREAK ??*/
155 ST
|S
, /* 6F F12 ?? */
156 ST
|C
, /* 70 HOME ?? */
157 ST
|C
, /* 71 END ?? */
187 #define STRING(x) (IPTR)x
188 #define DEAD(x) (IPTR)x
189 #define BYTES(b0, b1, b2, b3) \
190 (((UBYTE)b0)<<24) | (((UBYTE)b1)<<16) | (((UBYTE)b2)<<8) | (((UBYTE)b3)<<0)
203 STATIC CONST UBYTE KEY08_descr
[] =
218 '8', /* CTRL + SHIFT */
220 0, /* CTRL + ALT + SHIFT */
223 STATIC CONST UBYTE a_descr
[] =
234 'a', 'á' /*0xE1*/, 'à' /*0xE0*/, 'â' /*0xE2*/, 'ã' /*0xE3*/, 'ä' /*0xE4*/, 'å' /*0xE5*/,
236 'A', 'Á' /*0xC1*/, 'À' /*0xC0*/, 'Â' /*0xC2*/, 'Ã' /*0xC3*/, 'Ä' /*0xC4*/, 'Å' /*0xC5*/
239 STATIC CONST UBYTE e_descr
[] =
250 'e', 'é' /*0xE9*/, 'è' /*0xE8*/, 'ê' /*0xEA*/, 'e', 'ë' /*0xEB*/, 'e',
252 'E', 'É' /*0xC9*/, 'È' /*0xC8*/, 'Ê' /*0xCA*/, 'E', 'Ë' /*0xCB*/, 'E'
255 STATIC CONST UBYTE u_descr
[] =
266 'u', 'ú' /*0xFA*/, 'ù' /*0xF9*/, 'û' /*0xFB*/, 'u', 'ü' /*0xFC*/, 'u',
268 'U', 'Ú' /*0xDA*/, 'Ù' /*0xD9*/, 'Û' /*0xDB*/, 'U', 'Ü' /*0xDC*/, 'U'
271 STATIC CONST UBYTE i_descr
[] =
282 'i', 'í' /*0xED*/, 'ì' /*0xEC*/, 'î' /*0xEE*/, 'i', 'ï' /*0xEF*/, 'i',
284 'I', 'Í' /*0xCD*/, 'Ì' /*0xCC*/, 'Î' /*0xCE*/, 'I', 'Ï' /*0xCF*/, 'I'
287 STATIC CONST UBYTE o_descr
[] =
298 'o', 'ó' /*0xF3*/, 'ò' /*0xF2*/, 'ô' /*0xF4*/, 'õ' /*0xF5*/, 'ö' /*0xF6*/, 'o',
300 'O', 'Ó' /*0xD3*/, 'Ò' /*0xD2*/, 'Ô' /*0xD4*/, 'Õ' /*0xD5*/, 'Ö' /*0xD6*/, 'O'
303 STATIC CONST UBYTE c_descr
[] =
314 'c', 'ç' /*0xE7*/, 'c', 'c', 'c', 'c', 'c',
316 'C', 'Ç' /*0xC7*/, 'C', 'C', 'C', 'C', 'C'
319 STATIC CONST UBYTE space_descr
[] =
324 ' ', '´' /*0xB4*/, '`','^','~', '¨' /*0xA8*/, '°' /*0xB0*/
327 STATIC CONST UBYTE KEY1A_descr
[] =
335 STATIC CONST UBYTE KEY37_descr
[] =
343 STATIC CONST UBYTE KEY2A_descr
[] =
351 STATIC CONST UBYTE KEY2B_descr
[] =
359 STATIC CONST IPTR lokeymap
[] =
361 BYTES('¬', '¬', '~', '²'), /* 00 Left of 1 Key */
362 BYTES('¡', '¹', '1', '&'), /* 01 1 */
363 BYTES('²', '~', '2', 'é'), /* 02 2 */
364 BYTES('£', '#', '3', '"'), /* 03 3 */
365 BYTES('$', '{', '4','\''), /* 04 4 */
366 BYTES('5', '[', '5', '('), /* 05 5 */
367 BYTES('6', '|', '6', '-'), /* 06 6 */
368 BYTES('7', '`', '7', 'è'), /* 07 7 */
369 STRING(KEY08_descr
), /* 08 8 */ /* old: BYTES('8','\\', '8', '_'), */
370 BYTES('±', '^', '9', 'ç'), /* 09 9 */
371 BYTES('°', '@', '0', 'à'), /* 0A 0 */
372 BYTES('¿', ']', '°', ')'), /* 0B Right of 0 */
373 BYTES('+', '}', '+', '='), /* 0C 2nd right of 0 */
374 BYTES('|', '|', '|', '|'), /* 0D 3rd right of 0 */
375 BYTES(0, 0, 0, 0), /* 0E undefined */
376 BYTES('0', '0', '0', '0'), /* 0F NUM 0 */
377 DEAD(a_descr
), /* 10 */ /* old: BYTES('Æ', 'æ', 'A', 'a'), */
378 BYTES('<', '«', 'Z', 'z'), /* 11 */
379 DEAD(e_descr
), /* 12 */ /* old: BYTES('¢', EUR, 'E', 'e'), */
380 BYTES('®', '¶', 'R', 'r'), /* 13 */
381 BYTES('T', 't', 'T', 't'), /* 14 */
382 BYTES('¥', 'y', 'Y', 'y'), /* 15 */
383 DEAD(u_descr
), /* 16 */ /* old: BYTES('U', 'u', 'U', 'u'), */
384 DEAD(i_descr
), /* 17 */ /* old: BYTES('I', 'i', 'I', 'i'), */
385 DEAD(o_descr
), /* 18 */ /* old: BYTES('Ø', 'ø', 'O', 'o'), */
386 BYTES('Þ', 'þ', 'P', 'p'), /* 19 */
388 DEAD(KEY1A_descr
), /* 1A */ /* old: BYTES('°', '°', '"', '^'), */
389 BYTES('£', '¤', '£', '$'), /* 1B */
390 BYTES(0, 0, 0, 0), /* 1C undefined */
391 BYTES('1', '1', '1', '1'), /* 1D NUM 1*/
392 BYTES('2', '2', '2', '2'), /* 1E NUM 2*/
393 BYTES('3', '3', '3', '3'), /* 1F NUM 3*/
395 BYTES('Q', '@', 'Q', 'q'), /* 20 */
396 BYTES('§', 'ß', 'S', 's'), /* 21 */
397 BYTES('Ð', 'ð', 'D', 'd'), /* 22 */
398 BYTES('ª', 'f', 'F', 'f'), /* 23 */
399 BYTES('G', 'g', 'G', 'g'), /* 24 */
400 BYTES('H', 'h', 'H', 'h'), /* 25 */
401 BYTES('J', 'j', 'J', 'j'), /* 26 */
402 BYTES('&', 'k', 'K', 'k'), /* 27 */
403 BYTES('L', 'l', 'L', 'l'), /* 28 */
404 BYTES('º', 'µ', 'M', 'm'), /* 29 */
406 DEAD(KEY2A_descr
), /* 2A */
407 DEAD(KEY2B_descr
), /* 2B */
408 BYTES(0, 0, 0, 0), /* 2C undefined */
409 BYTES('4', '4', '4', '4'), /* 2D NUM 4 */
410 BYTES('5', '5', '5', '5'), /* 2E NUM 5 */
411 BYTES('6', '6', '6', '6'), /* 2F NUM 6 */
412 BYTES('¦', '|', '>', '<'), /* 30 */
413 BYTES('W', 'w', 'W', 'w'), /* 31 */
414 BYTES('>', '»', 'X', 'x'), /* 32 */
415 DEAD(c_descr
), /* 33 */
416 BYTES('`', 'v', 'V', 'v'), /* 34 */
417 BYTES('\'','b', 'B', 'b'), /* 35 */
418 BYTES('N', 'n', 'N', 'n'), /* 36 */
420 DEAD(KEY37_descr
), /* 37 */
421 BYTES('×', ';', '.', ';'), /* 38 */
422 BYTES('÷', '·', '/', ':'), /* 39 */
423 BYTES('§', '!', '§', '!'), /* 3A */
424 BYTES(0, 0, 0, 0), /* 3B */
425 BYTES('.', '.', '.', '.'), /* 3C NUM . */
426 BYTES('7', '7', '7', '7'), /* 3D NUM 7 */
427 BYTES('8', '8', '8', '8'), /* 3E NUM 8 */
428 BYTES('9', '9', '9', '9'), /* 3F NUM 9 */
431 #include "standard.h"
433 STATIC CONST IPTR hikeymap
[] =
435 DEAD(space_descr
), /* 40 SPACE */
436 BYTES(8, 8, 8, 8), /* 41 BACKSPACE */
437 STRING(tab_descr
), /* 42 TAB */
438 BYTES(13, 13, 13, 13), /* 43 ENTER */
439 BYTES(0, 0, 10, 13), /* 44 RETURN */
440 BYTES(0, 0, 0x9B, 27), /* 45 ESCAPE */
441 BYTES(127, 127, 127, 127), /* 46 DEL */
442 STRING(insert_descr
), /* 47 INSERT ?? */
443 STRING(pageup_descr
), /* 48 PAGEUP ?? */
444 STRING(pagedown_descr
), /* 49 PAGEDOWN ?? */
445 BYTES('-', '-', '-', '-'), /* 4A NUMPAD - */
446 STRING(f11_descr
), /* 4B F11 ?? */
447 STRING(up_descr
), /* 4C CURSOR UP*/
448 STRING(down_descr
), /* 4D CURSOR DOWN*/
449 STRING(right_descr
), /* 4E CURSOR RIGHT */
450 STRING(left_descr
), /* 4F CURSOR LEFT */
451 STRING(f1_descr
), /* 50 F1 */
452 STRING(f2_descr
), /* 51 */
453 STRING(f3_descr
), /* 52 */
454 STRING(f4_descr
), /* 53 */
455 STRING(f5_descr
), /* 54 */
456 STRING(f6_descr
), /* 55 */
457 STRING(f7_descr
), /* 56 */
458 STRING(f8_descr
), /* 57 */
459 STRING(f9_descr
), /* 58 */
460 STRING(f10_descr
), /* 59 */
461 BYTES(0, 0, 0, 0), /* 5A */
462 BYTES('/', '/', '/', '/'), /* 5B */
463 BYTES('*', '*', '*', '*'), /* 5C */
464 BYTES('-', '-', '-', '-'), /* 5D */
465 BYTES('+', '+', '+', '+'), /* 5E */
466 STRING(help_descr
), /* 5F HELP */
467 BYTES(0, 0, 0, 0), /* 60 */
468 BYTES(0, 0, 0, 0), /* 61 */
469 BYTES(0, 0, 0, 0), /* 62 */
470 BYTES(0, 0, 0, 0), /* 63 */
471 BYTES(0, 0, 0, 0), /* 64 */
472 BYTES(0, 0, 0, 0), /* 65 */
473 BYTES(0, 0, 0, 0), /* 66 */
474 BYTES(0, 0, 0, 0), /* 67 */
475 BYTES(0, 0, 0, 0), /* 68 */
476 BYTES(0, 0, 0, 0), /* 69 */
477 BYTES(0, 0, 0, 0), /* 6A */
478 BYTES(0, 0, 0, 0), /* 6B */
479 BYTES(0, 0, 0, 0), /* 6C */
480 BYTES(0, 0, 0, 0), /* 6D */
481 STRING(pausebreak_descr
), /* 6E PAUSE/BREAK ?? */
482 STRING(f12_descr
), /* 6F F12 ?? */
483 STRING(home_descr
), /* 70 HOME ?? */
484 STRING(end_descr
), /* 71 END ?? */
485 BYTES(0, 0, 0, 0), /* 72 */
486 BYTES(0, 0, 0, 0), /* 73 */
487 BYTES(0, 0, 0, 0), /* 74 */
488 BYTES(0, 0, 0, 0), /* 75 */
489 BYTES(0, 0, 0, 0), /* 76 */
490 BYTES(0, 0, 0, 0), /* 77 */
491 BYTES(0, 0, 0, 0), /* 78 */
492 BYTES(0, 0, 0, 0), /* 79 */
493 BYTES(0, 0, 0, 0), /* 7A */
494 BYTES(0, 0, 0, 0), /* 7B */
495 BYTES(0, 0, 0, 0), /* 7C */
496 BYTES(0, 0, 0, 0), /* 7D */
497 BYTES(0, 0, 0, 0), /* 7E */
498 BYTES(0, 0, 0, 0), /* 7F */
503 #define SETBITS(b0, b1, b2, b3, b4, b5, b6, b7) \
504 (b0<<0)|(b1<<1)|(b2<<2)|(b3<<3)|(b4<<4)|(b5<<5)|(b6<<6)|(b7<<7)
506 STATIC CONST UBYTE locapsable
[] =
508 SETBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 00 - 07 */
509 SETBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 08 - 0F */
511 SETBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 10 - 17 */
512 SETBITS(1, 1, 0, 0, 0, 0, 0, 0), /* 18 - 1F */
514 SETBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 20 - 27 */
515 SETBITS(1, 0, 0, 0, 0, 0, 0, 0), /* 28 - 2F */
517 SETBITS(0, 1, 1, 1, 1, 1, 1, 1), /* 30 - 37 */
518 SETBITS(0, 0, 0, 0, 0, 0, 0, 0) /* 38 - 3F */
521 STATIC CONST UBYTE hicapsable
[] =
523 SETBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 40 - 47 */
524 SETBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 48 - 4F */
526 SETBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 50 - 57 */
527 SETBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 58 - 5F */
529 SETBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 60 - 67 */
530 SETBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 68 - 6F */
532 SETBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 70 - 77 */
533 SETBITS(0, 0, 0, 0, 0, 0, 0, 0) /* 78 - 7F */
536 STATIC CONST UBYTE lorepeatable
[] =
538 SETBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 00 - 07 */
539 SETBITS(1, 1, 1, 1, 1, 1, 0, 1), /* 08 - 0F */
541 SETBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 10 - 17 */
542 SETBITS(1, 1, 1, 1, 0, 1, 1, 1), /* 18 - 1F */
544 SETBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 20 - 27 */
545 SETBITS(1, 1, 1, 1, 0, 1, 1, 1), /* 28 - 2F */
547 SETBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 30 - 37 */
548 SETBITS(1, 1, 1, 0, 1, 1, 1, 1) /* 38 - 3F */
551 STATIC CONST UBYTE hirepeatable
[] =
553 SETBITS(1, 1, 1, 0, 0, 0, 1, 0), /* 40 - 47 */
554 SETBITS(1, 1, 0, 0, 1, 1, 1, 1), /* 48 - 4F */
556 SETBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 50 - 57 */
557 SETBITS(0, 0, 1, 1, 1, 1, 1, 0), /* 58 - 5F */
559 SETBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 60 - 67 */
560 SETBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 68 - 6F */
562 SETBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 70 - 77 */
563 SETBITS(0, 0, 0, 0, 0, 0, 0, 0) /* 78 - 7F */