Rev 519 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
519 | mauro | 1 | /* |
2 | * Project: S.Ha.R.K. |
||
3 | * |
||
4 | * Coordinators: |
||
5 | * Giorgio Buttazzo <giorgio@sssup.it> |
||
6 | * Paolo Gai <pj@gandalf.sssup.it> |
||
7 | * |
||
8 | * Authors : |
||
9 | * Paolo Gai <pj@gandalf.sssup.it> |
||
10 | * Massimiliano Giorgi <massy@gandalf.sssup.it> |
||
11 | * Luca Abeni <luca@gandalf.sssup.it> |
||
12 | * Mauro Marinoni <mauro.marinoni@unipv.it> |
||
13 | * (see the web pages for full authors list) |
||
14 | * |
||
15 | * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy) |
||
16 | * |
||
17 | * http://www.sssup.it |
||
18 | * http://retis.sssup.it |
||
19 | * http://shark.sssup.it |
||
20 | */ |
||
21 | |||
22 | #ifndef __KEYCODE_H__ |
||
23 | #define __KEYCODE_H__ |
||
24 | |||
25 | #define NUM_OF_KEY 0x90 /* Till the end */ |
||
26 | #define TABLE_KEY_SIZE 0x3A /* Till KEY_SPC */ |
||
27 | |||
28 | #define KEY_ESC 0x01 |
||
29 | #define KEY_1 0x02 |
||
30 | #define KEY_2 0x03 |
||
31 | #define KEY_3 0x04 |
||
32 | #define KEY_4 0x05 |
||
33 | #define KEY_5 0x06 |
||
34 | #define KEY_6 0x07 |
||
35 | #define KEY_7 0x08 |
||
36 | #define KEY_8 0x09 |
||
37 | #define KEY_9 0x0A |
||
38 | #define KEY_0 0x0B |
||
39 | #define KEY_SUB 0x0C |
||
40 | #define KEY_PLUS 0x0D |
||
41 | #define KEY_BKS 0x0E |
||
42 | #define KEY_TAB 0x0F |
||
43 | #define KEY_Q 0x10 |
||
44 | #define KEY_W 0x11 |
||
45 | #define KEY_E 0x12 |
||
46 | #define KEY_R 0x13 |
||
47 | #define KEY_T 0x14 |
||
48 | #define KEY_Y 0x15 |
||
49 | #define KEY_U 0x16 |
||
50 | #define KEY_I 0x17 |
||
51 | #define KEY_O 0x18 |
||
52 | #define KEY_P 0x19 |
||
53 | #define KEY_BRL 0x1A |
||
54 | #define KEY_BRR 0x1B |
||
55 | #define KEY_ENT 0x1C |
||
56 | #define KEY_CTRLL 0x1D |
||
57 | #define KEY_A 0x1E |
||
58 | #define KEY_S 0x1F |
||
59 | #define KEY_D 0x20 |
||
60 | #define KEY_F 0x21 |
||
61 | #define KEY_G 0x22 |
||
62 | #define KEY_H 0x23 |
||
63 | #define KEY_J 0x24 |
||
64 | #define KEY_K 0x25 |
||
65 | #define KEY_L 0x26 |
||
66 | #define KEY_COL 0x27 |
||
67 | #define KEY_API 0x28 |
||
68 | #define KEY_TIL 0x29 |
||
69 | #define KEY_SHL 0x2A |
||
70 | #define KEY_BSL 0x2B |
||
71 | #define KEY_Z 0x2C |
||
72 | #define KEY_X 0x2D |
||
73 | #define KEY_C 0x2E |
||
74 | #define KEY_V 0x2F |
||
75 | #define KEY_B 0x30 |
||
76 | #define KEY_N 0x31 |
||
77 | #define KEY_M 0x32 |
||
78 | #define KEY_LT 0x33 |
||
79 | #define KEY_GT 0x34 |
||
80 | #define KEY_SLH 0x35 |
||
81 | #define KEY_SHR 0x36 |
||
82 | #define PAD_AST 0x37 |
||
83 | #define KEY_ALTL 0x38 |
||
84 | #define KEY_SPC 0x39 |
||
85 | #define KEY_CPSLOCK 0x3A |
||
86 | #define KEY_F1 0x3B |
||
87 | #define KEY_F2 0x3C |
||
88 | #define KEY_F3 0x3D |
||
89 | #define KEY_F4 0x3E |
||
90 | #define KEY_F5 0x3F |
||
91 | #define KEY_F6 0x40 |
||
92 | #define KEY_F7 0x41 |
||
93 | #define KEY_F8 0x42 |
||
94 | #define KEY_F9 0x43 |
||
95 | #define KEY_F10 0x44 |
||
96 | #define PAD_NUMLOCK 0x45 |
||
97 | #define EXT_SCRLOCK 0x46 |
||
98 | #define PAD_HOME 0x47 |
||
99 | #define PAD_UP 0x48 |
||
100 | #define PAD_PGUP 0x49 |
||
101 | #define PAD_SUB 0x4A |
||
102 | #define PAD_LEFT 0x4B |
||
103 | #define PAD_5 0x4C |
||
104 | #define PAD_RIGHT 0x4D |
||
105 | #define PAD_PLUS 0x4E |
||
106 | #define PAD_END 0x4F |
||
107 | #define PAD_DOWN 0x50 |
||
108 | #define PAD_PGDW 0x51 |
||
109 | #define PAD_INS 0x52 |
||
110 | #define PAD_DEL 0x53 |
||
111 | |||
112 | #define KEY_MACRO 0x56 /* ?!? */ |
||
113 | #define KEY_F11 0x57 |
||
114 | #define KEY_F12 0x58 |
||
115 | |||
116 | #define PAD_ENT 0x60 |
||
117 | #define KEY_CTRLR 0x61 |
||
118 | #define PAD_SLH 0x62 |
||
119 | #define EXT_PTRSC 0x63 |
||
120 | #define KEY_ALTR 0x64 |
||
121 | |||
122 | #define EXT_HOME 0x66 |
||
123 | #define EXT_UP 0x67 |
||
124 | #define EXT_PGUP 0x68 |
||
125 | #define EXT_LEFT 0x69 |
||
126 | #define EXT_RIGHT 0x6A |
||
127 | #define EXT_END 0x6B |
||
128 | #define EXT_DOWN 0x6C |
||
129 | #define EXT_PGDW 0x6D |
||
130 | #define EXT_INS 0x6E |
||
131 | #define EXT_DEL 0x6F |
||
132 | |||
133 | #define PWR_POWER 0x74 |
||
134 | |||
135 | #define EXT_PAUSE 0x77 |
||
136 | |||
137 | #define WIN_L 0x7D |
||
138 | #define WIN_R 0x7E |
||
139 | #define WIN_APPS 0x7F |
||
140 | |||
141 | #define PWR_SLEEP 0x8E |
||
142 | #define PWR_WAKE 0x8F |
||
143 | |||
144 | #endif /* __KEYCODE_H__ */ |