grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / hidds / i8042 / oldkeytable.h
bloba22dd5bb2908812561e0142e503489bcd10f0cce
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #if 0
7 static const __attribute__((section(".text"))) struct _keytable
9 ULONG keysym;
10 ULONG hiddcode;
12 keytable[] =
14 {K_Escape, 0x45 },
16 {K_F1, 0x50 },
17 {K_F2, 0x51 },
18 {K_F3, 0x52 },
19 {K_F4, 0x53 },
21 {K_F5, 0x54 },
22 {K_F6, 0x55 },
23 {K_F7, 0x56 },
24 {K_F8, 0x57 },
26 {K_F9, 0x58 },
27 {K_F10, 0x59 },
28 {K_F11, 0x66 }, /* LAMIGA. F11 rawkey code would be 4B */
29 {K_F12, 0x67 }, /* RAMIGA. F12 rawkey code would be 6F*/
31 /* {K_Sys_Req, ??? }, */
32 /* {K_Scroll_Lock, ???? }, */
33 {K_Pause, 0x6e },
36 {K_BackQuote, 0x00 },
37 {K_1, 0x01 },
38 {K_2, 0x02 },
39 {K_3, 0x03 },
40 {K_4, 0x04 },
41 {K_5, 0x05 },
42 {K_6, 0x06 },
43 {K_7, 0x07 },
44 {K_8, 0x08 },
45 {K_9, 0x09 },
46 {K_0, 0x0A },
47 {K_Minus, 0x0b },
48 {K_Equal, 0x0c },
49 {K_Backspace, 0x41 },
51 {K_Insert, 0x47 },
52 {K_Home, 0x70 },
53 {K_PgUp, 0x48 },
54 {K_Del, 0x46 },
55 {K_End, 0x71 },
56 {K_PgDn, 0x49 },
58 {K_Right, 0x4e },
59 {K_Up, 0x4c },
60 {K_Left, 0x4f },
61 {K_Down, 0x4d },
63 {K_KP_Numl, 0x5a },
64 {K_KP_Divide, 0x5b },
65 {K_KP_Multiply, 0x5c },
66 {K_KP_Sub, 0x5d },
68 {K_KP_7, 0x3d },
69 {K_KP_8, 0x3e },
70 {K_KP_9, 0x3f },
71 {K_KP_Add, 0x5e },
73 {K_KP_4, 0x2d },
74 {K_KP_5, 0x2e },
75 {K_KP_6, 0x2f },
77 {K_KP_1, 0x1d },
78 {K_KP_2, 0x1e },
79 {K_KP_3, 0x1f },
80 {K_KP_Enter, 0x43 },
82 {K_KP_0, 0x0f },
83 {K_KP_Decimal, 0x3c },
85 {K_Q, 0x10 },
86 {K_W, 0x11 },
87 {K_E, 0x12 },
88 {K_R, 0x13 },
89 {K_T, 0x14 },
90 {K_Y, 0x15 },
91 {K_U, 0x16 },
92 {K_I, 0x17 },
93 {K_O, 0x18 },
94 {K_P, 0x19 },
95 {K_LBracket, 0x1a },
96 {K_RBracket, 0x1b },
97 {K_Enter, 0x44 },
99 {K_A, 0x20 },
100 {K_S, 0x21 },
101 {K_D, 0x22 },
102 {K_F, 0x23 },
103 {K_G, 0x24 },
104 {K_H, 0x25 },
105 {K_J, 0x26 },
106 {K_K, 0x27 },
107 {K_L, 0x28 },
108 {K_Semicolon, 0x29 },
109 {K_Quote, 0x2a },
110 {K_BackSlash, 0x2b },
112 {K_LessGreater, 0x30 },
113 {K_Z, 0x31 },
114 {K_X, 0x32 },
115 {K_C, 0x33 },
116 {K_V, 0x34 },
117 {K_B, 0x35 },
118 {K_N, 0x36 },
119 {K_M, 0x37 },
120 {K_Comma, 0x38 },
121 {K_Period, 0x39 },
122 {K_Slash, 0x3a },
124 {K_Space, 0x40 },
126 {K_LShift, 0x60 },
127 {K_RShift, 0x61 },
129 {K_LAlt, 0x64 },
130 {K_RAlt, 0x65 },
132 {K_LCtrl, 0x63 },
133 {K_RCtrl, 0x63 },
135 {K_LMeta, 0x66 }, /* Left Win key = LAmi */
136 {K_RMeta, 0x67 }, /* Right Win key = RAmi */
137 /* [K_Menu, ???? }, */
138 {K_Tab, 0x42 },
140 {K_CapsLock, 0x62 },
142 {K_ResetRequest,0x78 },
143 {0, -1 }
146 #endif