Rev 547 | 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 | |||
1063 | tullio | 22 | /* |
23 | * This program is free software; you can redistribute it and/or modify |
||
24 | * it under the terms of the GNU General Public License as published by |
||
25 | * the Free Software Foundation; either version 2 of the License, or |
||
26 | * (at your option) any later version. |
||
27 | * |
||
28 | * This program is distributed in the hope that it will be useful, |
||
29 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
30 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
31 | * GNU General Public License for more details. |
||
32 | * |
||
33 | * You should have received a copy of the GNU General Public License |
||
34 | * along with this program; if not, write to the Free Software |
||
35 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
||
36 | * |
||
37 | */ |
||
38 | |||
519 | mauro | 39 | #ifndef __KEYCODE_H__ |
40 | #define __KEYCODE_H__ |
||
41 | |||
42 | #define NUM_OF_KEY 0x90 /* Till the end */ |
||
43 | #define TABLE_KEY_SIZE 0x3A /* Till KEY_SPC */ |
||
44 | |||
45 | #define KEY_ESC 0x01 |
||
46 | #define KEY_1 0x02 |
||
47 | #define KEY_2 0x03 |
||
48 | #define KEY_3 0x04 |
||
49 | #define KEY_4 0x05 |
||
50 | #define KEY_5 0x06 |
||
51 | #define KEY_6 0x07 |
||
52 | #define KEY_7 0x08 |
||
53 | #define KEY_8 0x09 |
||
54 | #define KEY_9 0x0A |
||
55 | #define KEY_0 0x0B |
||
56 | #define KEY_SUB 0x0C |
||
57 | #define KEY_PLUS 0x0D |
||
58 | #define KEY_BKS 0x0E |
||
59 | #define KEY_TAB 0x0F |
||
60 | #define KEY_Q 0x10 |
||
61 | #define KEY_W 0x11 |
||
62 | #define KEY_E 0x12 |
||
63 | #define KEY_R 0x13 |
||
64 | #define KEY_T 0x14 |
||
65 | #define KEY_Y 0x15 |
||
66 | #define KEY_U 0x16 |
||
67 | #define KEY_I 0x17 |
||
68 | #define KEY_O 0x18 |
||
69 | #define KEY_P 0x19 |
||
70 | #define KEY_BRL 0x1A |
||
71 | #define KEY_BRR 0x1B |
||
72 | #define KEY_ENT 0x1C |
||
73 | #define KEY_CTRLL 0x1D |
||
74 | #define KEY_A 0x1E |
||
75 | #define KEY_S 0x1F |
||
76 | #define KEY_D 0x20 |
||
77 | #define KEY_F 0x21 |
||
78 | #define KEY_G 0x22 |
||
79 | #define KEY_H 0x23 |
||
80 | #define KEY_J 0x24 |
||
81 | #define KEY_K 0x25 |
||
82 | #define KEY_L 0x26 |
||
83 | #define KEY_COL 0x27 |
||
84 | #define KEY_API 0x28 |
||
85 | #define KEY_TIL 0x29 |
||
86 | #define KEY_SHL 0x2A |
||
87 | #define KEY_BSL 0x2B |
||
88 | #define KEY_Z 0x2C |
||
89 | #define KEY_X 0x2D |
||
90 | #define KEY_C 0x2E |
||
91 | #define KEY_V 0x2F |
||
92 | #define KEY_B 0x30 |
||
93 | #define KEY_N 0x31 |
||
94 | #define KEY_M 0x32 |
||
95 | #define KEY_LT 0x33 |
||
96 | #define KEY_GT 0x34 |
||
97 | #define KEY_SLH 0x35 |
||
98 | #define KEY_SHR 0x36 |
||
99 | #define PAD_AST 0x37 |
||
100 | #define KEY_ALTL 0x38 |
||
101 | #define KEY_SPC 0x39 |
||
102 | #define KEY_CPSLOCK 0x3A |
||
103 | #define KEY_F1 0x3B |
||
104 | #define KEY_F2 0x3C |
||
105 | #define KEY_F3 0x3D |
||
106 | #define KEY_F4 0x3E |
||
107 | #define KEY_F5 0x3F |
||
108 | #define KEY_F6 0x40 |
||
109 | #define KEY_F7 0x41 |
||
110 | #define KEY_F8 0x42 |
||
111 | #define KEY_F9 0x43 |
||
112 | #define KEY_F10 0x44 |
||
113 | #define PAD_NUMLOCK 0x45 |
||
114 | #define EXT_SCRLOCK 0x46 |
||
115 | #define PAD_HOME 0x47 |
||
116 | #define PAD_UP 0x48 |
||
117 | #define PAD_PGUP 0x49 |
||
118 | #define PAD_SUB 0x4A |
||
119 | #define PAD_LEFT 0x4B |
||
120 | #define PAD_5 0x4C |
||
121 | #define PAD_RIGHT 0x4D |
||
122 | #define PAD_PLUS 0x4E |
||
123 | #define PAD_END 0x4F |
||
124 | #define PAD_DOWN 0x50 |
||
125 | #define PAD_PGDW 0x51 |
||
126 | #define PAD_INS 0x52 |
||
127 | #define PAD_DEL 0x53 |
||
128 | |||
129 | #define KEY_MACRO 0x56 /* ?!? */ |
||
130 | #define KEY_F11 0x57 |
||
131 | #define KEY_F12 0x58 |
||
132 | |||
133 | #define PAD_ENT 0x60 |
||
134 | #define KEY_CTRLR 0x61 |
||
135 | #define PAD_SLH 0x62 |
||
136 | #define EXT_PTRSC 0x63 |
||
137 | #define KEY_ALTR 0x64 |
||
138 | |||
139 | #define EXT_HOME 0x66 |
||
140 | #define EXT_UP 0x67 |
||
141 | #define EXT_PGUP 0x68 |
||
142 | #define EXT_LEFT 0x69 |
||
143 | #define EXT_RIGHT 0x6A |
||
144 | #define EXT_END 0x6B |
||
145 | #define EXT_DOWN 0x6C |
||
146 | #define EXT_PGDW 0x6D |
||
147 | #define EXT_INS 0x6E |
||
148 | #define EXT_DEL 0x6F |
||
149 | |||
150 | #define PWR_POWER 0x74 |
||
151 | |||
152 | #define EXT_PAUSE 0x77 |
||
153 | |||
154 | #define WIN_L 0x7D |
||
155 | #define WIN_R 0x7E |
||
156 | #define WIN_APPS 0x7F |
||
157 | |||
158 | #define PWR_SLEEP 0x8E |
||
159 | #define PWR_WAKE 0x8F |
||
160 | |||
161 | #endif /* __KEYCODE_H__ */ |