1 #ifndef DEVICES_RAWKEYCODES_H
2 #define DEVICES_RAWKEYCODES_H
5 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
8 Desc: Standard Amiga (in case of AROS: virtual) rawkey codes
12 #define RAWKEY_ESCAPE 0x45
14 #define RAWKEY_F1 0x50
15 #define RAWKEY_F2 0x51
16 #define RAWKEY_F3 0x52
17 #define RAWKEY_F4 0x53
18 #define RAWKEY_F5 0x54
19 #define RAWKEY_F6 0x55
20 #define RAWKEY_F7 0x56
21 #define RAWKEY_F8 0x57
22 #define RAWKEY_F9 0x58
23 #define RAWKEY_F10 0x59
24 #define RAWKEY_F11 0x4B
25 #define RAWKEY_F12 0x6F
27 #define RAWKEY_PAUSE 0x6E
29 #define RAWKEY_TILDE 0x00
40 #define RAWKEY_MINUS 0x0B
41 #define RAWKEY_EQUAL 0x0C
42 #define RAWKEY_BACKSLASH 0x0D
43 #define RAWKEY_BACKSPACE 0x41
45 #define RAWKEY_TAB 0x42
56 #define RAWKEY_LBRACKET 0x1A
57 #define RAWKEY_RBRACKET 0x1B
58 #define RAWKEY_RETURN 0x44
59 #define RAWKEY_CAPSLOCK 0x62
69 #define RAWKEY_SEMICOLON 0x29
70 #define RAWKEY_QUOTE 0x2A
71 #define RAWKEY_2B 0x2B
73 #define RAWKEY_LSHIFT 0x60
74 #define RAWKEY_LESSGREATER 0x30
82 #define RAWKEY_COMMA 0x38
83 #define RAWKEY_PERIOD 0x39
84 #define RAWKEY_SLASH 0x3A
85 #define RAWKEY_RSHIFT 0x61
87 #define RAWKEY_CONTROL 0x63
88 #define RAWKEY_LCONTROL 0x63
89 #define RAWKEY_LAMIGA 0x66
90 #define RAWKEY_LALT 0x64
91 #define RAWKEY_SPACE 0x40
92 #define RAWKEY_RALT 0x65
93 #define RAWKEY_RAMIGA 0x67
95 #define RAWKEY_INSERT 0x47
96 #define RAWKEY_DELETE 0x46
97 #define RAWKEY_HOME 0x70
98 #define RAWKEY_END 0x71
99 #define RAWKEY_PAGEUP 0x48
100 #define RAWKEY_PAGEDOWN 0x49
101 #define RAWKEY_HELP 0x5F
103 #define RAWKEY_UP 0x4C
104 #define RAWKEY_LEFT 0x4F
105 #define RAWKEY_DOWN 0x4D
106 #define RAWKEY_RIGHT 0x4E
108 #define RAWKEY_KP_7 0x3D
109 #define RAWKEY_KP_8 0x3E
110 #define RAWKEY_KP_9 0x3F
111 #define RAWKEY_KP_4 0x2D
112 #define RAWKEY_KP_5 0x2E
113 #define RAWKEY_KP_6 0x2F
114 #define RAWKEY_KP_1 0x1D
115 #define RAWKEY_KP_2 0x1E
116 #define RAWKEY_KP_3 0x1F
117 #define RAWKEY_KP_0 0x0F
118 #define RAWKEY_KP_DECIMAL 0x3C
119 #define RAWKEY_KP_PLUS 0x5E
120 #define RAWKEY_KP_MINUS 0x4A
121 #define RAWKEY_KP_ENTER 0x43
123 /* Extra PC and multimedia keys (MorphOS-compatible) */
124 #define RAWKEY_KP_DIVIDE 0x5C
125 #define RAWKEY_KP_MULTIPLY 0x5D
126 #define RAWKEY_SCRLOCK 0x6B
127 #define RAWKEY_PRTSCREEN 0x6C
128 #define RAWKEY_NUMLOCK 0x6D
130 #define RAWKEY_MEDIA1 0x72
131 #define RAWKEY_MEDIA2 0x73
132 #define RAWKEY_MEDIA3 0x74
133 #define RAWKEY_MEDIA4 0x75
134 #define RAWKEY_MEDIA5 0x76
135 #define RAWKEY_MEDIA6 0x77
136 #define RAWKEY_CDTV_STOP RAWKEY_MEDIA1
137 #define RAWKEY_CDTV_PLAY RAWKEY_MEDIA2
138 #define RAWKEY_CDTV_PREV RAWKEY_MEDIA3
139 #define RAWKEY_CDTV_NEXT RAWKEY_MEDIA4
140 #define RAWKEY_CDTV_REW RAWKEY_MEDIA5
141 #define RAWKEY_CDTV_FF RAWKEY_MEDIA6
146 Copyright (c) 1999 by Alessandro Zummo <azummo@ita.flashnet.it> .
150 #define RAWKEY_NM_WHEEL_UP 0x7A
151 #define RAWKEY_NM_WHEEL_DOWN 0x7B
152 #define RAWKEY_NM_WHEEL_LEFT 0x7C
153 #define RAWKEY_NM_WHEEL_RIGHT 0x7D
154 #define RAWKEY_NM_BUTTON_FOURTH 0x7E
156 #endif /* DEVICES_RAWKEYCODES_H */