-
Notifications
You must be signed in to change notification settings - Fork 0
/
KEYS.H
executable file
·109 lines (93 loc) · 1.37 KB
/
KEYS.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
// AW library
// Aarni Gratseff (aarni.gratseff@gmail.com)
// Keys
#ifndef AW_KEYS_H
#define AW_KEYS_H
enum {
KEY_NULL,
KEY_ESC,
KEY_ENTER,
KEY_SPACE,
KEY_BACKSPACE,
KEY_TAB,
KEY_LSHIFT,
KEY_RSHIFT,
KEY_LCTRL,
KEY_RCTRL,
KEY_LALT,
KEY_RALT,
KEY_UP,
KEY_DOWN,
KEY_LEFT,
KEY_RIGHT,
KEY_GREY_UP,
KEY_GREY_DOWN,
KEY_GREY_LEFT,
KEY_GREY_RIGHT,
KEY_KEYPAD_ENTER,
KEY_0,
KEY_1,
KEY_2,
KEY_3,
KEY_4,
KEY_5,
KEY_6,
KEY_7,
KEY_8,
KEY_9,
KEY_A,
KEY_B,
KEY_C,
KEY_D,
KEY_E,
KEY_F,
KEY_G,
KEY_H,
KEY_I,
KEY_J,
KEY_K,
KEY_L,
KEY_M,
KEY_N,
KEY_O,
KEY_P,
KEY_Q,
KEY_R,
KEY_S,
KEY_T,
KEY_U,
KEY_V,
KEY_W,
KEY_X,
KEY_Y,
KEY_Z,
KEY_F1,
KEY_F2,
KEY_F3,
KEY_F4,
KEY_F5,
KEY_F6,
KEY_F7,
KEY_F8,
KEY_F9,
KEY_F10,
KEY_F11,
KEY_F12,
KEY_TILDE,
KEY_COMMA,
KEY_PERIOD,
KEY_HYPHEN,
KEY_ASTERISK,
KEY_PLUS,
KEY_ANGLE_BRACKETS,
KEY_INSERT,
KEY_DELETE,
KEY_HOME,
KEY_END,
KEY_PAGE_UP,
KEY_PAGE_DOWN,
NUM_KEYS
};
#define KEY_UP_FLAG 0x80
#define KEY_INDEX_MASK 0x7f
#endif