1 /* 2 * (c) 2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de> 3 * economic rights: Technische Universität Dresden (Germany) 4 * This file is part of TUD:OS and distributed under the terms of the 5 * GNU Lesser General Public License 2.1. 6 * Please see the COPYING-LGPL-2.1 file for details. 7 */ 8 #ifndef __L4UTIL__INCLUDE__KEYMAP_DE_H__ 9 #define __L4UTIL__INCLUDE__KEYMAP_DE_H__ 10 11 #define SHIFT -1 12 13 static char keymap[128][2] = 14 { 15 {0}, /* 0 */ 16 {27, 27}, /* 1 - ESC */ 17 {'1', '!'}, /* 2 */ 18 {'2', '"'}, 19 {'3', '�'}, 20 {'4', '$'}, 21 {'5', '%'}, 22 {'6', '&'}, 23 {'7', '/'}, 24 {'8', '('}, 25 {'9', ')'}, 26 {'0', '='}, 27 {'�', '?'}, 28 {'\'', '`'}, 29 {8, 8}, /* 14 - Backspace */ 30 {'\t', '\t'}, /* 15 */ 31 {'q', 'Q'}, 32 {'w', 'W'}, 33 {'e', 'E'}, 34 {'r', 'R'}, 35 {'t', 'T'}, 36 {'z', 'Z'}, 37 {'u', 'U'}, 38 {'i', 'I'}, 39 {'o', 'O'}, 40 {'p', 'P'}, 41 {'�', '�'}, 42 {'+', '*'}, /* 27 */ 43 {'\r', '\r'}, /* 28 - Enter */ 44 {0, 0}, /* 29 - Ctrl */ 45 {'a', 'A'}, /* 30 */ 46 {'s', 'S'}, 47 {'d', 'D'}, 48 {'f', 'F'}, 49 {'g', 'G'}, 50 {'h', 'H'}, 51 {'j', 'J'}, 52 {'k', 'K'}, 53 {'l', 'L'}, 54 {'�', '�'}, 55 {'�', '�'}, /* 40 */ 56 {'^', '�'}, /* 41 */ 57 {SHIFT, SHIFT}, /* 42 - Left Shift */ 58 {'#', '\''}, /* 43 */ 59 {'y', 'Y'}, /* 44 */ 60 {'x', 'X'}, 61 {'c', 'C'}, 62 {'v', 'V'}, 63 {'b', 'B'}, 64 {'n', 'N'}, 65 {'m', 'M'}, 66 {',', ';'}, 67 {'.', ':'}, 68 {'-', '_'}, /* 53 */ 69 {SHIFT, SHIFT}, /* 54 - Right Shift */ 70 {0, 0}, /* 55 - Print Screen */ 71 {0, 0}, /* 56 - Alt */ 72 {' ', ' '}, /* 57 - Space bar */ 73 {0, 0}, /* 58 - Caps Lock */ 74 {0, 0}, /* 59 - F1 */ 75 {0, 0}, /* 60 - F2 */ 76 {0, 0}, /* 61 - F3 */ 77 {0, 0}, /* 62 - F4 */ 78 {0, 0}, /* 63 - F5 */ 79 {0, 0}, /* 64 - F6 */ 80 {0, 0}, /* 65 - F7 */ 81 {0, 0}, /* 66 - F8 */ 82 {0, 0}, /* 67 - F9 */ 83 {0, 0}, /* 68 - F10 */ 84 {0, 0}, /* 69 - Num Lock */ 85 {0, 0}, /* 70 - Scroll Lock */ 86 {'7', '7'}, /* 71 - Numeric keypad 7 */ 87 {'8', '8'}, /* 72 - Numeric keypad 8 */ 88 {'9', '9'}, /* 73 - Numeric keypad 9 */ 89 {'-', '-'}, /* 74 - Numeric keypad '-' */ 90 {'4', '4'}, /* 75 - Numeric keypad 4 */ 91 {'5', '5'}, /* 76 - Numeric keypad 5 */ 92 {'6', '6'}, /* 77 - Numeric keypad 6 */ 93 {'+', '+'}, /* 78 - Numeric keypad '+' */ 94 {'1', '1'}, /* 79 - Numeric keypad 1 */ 95 {'2', '2'}, /* 80 - Numeric keypad 2 */ 96 {'3', '3'}, /* 81 - Numeric keypad 3 */ 97 {'0', '0'}, /* 82 - Numeric keypad 0 */ 98 {'.', '.'}, /* 83 - Numeric keypad '.' */ 99 {0, 0}, 100 {0, 0}, 101 {'<', '>'}, 102 {0, 0}, 103 {0, 0}, 104 {0, 0}, 105 {0, 0}, 106 {0, 0}, 107 {0, 0}, 108 {0, 0}, 109 {0, 0}, 110 {0, 0}, 111 {0, 0}, 112 {0, 0}, 113 {0, 0}, 114 {0, 0}, 115 {0, 0}, 116 {0, 0}, 117 {0, 0}, 118 {0, 0}, /* 103 - arrow up */ 119 {0, 0}, 120 {0, 0}, /* 105 - arrow left */ 121 {0, 0}, /* 106 - arrow right */ 122 {0, 0}, 123 {0, 0}, /* 108 - arrow down */ 124 {0, 0}, 125 {0, 0}, 126 {0, 0}, 127 {0, 0}, 128 {0, 0}, 129 {0, 0}, 130 {0, 0}, 131 {0, 0}, 132 {0, 0}, 133 {0, 0}, 134 {0, 0}, 135 {0, 0}, 136 {0, 0}, 137 {0, 0}, 138 {0, 0}, 139 {0, 0}, 140 {0, 0}, 141 {0, 0}, 142 {0, 0}, 143 }; 144 145 #endif 146