Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | /**************************************************************************** |
michael@0 | 2 | **************************************************************************** |
michael@0 | 3 | *** |
michael@0 | 4 | *** This header was automatically generated from a Linux kernel header |
michael@0 | 5 | *** of the same name, to make information necessary for userspace to |
michael@0 | 6 | *** call into the kernel available to libc. It contains only constants, |
michael@0 | 7 | *** structures, and macros generated from the original header, and thus, |
michael@0 | 8 | *** contains no copyrightable information. |
michael@0 | 9 | *** |
michael@0 | 10 | *** To edit the content of this header, modify the corresponding |
michael@0 | 11 | *** source file (e.g. under external/kernel-headers/original/) then |
michael@0 | 12 | *** run bionic/libc/kernel/tools/update_all.py |
michael@0 | 13 | *** |
michael@0 | 14 | *** Any manual change here will be lost the next time this script will |
michael@0 | 15 | *** be run. You've been warned! |
michael@0 | 16 | *** |
michael@0 | 17 | **************************************************************************** |
michael@0 | 18 | ****************************************************************************/ |
michael@0 | 19 | #ifndef _INPUT_H |
michael@0 | 20 | #define _INPUT_H |
michael@0 | 21 | #include <sys/time.h> |
michael@0 | 22 | #include <sys/ioctl.h> |
michael@0 | 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 24 | #include <sys/types.h> |
michael@0 | 25 | #include <linux/types.h> |
michael@0 | 26 | struct input_event { |
michael@0 | 27 | struct timeval time; |
michael@0 | 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 29 | __u16 type; |
michael@0 | 30 | __u16 code; |
michael@0 | 31 | __s32 value; |
michael@0 | 32 | }; |
michael@0 | 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 34 | #define EV_VERSION 0x010001 |
michael@0 | 35 | struct input_id { |
michael@0 | 36 | __u16 bustype; |
michael@0 | 37 | __u16 vendor; |
michael@0 | 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 39 | __u16 product; |
michael@0 | 40 | __u16 version; |
michael@0 | 41 | }; |
michael@0 | 42 | struct input_absinfo { |
michael@0 | 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 44 | __s32 value; |
michael@0 | 45 | __s32 minimum; |
michael@0 | 46 | __s32 maximum; |
michael@0 | 47 | __s32 fuzz; |
michael@0 | 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 49 | __s32 flat; |
michael@0 | 50 | __s32 resolution; |
michael@0 | 51 | }; |
michael@0 | 52 | struct input_keymap_entry { |
michael@0 | 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 54 | #define INPUT_KEYMAP_BY_INDEX (1 << 0) |
michael@0 | 55 | __u8 flags; |
michael@0 | 56 | __u8 len; |
michael@0 | 57 | __u16 index; |
michael@0 | 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 59 | __u32 keycode; |
michael@0 | 60 | __u8 scancode[32]; |
michael@0 | 61 | }; |
michael@0 | 62 | #define EVIOCGVERSION _IOR('E', 0x01, int) |
michael@0 | 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 64 | #define EVIOCGID _IOR('E', 0x02, struct input_id) |
michael@0 | 65 | #define EVIOCGREP _IOR('E', 0x03, unsigned int[2]) |
michael@0 | 66 | #define EVIOCSREP _IOW('E', 0x03, unsigned int[2]) |
michael@0 | 67 | #define EVIOCGKEYCODE _IOR('E', 0x04, unsigned int[2]) |
michael@0 | 68 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 69 | #define EVIOCGKEYCODE_V2 _IOR('E', 0x04, struct input_keymap_entry) |
michael@0 | 70 | #define EVIOCSKEYCODE _IOW('E', 0x04, unsigned int[2]) |
michael@0 | 71 | #define EVIOCSKEYCODE_V2 _IOW('E', 0x04, struct input_keymap_entry) |
michael@0 | 72 | #define EVIOCGNAME(len) _IOC(_IOC_READ, 'E', 0x06, len) |
michael@0 | 73 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 74 | #define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) |
michael@0 | 75 | #define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len) |
michael@0 | 76 | #define EVIOCGPROP(len) _IOC(_IOC_READ, 'E', 0x09, len) |
michael@0 | 77 | #define EVIOCGMTSLOTS(len) _IOC(_IOC_READ, 'E', 0x0a, len) |
michael@0 | 78 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 79 | #define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len) |
michael@0 | 80 | #define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) |
michael@0 | 81 | #define EVIOCGSND(len) _IOC(_IOC_READ, 'E', 0x1a, len) |
michael@0 | 82 | #define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len) |
michael@0 | 83 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 84 | #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + (ev), len) |
michael@0 | 85 | #define EVIOCGABS(abs) _IOR('E', 0x40 + (abs), struct input_absinfo) |
michael@0 | 86 | #define EVIOCSABS(abs) _IOW('E', 0xc0 + (abs), struct input_absinfo) |
michael@0 | 87 | #define EVIOCSFF _IOC(_IOC_WRITE, 'E', 0x80, sizeof(struct ff_effect)) |
michael@0 | 88 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 89 | #define EVIOCRMFF _IOW('E', 0x81, int) |
michael@0 | 90 | #define EVIOCGEFFECTS _IOR('E', 0x84, int) |
michael@0 | 91 | #define EVIOCGRAB _IOW('E', 0x90, int) |
michael@0 | 92 | #define EVIOCGSUSPENDBLOCK _IOR('E', 0x91, int) |
michael@0 | 93 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 94 | #define EVIOCSSUSPENDBLOCK _IOW('E', 0x91, int) |
michael@0 | 95 | #define EVIOCSCLOCKID _IOW('E', 0xa0, int) |
michael@0 | 96 | #define INPUT_PROP_POINTER 0x00 |
michael@0 | 97 | #define INPUT_PROP_DIRECT 0x01 |
michael@0 | 98 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 99 | #define INPUT_PROP_BUTTONPAD 0x02 |
michael@0 | 100 | #define INPUT_PROP_SEMI_MT 0x03 |
michael@0 | 101 | #define INPUT_PROP_MAX 0x1f |
michael@0 | 102 | #define INPUT_PROP_CNT (INPUT_PROP_MAX + 1) |
michael@0 | 103 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 104 | #define EV_SYN 0x00 |
michael@0 | 105 | #define EV_KEY 0x01 |
michael@0 | 106 | #define EV_REL 0x02 |
michael@0 | 107 | #define EV_ABS 0x03 |
michael@0 | 108 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 109 | #define EV_MSC 0x04 |
michael@0 | 110 | #define EV_SW 0x05 |
michael@0 | 111 | #define EV_LED 0x11 |
michael@0 | 112 | #define EV_SND 0x12 |
michael@0 | 113 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 114 | #define EV_REP 0x14 |
michael@0 | 115 | #define EV_FF 0x15 |
michael@0 | 116 | #define EV_PWR 0x16 |
michael@0 | 117 | #define EV_FF_STATUS 0x17 |
michael@0 | 118 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 119 | #define EV_MAX 0x1f |
michael@0 | 120 | #define EV_CNT (EV_MAX+1) |
michael@0 | 121 | #define SYN_REPORT 0 |
michael@0 | 122 | #define SYN_CONFIG 1 |
michael@0 | 123 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 124 | #define SYN_MT_REPORT 2 |
michael@0 | 125 | #define SYN_DROPPED 3 |
michael@0 | 126 | #define SYN_TIME_SEC 4 |
michael@0 | 127 | #define SYN_TIME_NSEC 5 |
michael@0 | 128 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 129 | #define KEY_RESERVED 0 |
michael@0 | 130 | #define KEY_ESC 1 |
michael@0 | 131 | #define KEY_1 2 |
michael@0 | 132 | #define KEY_2 3 |
michael@0 | 133 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 134 | #define KEY_3 4 |
michael@0 | 135 | #define KEY_4 5 |
michael@0 | 136 | #define KEY_5 6 |
michael@0 | 137 | #define KEY_6 7 |
michael@0 | 138 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 139 | #define KEY_7 8 |
michael@0 | 140 | #define KEY_8 9 |
michael@0 | 141 | #define KEY_9 10 |
michael@0 | 142 | #define KEY_0 11 |
michael@0 | 143 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 144 | #define KEY_MINUS 12 |
michael@0 | 145 | #define KEY_EQUAL 13 |
michael@0 | 146 | #define KEY_BACKSPACE 14 |
michael@0 | 147 | #define KEY_TAB 15 |
michael@0 | 148 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 149 | #define KEY_Q 16 |
michael@0 | 150 | #define KEY_W 17 |
michael@0 | 151 | #define KEY_E 18 |
michael@0 | 152 | #define KEY_R 19 |
michael@0 | 153 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 154 | #define KEY_T 20 |
michael@0 | 155 | #define KEY_Y 21 |
michael@0 | 156 | #define KEY_U 22 |
michael@0 | 157 | #define KEY_I 23 |
michael@0 | 158 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 159 | #define KEY_O 24 |
michael@0 | 160 | #define KEY_P 25 |
michael@0 | 161 | #define KEY_LEFTBRACE 26 |
michael@0 | 162 | #define KEY_RIGHTBRACE 27 |
michael@0 | 163 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 164 | #define KEY_ENTER 28 |
michael@0 | 165 | #define KEY_LEFTCTRL 29 |
michael@0 | 166 | #define KEY_A 30 |
michael@0 | 167 | #define KEY_S 31 |
michael@0 | 168 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 169 | #define KEY_D 32 |
michael@0 | 170 | #define KEY_F 33 |
michael@0 | 171 | #define KEY_G 34 |
michael@0 | 172 | #define KEY_H 35 |
michael@0 | 173 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 174 | #define KEY_J 36 |
michael@0 | 175 | #define KEY_K 37 |
michael@0 | 176 | #define KEY_L 38 |
michael@0 | 177 | #define KEY_SEMICOLON 39 |
michael@0 | 178 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 179 | #define KEY_APOSTROPHE 40 |
michael@0 | 180 | #define KEY_GRAVE 41 |
michael@0 | 181 | #define KEY_LEFTSHIFT 42 |
michael@0 | 182 | #define KEY_BACKSLASH 43 |
michael@0 | 183 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 184 | #define KEY_Z 44 |
michael@0 | 185 | #define KEY_X 45 |
michael@0 | 186 | #define KEY_C 46 |
michael@0 | 187 | #define KEY_V 47 |
michael@0 | 188 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 189 | #define KEY_B 48 |
michael@0 | 190 | #define KEY_N 49 |
michael@0 | 191 | #define KEY_M 50 |
michael@0 | 192 | #define KEY_COMMA 51 |
michael@0 | 193 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 194 | #define KEY_DOT 52 |
michael@0 | 195 | #define KEY_SLASH 53 |
michael@0 | 196 | #define KEY_RIGHTSHIFT 54 |
michael@0 | 197 | #define KEY_KPASTERISK 55 |
michael@0 | 198 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 199 | #define KEY_LEFTALT 56 |
michael@0 | 200 | #define KEY_SPACE 57 |
michael@0 | 201 | #define KEY_CAPSLOCK 58 |
michael@0 | 202 | #define KEY_F1 59 |
michael@0 | 203 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 204 | #define KEY_F2 60 |
michael@0 | 205 | #define KEY_F3 61 |
michael@0 | 206 | #define KEY_F4 62 |
michael@0 | 207 | #define KEY_F5 63 |
michael@0 | 208 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 209 | #define KEY_F6 64 |
michael@0 | 210 | #define KEY_F7 65 |
michael@0 | 211 | #define KEY_F8 66 |
michael@0 | 212 | #define KEY_F9 67 |
michael@0 | 213 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 214 | #define KEY_F10 68 |
michael@0 | 215 | #define KEY_NUMLOCK 69 |
michael@0 | 216 | #define KEY_SCROLLLOCK 70 |
michael@0 | 217 | #define KEY_KP7 71 |
michael@0 | 218 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 219 | #define KEY_KP8 72 |
michael@0 | 220 | #define KEY_KP9 73 |
michael@0 | 221 | #define KEY_KPMINUS 74 |
michael@0 | 222 | #define KEY_KP4 75 |
michael@0 | 223 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 224 | #define KEY_KP5 76 |
michael@0 | 225 | #define KEY_KP6 77 |
michael@0 | 226 | #define KEY_KPPLUS 78 |
michael@0 | 227 | #define KEY_KP1 79 |
michael@0 | 228 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 229 | #define KEY_KP2 80 |
michael@0 | 230 | #define KEY_KP3 81 |
michael@0 | 231 | #define KEY_KP0 82 |
michael@0 | 232 | #define KEY_KPDOT 83 |
michael@0 | 233 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 234 | #define KEY_ZENKAKUHANKAKU 85 |
michael@0 | 235 | #define KEY_102ND 86 |
michael@0 | 236 | #define KEY_F11 87 |
michael@0 | 237 | #define KEY_F12 88 |
michael@0 | 238 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 239 | #define KEY_RO 89 |
michael@0 | 240 | #define KEY_KATAKANA 90 |
michael@0 | 241 | #define KEY_HIRAGANA 91 |
michael@0 | 242 | #define KEY_HENKAN 92 |
michael@0 | 243 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 244 | #define KEY_KATAKANAHIRAGANA 93 |
michael@0 | 245 | #define KEY_MUHENKAN 94 |
michael@0 | 246 | #define KEY_KPJPCOMMA 95 |
michael@0 | 247 | #define KEY_KPENTER 96 |
michael@0 | 248 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 249 | #define KEY_RIGHTCTRL 97 |
michael@0 | 250 | #define KEY_KPSLASH 98 |
michael@0 | 251 | #define KEY_SYSRQ 99 |
michael@0 | 252 | #define KEY_RIGHTALT 100 |
michael@0 | 253 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 254 | #define KEY_LINEFEED 101 |
michael@0 | 255 | #define KEY_HOME 102 |
michael@0 | 256 | #define KEY_UP 103 |
michael@0 | 257 | #define KEY_PAGEUP 104 |
michael@0 | 258 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 259 | #define KEY_LEFT 105 |
michael@0 | 260 | #define KEY_RIGHT 106 |
michael@0 | 261 | #define KEY_END 107 |
michael@0 | 262 | #define KEY_DOWN 108 |
michael@0 | 263 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 264 | #define KEY_PAGEDOWN 109 |
michael@0 | 265 | #define KEY_INSERT 110 |
michael@0 | 266 | #define KEY_DELETE 111 |
michael@0 | 267 | #define KEY_MACRO 112 |
michael@0 | 268 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 269 | #define KEY_MUTE 113 |
michael@0 | 270 | #define KEY_VOLUMEDOWN 114 |
michael@0 | 271 | #define KEY_VOLUMEUP 115 |
michael@0 | 272 | #define KEY_POWER 116 |
michael@0 | 273 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 274 | #define KEY_KPEQUAL 117 |
michael@0 | 275 | #define KEY_KPPLUSMINUS 118 |
michael@0 | 276 | #define KEY_PAUSE 119 |
michael@0 | 277 | #define KEY_SCALE 120 |
michael@0 | 278 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 279 | #define KEY_KPCOMMA 121 |
michael@0 | 280 | #define KEY_HANGEUL 122 |
michael@0 | 281 | #define KEY_HANGUEL KEY_HANGEUL |
michael@0 | 282 | #define KEY_HANJA 123 |
michael@0 | 283 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 284 | #define KEY_YEN 124 |
michael@0 | 285 | #define KEY_LEFTMETA 125 |
michael@0 | 286 | #define KEY_RIGHTMETA 126 |
michael@0 | 287 | #define KEY_COMPOSE 127 |
michael@0 | 288 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 289 | #define KEY_STOP 128 |
michael@0 | 290 | #define KEY_AGAIN 129 |
michael@0 | 291 | #define KEY_PROPS 130 |
michael@0 | 292 | #define KEY_UNDO 131 |
michael@0 | 293 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 294 | #define KEY_FRONT 132 |
michael@0 | 295 | #define KEY_COPY 133 |
michael@0 | 296 | #define KEY_OPEN 134 |
michael@0 | 297 | #define KEY_PASTE 135 |
michael@0 | 298 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 299 | #define KEY_FIND 136 |
michael@0 | 300 | #define KEY_CUT 137 |
michael@0 | 301 | #define KEY_HELP 138 |
michael@0 | 302 | #define KEY_MENU 139 |
michael@0 | 303 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 304 | #define KEY_CALC 140 |
michael@0 | 305 | #define KEY_SETUP 141 |
michael@0 | 306 | #define KEY_SLEEP 142 |
michael@0 | 307 | #define KEY_WAKEUP 143 |
michael@0 | 308 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 309 | #define KEY_FILE 144 |
michael@0 | 310 | #define KEY_SENDFILE 145 |
michael@0 | 311 | #define KEY_DELETEFILE 146 |
michael@0 | 312 | #define KEY_XFER 147 |
michael@0 | 313 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 314 | #define KEY_PROG1 148 |
michael@0 | 315 | #define KEY_PROG2 149 |
michael@0 | 316 | #define KEY_WWW 150 |
michael@0 | 317 | #define KEY_MSDOS 151 |
michael@0 | 318 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 319 | #define KEY_COFFEE 152 |
michael@0 | 320 | #define KEY_SCREENLOCK KEY_COFFEE |
michael@0 | 321 | #define KEY_DIRECTION 153 |
michael@0 | 322 | #define KEY_CYCLEWINDOWS 154 |
michael@0 | 323 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 324 | #define KEY_MAIL 155 |
michael@0 | 325 | #define KEY_BOOKMARKS 156 |
michael@0 | 326 | #define KEY_COMPUTER 157 |
michael@0 | 327 | #define KEY_BACK 158 |
michael@0 | 328 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 329 | #define KEY_FORWARD 159 |
michael@0 | 330 | #define KEY_CLOSECD 160 |
michael@0 | 331 | #define KEY_EJECTCD 161 |
michael@0 | 332 | #define KEY_EJECTCLOSECD 162 |
michael@0 | 333 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 334 | #define KEY_NEXTSONG 163 |
michael@0 | 335 | #define KEY_PLAYPAUSE 164 |
michael@0 | 336 | #define KEY_PREVIOUSSONG 165 |
michael@0 | 337 | #define KEY_STOPCD 166 |
michael@0 | 338 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 339 | #define KEY_RECORD 167 |
michael@0 | 340 | #define KEY_REWIND 168 |
michael@0 | 341 | #define KEY_PHONE 169 |
michael@0 | 342 | #define KEY_ISO 170 |
michael@0 | 343 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 344 | #define KEY_CONFIG 171 |
michael@0 | 345 | #define KEY_HOMEPAGE 172 |
michael@0 | 346 | #define KEY_REFRESH 173 |
michael@0 | 347 | #define KEY_EXIT 174 |
michael@0 | 348 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 349 | #define KEY_MOVE 175 |
michael@0 | 350 | #define KEY_EDIT 176 |
michael@0 | 351 | #define KEY_SCROLLUP 177 |
michael@0 | 352 | #define KEY_SCROLLDOWN 178 |
michael@0 | 353 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 354 | #define KEY_KPLEFTPAREN 179 |
michael@0 | 355 | #define KEY_KPRIGHTPAREN 180 |
michael@0 | 356 | #define KEY_NEW 181 |
michael@0 | 357 | #define KEY_REDO 182 |
michael@0 | 358 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 359 | #define KEY_F13 183 |
michael@0 | 360 | #define KEY_F14 184 |
michael@0 | 361 | #define KEY_F15 185 |
michael@0 | 362 | #define KEY_F16 186 |
michael@0 | 363 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 364 | #define KEY_F17 187 |
michael@0 | 365 | #define KEY_F18 188 |
michael@0 | 366 | #define KEY_F19 189 |
michael@0 | 367 | #define KEY_F20 190 |
michael@0 | 368 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 369 | #define KEY_F21 191 |
michael@0 | 370 | #define KEY_F22 192 |
michael@0 | 371 | #define KEY_F23 193 |
michael@0 | 372 | #define KEY_F24 194 |
michael@0 | 373 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 374 | #define KEY_PLAYCD 200 |
michael@0 | 375 | #define KEY_PAUSECD 201 |
michael@0 | 376 | #define KEY_PROG3 202 |
michael@0 | 377 | #define KEY_PROG4 203 |
michael@0 | 378 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 379 | #define KEY_DASHBOARD 204 |
michael@0 | 380 | #define KEY_SUSPEND 205 |
michael@0 | 381 | #define KEY_CLOSE 206 |
michael@0 | 382 | #define KEY_PLAY 207 |
michael@0 | 383 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 384 | #define KEY_FASTFORWARD 208 |
michael@0 | 385 | #define KEY_BASSBOOST 209 |
michael@0 | 386 | #define KEY_PRINT 210 |
michael@0 | 387 | #define KEY_HP 211 |
michael@0 | 388 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 389 | #define KEY_CAMERA 212 |
michael@0 | 390 | #define KEY_SOUND 213 |
michael@0 | 391 | #define KEY_QUESTION 214 |
michael@0 | 392 | #define KEY_EMAIL 215 |
michael@0 | 393 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 394 | #define KEY_CHAT 216 |
michael@0 | 395 | #define KEY_SEARCH 217 |
michael@0 | 396 | #define KEY_CONNECT 218 |
michael@0 | 397 | #define KEY_FINANCE 219 |
michael@0 | 398 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 399 | #define KEY_SPORT 220 |
michael@0 | 400 | #define KEY_SHOP 221 |
michael@0 | 401 | #define KEY_ALTERASE 222 |
michael@0 | 402 | #define KEY_CANCEL 223 |
michael@0 | 403 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 404 | #define KEY_BRIGHTNESSDOWN 224 |
michael@0 | 405 | #define KEY_BRIGHTNESSUP 225 |
michael@0 | 406 | #define KEY_MEDIA 226 |
michael@0 | 407 | #define KEY_SWITCHVIDEOMODE 227 |
michael@0 | 408 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 409 | #define KEY_KBDILLUMTOGGLE 228 |
michael@0 | 410 | #define KEY_KBDILLUMDOWN 229 |
michael@0 | 411 | #define KEY_KBDILLUMUP 230 |
michael@0 | 412 | #define KEY_SEND 231 |
michael@0 | 413 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 414 | #define KEY_REPLY 232 |
michael@0 | 415 | #define KEY_FORWARDMAIL 233 |
michael@0 | 416 | #define KEY_SAVE 234 |
michael@0 | 417 | #define KEY_DOCUMENTS 235 |
michael@0 | 418 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 419 | #define KEY_BATTERY 236 |
michael@0 | 420 | #define KEY_BLUETOOTH 237 |
michael@0 | 421 | #define KEY_WLAN 238 |
michael@0 | 422 | #define KEY_UWB 239 |
michael@0 | 423 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 424 | #define KEY_UNKNOWN 240 |
michael@0 | 425 | #define KEY_VIDEO_NEXT 241 |
michael@0 | 426 | #define KEY_VIDEO_PREV 242 |
michael@0 | 427 | #define KEY_BRIGHTNESS_CYCLE 243 |
michael@0 | 428 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 429 | #define KEY_BRIGHTNESS_ZERO 244 |
michael@0 | 430 | #define KEY_DISPLAY_OFF 245 |
michael@0 | 431 | #define KEY_WIMAX 246 |
michael@0 | 432 | #define KEY_RFKILL 247 |
michael@0 | 433 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 434 | #define KEY_MICMUTE 248 |
michael@0 | 435 | #define BTN_MISC 0x100 |
michael@0 | 436 | #define BTN_0 0x100 |
michael@0 | 437 | #define BTN_1 0x101 |
michael@0 | 438 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 439 | #define BTN_2 0x102 |
michael@0 | 440 | #define BTN_3 0x103 |
michael@0 | 441 | #define BTN_4 0x104 |
michael@0 | 442 | #define BTN_5 0x105 |
michael@0 | 443 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 444 | #define BTN_6 0x106 |
michael@0 | 445 | #define BTN_7 0x107 |
michael@0 | 446 | #define BTN_8 0x108 |
michael@0 | 447 | #define BTN_9 0x109 |
michael@0 | 448 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 449 | #define BTN_MOUSE 0x110 |
michael@0 | 450 | #define BTN_LEFT 0x110 |
michael@0 | 451 | #define BTN_RIGHT 0x111 |
michael@0 | 452 | #define BTN_MIDDLE 0x112 |
michael@0 | 453 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 454 | #define BTN_SIDE 0x113 |
michael@0 | 455 | #define BTN_EXTRA 0x114 |
michael@0 | 456 | #define BTN_FORWARD 0x115 |
michael@0 | 457 | #define BTN_BACK 0x116 |
michael@0 | 458 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 459 | #define BTN_TASK 0x117 |
michael@0 | 460 | #define BTN_JOYSTICK 0x120 |
michael@0 | 461 | #define BTN_TRIGGER 0x120 |
michael@0 | 462 | #define BTN_THUMB 0x121 |
michael@0 | 463 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 464 | #define BTN_THUMB2 0x122 |
michael@0 | 465 | #define BTN_TOP 0x123 |
michael@0 | 466 | #define BTN_TOP2 0x124 |
michael@0 | 467 | #define BTN_PINKIE 0x125 |
michael@0 | 468 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 469 | #define BTN_BASE 0x126 |
michael@0 | 470 | #define BTN_BASE2 0x127 |
michael@0 | 471 | #define BTN_BASE3 0x128 |
michael@0 | 472 | #define BTN_BASE4 0x129 |
michael@0 | 473 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 474 | #define BTN_BASE5 0x12a |
michael@0 | 475 | #define BTN_BASE6 0x12b |
michael@0 | 476 | #define BTN_DEAD 0x12f |
michael@0 | 477 | #define BTN_GAMEPAD 0x130 |
michael@0 | 478 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 479 | #define BTN_A 0x130 |
michael@0 | 480 | #define BTN_B 0x131 |
michael@0 | 481 | #define BTN_C 0x132 |
michael@0 | 482 | #define BTN_X 0x133 |
michael@0 | 483 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 484 | #define BTN_Y 0x134 |
michael@0 | 485 | #define BTN_Z 0x135 |
michael@0 | 486 | #define BTN_TL 0x136 |
michael@0 | 487 | #define BTN_TR 0x137 |
michael@0 | 488 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 489 | #define BTN_TL2 0x138 |
michael@0 | 490 | #define BTN_TR2 0x139 |
michael@0 | 491 | #define BTN_SELECT 0x13a |
michael@0 | 492 | #define BTN_START 0x13b |
michael@0 | 493 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 494 | #define BTN_MODE 0x13c |
michael@0 | 495 | #define BTN_THUMBL 0x13d |
michael@0 | 496 | #define BTN_THUMBR 0x13e |
michael@0 | 497 | #define BTN_DIGI 0x140 |
michael@0 | 498 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 499 | #define BTN_TOOL_PEN 0x140 |
michael@0 | 500 | #define BTN_TOOL_RUBBER 0x141 |
michael@0 | 501 | #define BTN_TOOL_BRUSH 0x142 |
michael@0 | 502 | #define BTN_TOOL_PENCIL 0x143 |
michael@0 | 503 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 504 | #define BTN_TOOL_AIRBRUSH 0x144 |
michael@0 | 505 | #define BTN_TOOL_FINGER 0x145 |
michael@0 | 506 | #define BTN_TOOL_MOUSE 0x146 |
michael@0 | 507 | #define BTN_TOOL_LENS 0x147 |
michael@0 | 508 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 509 | #define BTN_TOOL_QUINTTAP 0x148 |
michael@0 | 510 | #define BTN_TOUCH 0x14a |
michael@0 | 511 | #define BTN_STYLUS 0x14b |
michael@0 | 512 | #define BTN_STYLUS2 0x14c |
michael@0 | 513 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 514 | #define BTN_TOOL_DOUBLETAP 0x14d |
michael@0 | 515 | #define BTN_TOOL_TRIPLETAP 0x14e |
michael@0 | 516 | #define BTN_TOOL_QUADTAP 0x14f |
michael@0 | 517 | #define BTN_WHEEL 0x150 |
michael@0 | 518 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 519 | #define BTN_GEAR_DOWN 0x150 |
michael@0 | 520 | #define BTN_GEAR_UP 0x151 |
michael@0 | 521 | #define KEY_OK 0x160 |
michael@0 | 522 | #define KEY_SELECT 0x161 |
michael@0 | 523 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 524 | #define KEY_GOTO 0x162 |
michael@0 | 525 | #define KEY_CLEAR 0x163 |
michael@0 | 526 | #define KEY_POWER2 0x164 |
michael@0 | 527 | #define KEY_OPTION 0x165 |
michael@0 | 528 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 529 | #define KEY_INFO 0x166 |
michael@0 | 530 | #define KEY_TIME 0x167 |
michael@0 | 531 | #define KEY_VENDOR 0x168 |
michael@0 | 532 | #define KEY_ARCHIVE 0x169 |
michael@0 | 533 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 534 | #define KEY_PROGRAM 0x16a |
michael@0 | 535 | #define KEY_CHANNEL 0x16b |
michael@0 | 536 | #define KEY_FAVORITES 0x16c |
michael@0 | 537 | #define KEY_EPG 0x16d |
michael@0 | 538 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 539 | #define KEY_PVR 0x16e |
michael@0 | 540 | #define KEY_MHP 0x16f |
michael@0 | 541 | #define KEY_LANGUAGE 0x170 |
michael@0 | 542 | #define KEY_TITLE 0x171 |
michael@0 | 543 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 544 | #define KEY_SUBTITLE 0x172 |
michael@0 | 545 | #define KEY_ANGLE 0x173 |
michael@0 | 546 | #define KEY_ZOOM 0x174 |
michael@0 | 547 | #define KEY_MODE 0x175 |
michael@0 | 548 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 549 | #define KEY_KEYBOARD 0x176 |
michael@0 | 550 | #define KEY_SCREEN 0x177 |
michael@0 | 551 | #define KEY_PC 0x178 |
michael@0 | 552 | #define KEY_TV 0x179 |
michael@0 | 553 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 554 | #define KEY_TV2 0x17a |
michael@0 | 555 | #define KEY_VCR 0x17b |
michael@0 | 556 | #define KEY_VCR2 0x17c |
michael@0 | 557 | #define KEY_SAT 0x17d |
michael@0 | 558 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 559 | #define KEY_SAT2 0x17e |
michael@0 | 560 | #define KEY_CD 0x17f |
michael@0 | 561 | #define KEY_TAPE 0x180 |
michael@0 | 562 | #define KEY_RADIO 0x181 |
michael@0 | 563 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 564 | #define KEY_TUNER 0x182 |
michael@0 | 565 | #define KEY_PLAYER 0x183 |
michael@0 | 566 | #define KEY_TEXT 0x184 |
michael@0 | 567 | #define KEY_DVD 0x185 |
michael@0 | 568 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 569 | #define KEY_AUX 0x186 |
michael@0 | 570 | #define KEY_MP3 0x187 |
michael@0 | 571 | #define KEY_AUDIO 0x188 |
michael@0 | 572 | #define KEY_VIDEO 0x189 |
michael@0 | 573 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 574 | #define KEY_DIRECTORY 0x18a |
michael@0 | 575 | #define KEY_LIST 0x18b |
michael@0 | 576 | #define KEY_MEMO 0x18c |
michael@0 | 577 | #define KEY_CALENDAR 0x18d |
michael@0 | 578 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 579 | #define KEY_RED 0x18e |
michael@0 | 580 | #define KEY_GREEN 0x18f |
michael@0 | 581 | #define KEY_YELLOW 0x190 |
michael@0 | 582 | #define KEY_BLUE 0x191 |
michael@0 | 583 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 584 | #define KEY_CHANNELUP 0x192 |
michael@0 | 585 | #define KEY_CHANNELDOWN 0x193 |
michael@0 | 586 | #define KEY_FIRST 0x194 |
michael@0 | 587 | #define KEY_LAST 0x195 |
michael@0 | 588 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 589 | #define KEY_AB 0x196 |
michael@0 | 590 | #define KEY_NEXT 0x197 |
michael@0 | 591 | #define KEY_RESTART 0x198 |
michael@0 | 592 | #define KEY_SLOW 0x199 |
michael@0 | 593 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 594 | #define KEY_SHUFFLE 0x19a |
michael@0 | 595 | #define KEY_BREAK 0x19b |
michael@0 | 596 | #define KEY_PREVIOUS 0x19c |
michael@0 | 597 | #define KEY_DIGITS 0x19d |
michael@0 | 598 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 599 | #define KEY_TEEN 0x19e |
michael@0 | 600 | #define KEY_TWEN 0x19f |
michael@0 | 601 | #define KEY_VIDEOPHONE 0x1a0 |
michael@0 | 602 | #define KEY_GAMES 0x1a1 |
michael@0 | 603 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 604 | #define KEY_ZOOMIN 0x1a2 |
michael@0 | 605 | #define KEY_ZOOMOUT 0x1a3 |
michael@0 | 606 | #define KEY_ZOOMRESET 0x1a4 |
michael@0 | 607 | #define KEY_WORDPROCESSOR 0x1a5 |
michael@0 | 608 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 609 | #define KEY_EDITOR 0x1a6 |
michael@0 | 610 | #define KEY_SPREADSHEET 0x1a7 |
michael@0 | 611 | #define KEY_GRAPHICSEDITOR 0x1a8 |
michael@0 | 612 | #define KEY_PRESENTATION 0x1a9 |
michael@0 | 613 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 614 | #define KEY_DATABASE 0x1aa |
michael@0 | 615 | #define KEY_NEWS 0x1ab |
michael@0 | 616 | #define KEY_VOICEMAIL 0x1ac |
michael@0 | 617 | #define KEY_ADDRESSBOOK 0x1ad |
michael@0 | 618 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 619 | #define KEY_MESSENGER 0x1ae |
michael@0 | 620 | #define KEY_DISPLAYTOGGLE 0x1af |
michael@0 | 621 | #define KEY_SPELLCHECK 0x1b0 |
michael@0 | 622 | #define KEY_LOGOFF 0x1b1 |
michael@0 | 623 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 624 | #define KEY_DOLLAR 0x1b2 |
michael@0 | 625 | #define KEY_EURO 0x1b3 |
michael@0 | 626 | #define KEY_FRAMEBACK 0x1b4 |
michael@0 | 627 | #define KEY_FRAMEFORWARD 0x1b5 |
michael@0 | 628 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 629 | #define KEY_CONTEXT_MENU 0x1b6 |
michael@0 | 630 | #define KEY_MEDIA_REPEAT 0x1b7 |
michael@0 | 631 | #define KEY_10CHANNELSUP 0x1b8 |
michael@0 | 632 | #define KEY_10CHANNELSDOWN 0x1b9 |
michael@0 | 633 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 634 | #define KEY_IMAGES 0x1ba |
michael@0 | 635 | #define KEY_DEL_EOL 0x1c0 |
michael@0 | 636 | #define KEY_DEL_EOS 0x1c1 |
michael@0 | 637 | #define KEY_INS_LINE 0x1c2 |
michael@0 | 638 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 639 | #define KEY_DEL_LINE 0x1c3 |
michael@0 | 640 | #define KEY_FN 0x1d0 |
michael@0 | 641 | #define KEY_FN_ESC 0x1d1 |
michael@0 | 642 | #define KEY_FN_F1 0x1d2 |
michael@0 | 643 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 644 | #define KEY_FN_F2 0x1d3 |
michael@0 | 645 | #define KEY_FN_F3 0x1d4 |
michael@0 | 646 | #define KEY_FN_F4 0x1d5 |
michael@0 | 647 | #define KEY_FN_F5 0x1d6 |
michael@0 | 648 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 649 | #define KEY_FN_F6 0x1d7 |
michael@0 | 650 | #define KEY_FN_F7 0x1d8 |
michael@0 | 651 | #define KEY_FN_F8 0x1d9 |
michael@0 | 652 | #define KEY_FN_F9 0x1da |
michael@0 | 653 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 654 | #define KEY_FN_F10 0x1db |
michael@0 | 655 | #define KEY_FN_F11 0x1dc |
michael@0 | 656 | #define KEY_FN_F12 0x1dd |
michael@0 | 657 | #define KEY_FN_1 0x1de |
michael@0 | 658 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 659 | #define KEY_FN_2 0x1df |
michael@0 | 660 | #define KEY_FN_D 0x1e0 |
michael@0 | 661 | #define KEY_FN_E 0x1e1 |
michael@0 | 662 | #define KEY_FN_F 0x1e2 |
michael@0 | 663 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 664 | #define KEY_FN_S 0x1e3 |
michael@0 | 665 | #define KEY_FN_B 0x1e4 |
michael@0 | 666 | #define KEY_BRL_DOT1 0x1f1 |
michael@0 | 667 | #define KEY_BRL_DOT2 0x1f2 |
michael@0 | 668 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 669 | #define KEY_BRL_DOT3 0x1f3 |
michael@0 | 670 | #define KEY_BRL_DOT4 0x1f4 |
michael@0 | 671 | #define KEY_BRL_DOT5 0x1f5 |
michael@0 | 672 | #define KEY_BRL_DOT6 0x1f6 |
michael@0 | 673 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 674 | #define KEY_BRL_DOT7 0x1f7 |
michael@0 | 675 | #define KEY_BRL_DOT8 0x1f8 |
michael@0 | 676 | #define KEY_BRL_DOT9 0x1f9 |
michael@0 | 677 | #define KEY_BRL_DOT10 0x1fa |
michael@0 | 678 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 679 | #define KEY_NUMERIC_0 0x200 |
michael@0 | 680 | #define KEY_NUMERIC_1 0x201 |
michael@0 | 681 | #define KEY_NUMERIC_2 0x202 |
michael@0 | 682 | #define KEY_NUMERIC_3 0x203 |
michael@0 | 683 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 684 | #define KEY_NUMERIC_4 0x204 |
michael@0 | 685 | #define KEY_NUMERIC_5 0x205 |
michael@0 | 686 | #define KEY_NUMERIC_6 0x206 |
michael@0 | 687 | #define KEY_NUMERIC_7 0x207 |
michael@0 | 688 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 689 | #define KEY_NUMERIC_8 0x208 |
michael@0 | 690 | #define KEY_NUMERIC_9 0x209 |
michael@0 | 691 | #define KEY_NUMERIC_STAR 0x20a |
michael@0 | 692 | #define KEY_NUMERIC_POUND 0x20b |
michael@0 | 693 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 694 | #define KEY_CAMERA_SNAPSHOT 0x2fe |
michael@0 | 695 | #define KEY_CAMERA_FOCUS 0x210 |
michael@0 | 696 | #define KEY_WPS_BUTTON 0x211 |
michael@0 | 697 | #define KEY_TOUCHPAD_TOGGLE 0x212 |
michael@0 | 698 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 699 | #define KEY_TOUCHPAD_ON 0x213 |
michael@0 | 700 | #define KEY_TOUCHPAD_OFF 0x214 |
michael@0 | 701 | #define KEY_CAMERA_ZOOMIN 0x215 |
michael@0 | 702 | #define KEY_CAMERA_ZOOMOUT 0x216 |
michael@0 | 703 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 704 | #define KEY_CAMERA_UP 0x217 |
michael@0 | 705 | #define KEY_CAMERA_DOWN 0x218 |
michael@0 | 706 | #define KEY_CAMERA_LEFT 0x219 |
michael@0 | 707 | #define KEY_CAMERA_RIGHT 0x21a |
michael@0 | 708 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 709 | #define BTN_TRIGGER_HAPPY 0x2c0 |
michael@0 | 710 | #define BTN_TRIGGER_HAPPY1 0x2c0 |
michael@0 | 711 | #define BTN_TRIGGER_HAPPY2 0x2c1 |
michael@0 | 712 | #define BTN_TRIGGER_HAPPY3 0x2c2 |
michael@0 | 713 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 714 | #define BTN_TRIGGER_HAPPY4 0x2c3 |
michael@0 | 715 | #define BTN_TRIGGER_HAPPY5 0x2c4 |
michael@0 | 716 | #define BTN_TRIGGER_HAPPY6 0x2c5 |
michael@0 | 717 | #define BTN_TRIGGER_HAPPY7 0x2c6 |
michael@0 | 718 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 719 | #define BTN_TRIGGER_HAPPY8 0x2c7 |
michael@0 | 720 | #define BTN_TRIGGER_HAPPY9 0x2c8 |
michael@0 | 721 | #define BTN_TRIGGER_HAPPY10 0x2c9 |
michael@0 | 722 | #define BTN_TRIGGER_HAPPY11 0x2ca |
michael@0 | 723 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 724 | #define BTN_TRIGGER_HAPPY12 0x2cb |
michael@0 | 725 | #define BTN_TRIGGER_HAPPY13 0x2cc |
michael@0 | 726 | #define BTN_TRIGGER_HAPPY14 0x2cd |
michael@0 | 727 | #define BTN_TRIGGER_HAPPY15 0x2ce |
michael@0 | 728 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 729 | #define BTN_TRIGGER_HAPPY16 0x2cf |
michael@0 | 730 | #define BTN_TRIGGER_HAPPY17 0x2d0 |
michael@0 | 731 | #define BTN_TRIGGER_HAPPY18 0x2d1 |
michael@0 | 732 | #define BTN_TRIGGER_HAPPY19 0x2d2 |
michael@0 | 733 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 734 | #define BTN_TRIGGER_HAPPY20 0x2d3 |
michael@0 | 735 | #define BTN_TRIGGER_HAPPY21 0x2d4 |
michael@0 | 736 | #define BTN_TRIGGER_HAPPY22 0x2d5 |
michael@0 | 737 | #define BTN_TRIGGER_HAPPY23 0x2d6 |
michael@0 | 738 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 739 | #define BTN_TRIGGER_HAPPY24 0x2d7 |
michael@0 | 740 | #define BTN_TRIGGER_HAPPY25 0x2d8 |
michael@0 | 741 | #define BTN_TRIGGER_HAPPY26 0x2d9 |
michael@0 | 742 | #define BTN_TRIGGER_HAPPY27 0x2da |
michael@0 | 743 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 744 | #define BTN_TRIGGER_HAPPY28 0x2db |
michael@0 | 745 | #define BTN_TRIGGER_HAPPY29 0x2dc |
michael@0 | 746 | #define BTN_TRIGGER_HAPPY30 0x2dd |
michael@0 | 747 | #define BTN_TRIGGER_HAPPY31 0x2de |
michael@0 | 748 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 749 | #define BTN_TRIGGER_HAPPY32 0x2df |
michael@0 | 750 | #define BTN_TRIGGER_HAPPY33 0x2e0 |
michael@0 | 751 | #define BTN_TRIGGER_HAPPY34 0x2e1 |
michael@0 | 752 | #define BTN_TRIGGER_HAPPY35 0x2e2 |
michael@0 | 753 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 754 | #define BTN_TRIGGER_HAPPY36 0x2e3 |
michael@0 | 755 | #define BTN_TRIGGER_HAPPY37 0x2e4 |
michael@0 | 756 | #define BTN_TRIGGER_HAPPY38 0x2e5 |
michael@0 | 757 | #define BTN_TRIGGER_HAPPY39 0x2e6 |
michael@0 | 758 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 759 | #define BTN_TRIGGER_HAPPY40 0x2e7 |
michael@0 | 760 | #define KEY_MIN_INTERESTING KEY_MUTE |
michael@0 | 761 | #define KEY_MAX 0x2ff |
michael@0 | 762 | #define KEY_CNT (KEY_MAX+1) |
michael@0 | 763 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 764 | #define REL_X 0x00 |
michael@0 | 765 | #define REL_Y 0x01 |
michael@0 | 766 | #define REL_Z 0x02 |
michael@0 | 767 | #define REL_RX 0x03 |
michael@0 | 768 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 769 | #define REL_RY 0x04 |
michael@0 | 770 | #define REL_RZ 0x05 |
michael@0 | 771 | #define REL_HWHEEL 0x06 |
michael@0 | 772 | #define REL_DIAL 0x07 |
michael@0 | 773 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 774 | #define REL_WHEEL 0x08 |
michael@0 | 775 | #define REL_MISC 0x09 |
michael@0 | 776 | #define REL_MAX 0x0f |
michael@0 | 777 | #define REL_CNT (REL_MAX+1) |
michael@0 | 778 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 779 | #define ABS_X 0x00 |
michael@0 | 780 | #define ABS_Y 0x01 |
michael@0 | 781 | #define ABS_Z 0x02 |
michael@0 | 782 | #define ABS_RX 0x03 |
michael@0 | 783 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 784 | #define ABS_RY 0x04 |
michael@0 | 785 | #define ABS_RZ 0x05 |
michael@0 | 786 | #define ABS_THROTTLE 0x06 |
michael@0 | 787 | #define ABS_RUDDER 0x07 |
michael@0 | 788 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 789 | #define ABS_WHEEL 0x08 |
michael@0 | 790 | #define ABS_GAS 0x09 |
michael@0 | 791 | #define ABS_BRAKE 0x0a |
michael@0 | 792 | #define ABS_HAT0X 0x10 |
michael@0 | 793 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 794 | #define ABS_HAT0Y 0x11 |
michael@0 | 795 | #define ABS_HAT1X 0x12 |
michael@0 | 796 | #define ABS_HAT1Y 0x13 |
michael@0 | 797 | #define ABS_HAT2X 0x14 |
michael@0 | 798 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 799 | #define ABS_HAT2Y 0x15 |
michael@0 | 800 | #define ABS_HAT3X 0x16 |
michael@0 | 801 | #define ABS_HAT3Y 0x17 |
michael@0 | 802 | #define ABS_PRESSURE 0x18 |
michael@0 | 803 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 804 | #define ABS_DISTANCE 0x19 |
michael@0 | 805 | #define ABS_TILT_X 0x1a |
michael@0 | 806 | #define ABS_TILT_Y 0x1b |
michael@0 | 807 | #define ABS_TOOL_WIDTH 0x1c |
michael@0 | 808 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 809 | #define ABS_VOLUME 0x20 |
michael@0 | 810 | #define ABS_MISC 0x28 |
michael@0 | 811 | #define ABS_MT_SLOT 0x2f |
michael@0 | 812 | #define ABS_MT_TOUCH_MAJOR 0x30 |
michael@0 | 813 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 814 | #define ABS_MT_TOUCH_MINOR 0x31 |
michael@0 | 815 | #define ABS_MT_WIDTH_MAJOR 0x32 |
michael@0 | 816 | #define ABS_MT_WIDTH_MINOR 0x33 |
michael@0 | 817 | #define ABS_MT_ORIENTATION 0x34 |
michael@0 | 818 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 819 | #define ABS_MT_POSITION_X 0x35 |
michael@0 | 820 | #define ABS_MT_POSITION_Y 0x36 |
michael@0 | 821 | #define ABS_MT_TOOL_TYPE 0x37 |
michael@0 | 822 | #define ABS_MT_BLOB_ID 0x38 |
michael@0 | 823 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 824 | #define ABS_MT_TRACKING_ID 0x39 |
michael@0 | 825 | #define ABS_MT_PRESSURE 0x3a |
michael@0 | 826 | #define ABS_MT_DISTANCE 0x3b |
michael@0 | 827 | #define ABS_MAX 0x3f |
michael@0 | 828 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 829 | #define ABS_CNT (ABS_MAX+1) |
michael@0 | 830 | #define SW_LID 0x00 |
michael@0 | 831 | #define SW_TABLET_MODE 0x01 |
michael@0 | 832 | #define SW_HEADPHONE_INSERT 0x02 |
michael@0 | 833 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 834 | #define SW_RFKILL_ALL 0x03 |
michael@0 | 835 | #define SW_RADIO SW_RFKILL_ALL |
michael@0 | 836 | #define SW_MICROPHONE_INSERT 0x04 |
michael@0 | 837 | #define SW_DOCK 0x05 |
michael@0 | 838 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 839 | #define SW_LINEOUT_INSERT 0x06 |
michael@0 | 840 | #define SW_JACK_PHYSICAL_INSERT 0x07 |
michael@0 | 841 | #define SW_VIDEOOUT_INSERT 0x08 |
michael@0 | 842 | #define SW_CAMERA_LENS_COVER 0x09 |
michael@0 | 843 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 844 | #define SW_KEYPAD_SLIDE 0x0a |
michael@0 | 845 | #define SW_FRONT_PROXIMITY 0x0b |
michael@0 | 846 | #define SW_ROTATE_LOCK 0x0c |
michael@0 | 847 | #define SW_LINEIN_INSERT 0x0d |
michael@0 | 848 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 849 | #define SW_HPHL_OVERCURRENT 0x0e |
michael@0 | 850 | #define SW_HPHR_OVERCURRENT 0x0f |
michael@0 | 851 | #define SW_UNSUPPORT_INSERT 0x10 |
michael@0 | 852 | #define SW_MAX 0x20 |
michael@0 | 853 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 854 | #define SW_CNT (SW_MAX+1) |
michael@0 | 855 | #define MSC_SERIAL 0x00 |
michael@0 | 856 | #define MSC_PULSELED 0x01 |
michael@0 | 857 | #define MSC_GESTURE 0x02 |
michael@0 | 858 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 859 | #define MSC_RAW 0x03 |
michael@0 | 860 | #define MSC_SCAN 0x04 |
michael@0 | 861 | #define MSC_MAX 0x07 |
michael@0 | 862 | #define MSC_CNT (MSC_MAX+1) |
michael@0 | 863 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 864 | #define LED_NUML 0x00 |
michael@0 | 865 | #define LED_CAPSL 0x01 |
michael@0 | 866 | #define LED_SCROLLL 0x02 |
michael@0 | 867 | #define LED_COMPOSE 0x03 |
michael@0 | 868 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 869 | #define LED_KANA 0x04 |
michael@0 | 870 | #define LED_SLEEP 0x05 |
michael@0 | 871 | #define LED_SUSPEND 0x06 |
michael@0 | 872 | #define LED_MUTE 0x07 |
michael@0 | 873 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 874 | #define LED_MISC 0x08 |
michael@0 | 875 | #define LED_MAIL 0x09 |
michael@0 | 876 | #define LED_CHARGING 0x0a |
michael@0 | 877 | #define LED_MAX 0x0f |
michael@0 | 878 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 879 | #define LED_CNT (LED_MAX+1) |
michael@0 | 880 | #define REP_DELAY 0x00 |
michael@0 | 881 | #define REP_PERIOD 0x01 |
michael@0 | 882 | #define REP_MAX 0x01 |
michael@0 | 883 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 884 | #define REP_CNT (REP_MAX+1) |
michael@0 | 885 | #define SND_CLICK 0x00 |
michael@0 | 886 | #define SND_BELL 0x01 |
michael@0 | 887 | #define SND_TONE 0x02 |
michael@0 | 888 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 889 | #define SND_MAX 0x07 |
michael@0 | 890 | #define SND_CNT (SND_MAX+1) |
michael@0 | 891 | #define ID_BUS 0 |
michael@0 | 892 | #define ID_VENDOR 1 |
michael@0 | 893 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 894 | #define ID_PRODUCT 2 |
michael@0 | 895 | #define ID_VERSION 3 |
michael@0 | 896 | #define BUS_PCI 0x01 |
michael@0 | 897 | #define BUS_ISAPNP 0x02 |
michael@0 | 898 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 899 | #define BUS_USB 0x03 |
michael@0 | 900 | #define BUS_HIL 0x04 |
michael@0 | 901 | #define BUS_BLUETOOTH 0x05 |
michael@0 | 902 | #define BUS_VIRTUAL 0x06 |
michael@0 | 903 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 904 | #define BUS_ISA 0x10 |
michael@0 | 905 | #define BUS_I8042 0x11 |
michael@0 | 906 | #define BUS_XTKBD 0x12 |
michael@0 | 907 | #define BUS_RS232 0x13 |
michael@0 | 908 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 909 | #define BUS_GAMEPORT 0x14 |
michael@0 | 910 | #define BUS_PARPORT 0x15 |
michael@0 | 911 | #define BUS_AMIGA 0x16 |
michael@0 | 912 | #define BUS_ADB 0x17 |
michael@0 | 913 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 914 | #define BUS_I2C 0x18 |
michael@0 | 915 | #define BUS_HOST 0x19 |
michael@0 | 916 | #define BUS_GSC 0x1A |
michael@0 | 917 | #define BUS_ATARI 0x1B |
michael@0 | 918 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 919 | #define BUS_SPI 0x1C |
michael@0 | 920 | #define MT_TOOL_FINGER 0 |
michael@0 | 921 | #define MT_TOOL_PEN 1 |
michael@0 | 922 | #define MT_TOOL_MAX 1 |
michael@0 | 923 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 924 | #define FF_STATUS_STOPPED 0x00 |
michael@0 | 925 | #define FF_STATUS_PLAYING 0x01 |
michael@0 | 926 | #define FF_STATUS_MAX 0x01 |
michael@0 | 927 | struct ff_replay { |
michael@0 | 928 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 929 | __u16 length; |
michael@0 | 930 | __u16 delay; |
michael@0 | 931 | }; |
michael@0 | 932 | struct ff_trigger { |
michael@0 | 933 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 934 | __u16 button; |
michael@0 | 935 | __u16 interval; |
michael@0 | 936 | }; |
michael@0 | 937 | struct ff_envelope { |
michael@0 | 938 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 939 | __u16 attack_length; |
michael@0 | 940 | __u16 attack_level; |
michael@0 | 941 | __u16 fade_length; |
michael@0 | 942 | __u16 fade_level; |
michael@0 | 943 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 944 | }; |
michael@0 | 945 | struct ff_constant_effect { |
michael@0 | 946 | __s16 level; |
michael@0 | 947 | struct ff_envelope envelope; |
michael@0 | 948 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 949 | }; |
michael@0 | 950 | struct ff_ramp_effect { |
michael@0 | 951 | __s16 start_level; |
michael@0 | 952 | __s16 end_level; |
michael@0 | 953 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 954 | struct ff_envelope envelope; |
michael@0 | 955 | }; |
michael@0 | 956 | struct ff_condition_effect { |
michael@0 | 957 | __u16 right_saturation; |
michael@0 | 958 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 959 | __u16 left_saturation; |
michael@0 | 960 | __s16 right_coeff; |
michael@0 | 961 | __s16 left_coeff; |
michael@0 | 962 | __u16 deadband; |
michael@0 | 963 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 964 | __s16 center; |
michael@0 | 965 | }; |
michael@0 | 966 | struct ff_periodic_effect { |
michael@0 | 967 | __u16 waveform; |
michael@0 | 968 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 969 | __u16 period; |
michael@0 | 970 | __s16 magnitude; |
michael@0 | 971 | __s16 offset; |
michael@0 | 972 | __u16 phase; |
michael@0 | 973 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 974 | struct ff_envelope envelope; |
michael@0 | 975 | __u32 custom_len; |
michael@0 | 976 | __s16 __user *custom_data; |
michael@0 | 977 | }; |
michael@0 | 978 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 979 | struct ff_rumble_effect { |
michael@0 | 980 | __u16 strong_magnitude; |
michael@0 | 981 | __u16 weak_magnitude; |
michael@0 | 982 | }; |
michael@0 | 983 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 984 | struct ff_effect { |
michael@0 | 985 | __u16 type; |
michael@0 | 986 | __s16 id; |
michael@0 | 987 | __u16 direction; |
michael@0 | 988 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 989 | struct ff_trigger trigger; |
michael@0 | 990 | struct ff_replay replay; |
michael@0 | 991 | union { |
michael@0 | 992 | struct ff_constant_effect constant; |
michael@0 | 993 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 994 | struct ff_ramp_effect ramp; |
michael@0 | 995 | struct ff_periodic_effect periodic; |
michael@0 | 996 | struct ff_condition_effect condition[2]; |
michael@0 | 997 | struct ff_rumble_effect rumble; |
michael@0 | 998 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 999 | } u; |
michael@0 | 1000 | }; |
michael@0 | 1001 | #define FF_RUMBLE 0x50 |
michael@0 | 1002 | #define FF_PERIODIC 0x51 |
michael@0 | 1003 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 1004 | #define FF_CONSTANT 0x52 |
michael@0 | 1005 | #define FF_SPRING 0x53 |
michael@0 | 1006 | #define FF_FRICTION 0x54 |
michael@0 | 1007 | #define FF_DAMPER 0x55 |
michael@0 | 1008 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 1009 | #define FF_INERTIA 0x56 |
michael@0 | 1010 | #define FF_RAMP 0x57 |
michael@0 | 1011 | #define FF_EFFECT_MIN FF_RUMBLE |
michael@0 | 1012 | #define FF_EFFECT_MAX FF_RAMP |
michael@0 | 1013 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 1014 | #define FF_SQUARE 0x58 |
michael@0 | 1015 | #define FF_TRIANGLE 0x59 |
michael@0 | 1016 | #define FF_SINE 0x5a |
michael@0 | 1017 | #define FF_SAW_UP 0x5b |
michael@0 | 1018 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 1019 | #define FF_SAW_DOWN 0x5c |
michael@0 | 1020 | #define FF_CUSTOM 0x5d |
michael@0 | 1021 | #define FF_WAVEFORM_MIN FF_SQUARE |
michael@0 | 1022 | #define FF_WAVEFORM_MAX FF_CUSTOM |
michael@0 | 1023 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 1024 | #define FF_GAIN 0x60 |
michael@0 | 1025 | #define FF_AUTOCENTER 0x61 |
michael@0 | 1026 | #define FF_MAX 0x7f |
michael@0 | 1027 | #define FF_CNT (FF_MAX+1) |
michael@0 | 1028 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
michael@0 | 1029 | #endif |