revert between 56095 -> 55830 in arch
[AROS.git] / workbench / tools / Edit / Rawkey.h
blob62d002545cfc39339800e63aebfc76e83f119466
1 /*** Rawkey.h : Some standard rawkey definitions. Why these ****
2 **** fucking codes aren't in system includes?! RKM source. ***/
4 #ifndef _RAWKEY_H_
5 #define _RAWKEY_H_
7 #ifdef __AROS__
8 #include <devices/rawkeycodes.h>
9 #endif
11 /* Standard qualifiers */
12 #define ALTKEYS (ALTLEFT | ALTRIGHT)
13 #define SHIFTKEYS (IEQUALIFIER_LSHIFT | IEQUALIFIER_RSHIFT)
14 #define CTRLKEYS (IEQUALIFIER_CONTROL)
16 /* Raw keys that are the same on all keyboards */
17 #define UP_KEY 0x4C
18 #define DOWN_KEY 0x4D
19 #define RIGHT_KEY 0x4E
20 #define LEFT_KEY 0x4F
22 #define F1_KEY 0x50
23 #define F2_KEY 0x51
24 #define F3_KEY 0x52
25 #define F4_KEY 0x53
26 #define F5_KEY 0x54
27 #define F6_KEY 0x55
28 #define F7_KEY 0x56
29 #define F8_KEY 0x57
30 #define F9_KEY 0x58
31 #define F10_KEY 0x59
33 #define N0_KEY 0x0F
34 #define N1_KEY 0x1D
35 #define N2_KEY 0x1E
36 #define N3_KEY 0x1F
37 #define N4_KEY 0x2D
38 #define N5_KEY 0x2E
39 #define N6_KEY 0x2F
40 #define N7_KEY 0x3D
41 #define N8_KEY 0x3E
42 #define N9_KEY 0x3F
44 #define NPERIOD_KEY 0x3C
45 #define NOPAREN_KEY 0x5A
46 #define NCPAREN_KEY 0x5B
47 #define NSLASH_KEY 0x5C
48 #define NASTER_KEY 0x5D
49 #define NMINUS_KEY 0x4A
50 #define NPLUS_KEY 0x5E
51 #define NENTER_KEY 0x43
53 #define SPACE_KEY 0x40
54 #define BS_KEY 0x41
55 #define TAB_KEY 0x42
56 #define RETURN_KEY 0x44
57 #define ESC_KEY 0x45
58 #define DEL_KEY 0x46
59 #define HELP_KEY 0x5F
61 /* Keys over cursor keys on PC keyboards */
63 #define HOME_KEY 0x70
64 #define END_KEY 0x71
65 #define PGUP_KEY 0x48
66 #define PGDOWN_KEY 0x49
68 #endif /* _RAWKEY_H_ */