widget/gonk/libui/linux_input.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/widget/gonk/libui/linux_input.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,1029 @@
     1.4 +/****************************************************************************
     1.5 + ****************************************************************************
     1.6 + ***
     1.7 + ***   This header was automatically generated from a Linux kernel header
     1.8 + ***   of the same name, to make information necessary for userspace to
     1.9 + ***   call into the kernel available to libc.  It contains only constants,
    1.10 + ***   structures, and macros generated from the original header, and thus,
    1.11 + ***   contains no copyrightable information.
    1.12 + ***
    1.13 + ***   To edit the content of this header, modify the corresponding
    1.14 + ***   source file (e.g. under external/kernel-headers/original/) then
    1.15 + ***   run bionic/libc/kernel/tools/update_all.py
    1.16 + ***
    1.17 + ***   Any manual change here will be lost the next time this script will
    1.18 + ***   be run. You've been warned!
    1.19 + ***
    1.20 + ****************************************************************************
    1.21 + ****************************************************************************/
    1.22 +#ifndef _INPUT_H
    1.23 +#define _INPUT_H
    1.24 +#include <sys/time.h>
    1.25 +#include <sys/ioctl.h>
    1.26 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.27 +#include <sys/types.h>
    1.28 +#include <linux/types.h>
    1.29 +struct input_event {
    1.30 + struct timeval time;
    1.31 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.32 + __u16 type;
    1.33 + __u16 code;
    1.34 + __s32 value;
    1.35 +};
    1.36 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.37 +#define EV_VERSION 0x010001
    1.38 +struct input_id {
    1.39 + __u16 bustype;
    1.40 + __u16 vendor;
    1.41 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.42 + __u16 product;
    1.43 + __u16 version;
    1.44 +};
    1.45 +struct input_absinfo {
    1.46 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.47 + __s32 value;
    1.48 + __s32 minimum;
    1.49 + __s32 maximum;
    1.50 + __s32 fuzz;
    1.51 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.52 + __s32 flat;
    1.53 + __s32 resolution;
    1.54 +};
    1.55 +struct input_keymap_entry {
    1.56 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.57 +#define INPUT_KEYMAP_BY_INDEX (1 << 0)
    1.58 + __u8 flags;
    1.59 + __u8 len;
    1.60 + __u16 index;
    1.61 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.62 + __u32 keycode;
    1.63 + __u8 scancode[32];
    1.64 +};
    1.65 +#define EVIOCGVERSION _IOR('E', 0x01, int)
    1.66 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.67 +#define EVIOCGID _IOR('E', 0x02, struct input_id)
    1.68 +#define EVIOCGREP _IOR('E', 0x03, unsigned int[2])
    1.69 +#define EVIOCSREP _IOW('E', 0x03, unsigned int[2])
    1.70 +#define EVIOCGKEYCODE _IOR('E', 0x04, unsigned int[2])
    1.71 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.72 +#define EVIOCGKEYCODE_V2 _IOR('E', 0x04, struct input_keymap_entry)
    1.73 +#define EVIOCSKEYCODE _IOW('E', 0x04, unsigned int[2])
    1.74 +#define EVIOCSKEYCODE_V2 _IOW('E', 0x04, struct input_keymap_entry)
    1.75 +#define EVIOCGNAME(len) _IOC(_IOC_READ, 'E', 0x06, len)
    1.76 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.77 +#define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len)
    1.78 +#define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len)
    1.79 +#define EVIOCGPROP(len) _IOC(_IOC_READ, 'E', 0x09, len)
    1.80 +#define EVIOCGMTSLOTS(len) _IOC(_IOC_READ, 'E', 0x0a, len)
    1.81 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.82 +#define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len)
    1.83 +#define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len)
    1.84 +#define EVIOCGSND(len) _IOC(_IOC_READ, 'E', 0x1a, len)
    1.85 +#define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len)
    1.86 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.87 +#define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + (ev), len)
    1.88 +#define EVIOCGABS(abs) _IOR('E', 0x40 + (abs), struct input_absinfo)
    1.89 +#define EVIOCSABS(abs) _IOW('E', 0xc0 + (abs), struct input_absinfo)
    1.90 +#define EVIOCSFF _IOC(_IOC_WRITE, 'E', 0x80, sizeof(struct ff_effect))
    1.91 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.92 +#define EVIOCRMFF _IOW('E', 0x81, int)
    1.93 +#define EVIOCGEFFECTS _IOR('E', 0x84, int)
    1.94 +#define EVIOCGRAB _IOW('E', 0x90, int)
    1.95 +#define EVIOCGSUSPENDBLOCK _IOR('E', 0x91, int)
    1.96 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    1.97 +#define EVIOCSSUSPENDBLOCK _IOW('E', 0x91, int)
    1.98 +#define EVIOCSCLOCKID _IOW('E', 0xa0, int)
    1.99 +#define INPUT_PROP_POINTER 0x00
   1.100 +#define INPUT_PROP_DIRECT 0x01
   1.101 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.102 +#define INPUT_PROP_BUTTONPAD 0x02
   1.103 +#define INPUT_PROP_SEMI_MT 0x03
   1.104 +#define INPUT_PROP_MAX 0x1f
   1.105 +#define INPUT_PROP_CNT (INPUT_PROP_MAX + 1)
   1.106 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.107 +#define EV_SYN 0x00
   1.108 +#define EV_KEY 0x01
   1.109 +#define EV_REL 0x02
   1.110 +#define EV_ABS 0x03
   1.111 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.112 +#define EV_MSC 0x04
   1.113 +#define EV_SW 0x05
   1.114 +#define EV_LED 0x11
   1.115 +#define EV_SND 0x12
   1.116 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.117 +#define EV_REP 0x14
   1.118 +#define EV_FF 0x15
   1.119 +#define EV_PWR 0x16
   1.120 +#define EV_FF_STATUS 0x17
   1.121 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.122 +#define EV_MAX 0x1f
   1.123 +#define EV_CNT (EV_MAX+1)
   1.124 +#define SYN_REPORT 0
   1.125 +#define SYN_CONFIG 1
   1.126 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.127 +#define SYN_MT_REPORT 2
   1.128 +#define SYN_DROPPED 3
   1.129 +#define SYN_TIME_SEC 4
   1.130 +#define SYN_TIME_NSEC 5
   1.131 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.132 +#define KEY_RESERVED 0
   1.133 +#define KEY_ESC 1
   1.134 +#define KEY_1 2
   1.135 +#define KEY_2 3
   1.136 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.137 +#define KEY_3 4
   1.138 +#define KEY_4 5
   1.139 +#define KEY_5 6
   1.140 +#define KEY_6 7
   1.141 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.142 +#define KEY_7 8
   1.143 +#define KEY_8 9
   1.144 +#define KEY_9 10
   1.145 +#define KEY_0 11
   1.146 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.147 +#define KEY_MINUS 12
   1.148 +#define KEY_EQUAL 13
   1.149 +#define KEY_BACKSPACE 14
   1.150 +#define KEY_TAB 15
   1.151 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.152 +#define KEY_Q 16
   1.153 +#define KEY_W 17
   1.154 +#define KEY_E 18
   1.155 +#define KEY_R 19
   1.156 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.157 +#define KEY_T 20
   1.158 +#define KEY_Y 21
   1.159 +#define KEY_U 22
   1.160 +#define KEY_I 23
   1.161 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.162 +#define KEY_O 24
   1.163 +#define KEY_P 25
   1.164 +#define KEY_LEFTBRACE 26
   1.165 +#define KEY_RIGHTBRACE 27
   1.166 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.167 +#define KEY_ENTER 28
   1.168 +#define KEY_LEFTCTRL 29
   1.169 +#define KEY_A 30
   1.170 +#define KEY_S 31
   1.171 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.172 +#define KEY_D 32
   1.173 +#define KEY_F 33
   1.174 +#define KEY_G 34
   1.175 +#define KEY_H 35
   1.176 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.177 +#define KEY_J 36
   1.178 +#define KEY_K 37
   1.179 +#define KEY_L 38
   1.180 +#define KEY_SEMICOLON 39
   1.181 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.182 +#define KEY_APOSTROPHE 40
   1.183 +#define KEY_GRAVE 41
   1.184 +#define KEY_LEFTSHIFT 42
   1.185 +#define KEY_BACKSLASH 43
   1.186 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.187 +#define KEY_Z 44
   1.188 +#define KEY_X 45
   1.189 +#define KEY_C 46
   1.190 +#define KEY_V 47
   1.191 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.192 +#define KEY_B 48
   1.193 +#define KEY_N 49
   1.194 +#define KEY_M 50
   1.195 +#define KEY_COMMA 51
   1.196 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.197 +#define KEY_DOT 52
   1.198 +#define KEY_SLASH 53
   1.199 +#define KEY_RIGHTSHIFT 54
   1.200 +#define KEY_KPASTERISK 55
   1.201 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.202 +#define KEY_LEFTALT 56
   1.203 +#define KEY_SPACE 57
   1.204 +#define KEY_CAPSLOCK 58
   1.205 +#define KEY_F1 59
   1.206 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.207 +#define KEY_F2 60
   1.208 +#define KEY_F3 61
   1.209 +#define KEY_F4 62
   1.210 +#define KEY_F5 63
   1.211 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.212 +#define KEY_F6 64
   1.213 +#define KEY_F7 65
   1.214 +#define KEY_F8 66
   1.215 +#define KEY_F9 67
   1.216 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.217 +#define KEY_F10 68
   1.218 +#define KEY_NUMLOCK 69
   1.219 +#define KEY_SCROLLLOCK 70
   1.220 +#define KEY_KP7 71
   1.221 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.222 +#define KEY_KP8 72
   1.223 +#define KEY_KP9 73
   1.224 +#define KEY_KPMINUS 74
   1.225 +#define KEY_KP4 75
   1.226 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.227 +#define KEY_KP5 76
   1.228 +#define KEY_KP6 77
   1.229 +#define KEY_KPPLUS 78
   1.230 +#define KEY_KP1 79
   1.231 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.232 +#define KEY_KP2 80
   1.233 +#define KEY_KP3 81
   1.234 +#define KEY_KP0 82
   1.235 +#define KEY_KPDOT 83
   1.236 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.237 +#define KEY_ZENKAKUHANKAKU 85
   1.238 +#define KEY_102ND 86
   1.239 +#define KEY_F11 87
   1.240 +#define KEY_F12 88
   1.241 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.242 +#define KEY_RO 89
   1.243 +#define KEY_KATAKANA 90
   1.244 +#define KEY_HIRAGANA 91
   1.245 +#define KEY_HENKAN 92
   1.246 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.247 +#define KEY_KATAKANAHIRAGANA 93
   1.248 +#define KEY_MUHENKAN 94
   1.249 +#define KEY_KPJPCOMMA 95
   1.250 +#define KEY_KPENTER 96
   1.251 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.252 +#define KEY_RIGHTCTRL 97
   1.253 +#define KEY_KPSLASH 98
   1.254 +#define KEY_SYSRQ 99
   1.255 +#define KEY_RIGHTALT 100
   1.256 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.257 +#define KEY_LINEFEED 101
   1.258 +#define KEY_HOME 102
   1.259 +#define KEY_UP 103
   1.260 +#define KEY_PAGEUP 104
   1.261 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.262 +#define KEY_LEFT 105
   1.263 +#define KEY_RIGHT 106
   1.264 +#define KEY_END 107
   1.265 +#define KEY_DOWN 108
   1.266 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.267 +#define KEY_PAGEDOWN 109
   1.268 +#define KEY_INSERT 110
   1.269 +#define KEY_DELETE 111
   1.270 +#define KEY_MACRO 112
   1.271 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.272 +#define KEY_MUTE 113
   1.273 +#define KEY_VOLUMEDOWN 114
   1.274 +#define KEY_VOLUMEUP 115
   1.275 +#define KEY_POWER 116
   1.276 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.277 +#define KEY_KPEQUAL 117
   1.278 +#define KEY_KPPLUSMINUS 118
   1.279 +#define KEY_PAUSE 119
   1.280 +#define KEY_SCALE 120
   1.281 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.282 +#define KEY_KPCOMMA 121
   1.283 +#define KEY_HANGEUL 122
   1.284 +#define KEY_HANGUEL KEY_HANGEUL
   1.285 +#define KEY_HANJA 123
   1.286 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.287 +#define KEY_YEN 124
   1.288 +#define KEY_LEFTMETA 125
   1.289 +#define KEY_RIGHTMETA 126
   1.290 +#define KEY_COMPOSE 127
   1.291 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.292 +#define KEY_STOP 128
   1.293 +#define KEY_AGAIN 129
   1.294 +#define KEY_PROPS 130
   1.295 +#define KEY_UNDO 131
   1.296 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.297 +#define KEY_FRONT 132
   1.298 +#define KEY_COPY 133
   1.299 +#define KEY_OPEN 134
   1.300 +#define KEY_PASTE 135
   1.301 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.302 +#define KEY_FIND 136
   1.303 +#define KEY_CUT 137
   1.304 +#define KEY_HELP 138
   1.305 +#define KEY_MENU 139
   1.306 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.307 +#define KEY_CALC 140
   1.308 +#define KEY_SETUP 141
   1.309 +#define KEY_SLEEP 142
   1.310 +#define KEY_WAKEUP 143
   1.311 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.312 +#define KEY_FILE 144
   1.313 +#define KEY_SENDFILE 145
   1.314 +#define KEY_DELETEFILE 146
   1.315 +#define KEY_XFER 147
   1.316 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.317 +#define KEY_PROG1 148
   1.318 +#define KEY_PROG2 149
   1.319 +#define KEY_WWW 150
   1.320 +#define KEY_MSDOS 151
   1.321 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.322 +#define KEY_COFFEE 152
   1.323 +#define KEY_SCREENLOCK KEY_COFFEE
   1.324 +#define KEY_DIRECTION 153
   1.325 +#define KEY_CYCLEWINDOWS 154
   1.326 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.327 +#define KEY_MAIL 155
   1.328 +#define KEY_BOOKMARKS 156
   1.329 +#define KEY_COMPUTER 157
   1.330 +#define KEY_BACK 158
   1.331 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.332 +#define KEY_FORWARD 159
   1.333 +#define KEY_CLOSECD 160
   1.334 +#define KEY_EJECTCD 161
   1.335 +#define KEY_EJECTCLOSECD 162
   1.336 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.337 +#define KEY_NEXTSONG 163
   1.338 +#define KEY_PLAYPAUSE 164
   1.339 +#define KEY_PREVIOUSSONG 165
   1.340 +#define KEY_STOPCD 166
   1.341 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.342 +#define KEY_RECORD 167
   1.343 +#define KEY_REWIND 168
   1.344 +#define KEY_PHONE 169
   1.345 +#define KEY_ISO 170
   1.346 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.347 +#define KEY_CONFIG 171
   1.348 +#define KEY_HOMEPAGE 172
   1.349 +#define KEY_REFRESH 173
   1.350 +#define KEY_EXIT 174
   1.351 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.352 +#define KEY_MOVE 175
   1.353 +#define KEY_EDIT 176
   1.354 +#define KEY_SCROLLUP 177
   1.355 +#define KEY_SCROLLDOWN 178
   1.356 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.357 +#define KEY_KPLEFTPAREN 179
   1.358 +#define KEY_KPRIGHTPAREN 180
   1.359 +#define KEY_NEW 181
   1.360 +#define KEY_REDO 182
   1.361 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.362 +#define KEY_F13 183
   1.363 +#define KEY_F14 184
   1.364 +#define KEY_F15 185
   1.365 +#define KEY_F16 186
   1.366 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.367 +#define KEY_F17 187
   1.368 +#define KEY_F18 188
   1.369 +#define KEY_F19 189
   1.370 +#define KEY_F20 190
   1.371 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.372 +#define KEY_F21 191
   1.373 +#define KEY_F22 192
   1.374 +#define KEY_F23 193
   1.375 +#define KEY_F24 194
   1.376 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.377 +#define KEY_PLAYCD 200
   1.378 +#define KEY_PAUSECD 201
   1.379 +#define KEY_PROG3 202
   1.380 +#define KEY_PROG4 203
   1.381 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.382 +#define KEY_DASHBOARD 204
   1.383 +#define KEY_SUSPEND 205
   1.384 +#define KEY_CLOSE 206
   1.385 +#define KEY_PLAY 207
   1.386 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.387 +#define KEY_FASTFORWARD 208
   1.388 +#define KEY_BASSBOOST 209
   1.389 +#define KEY_PRINT 210
   1.390 +#define KEY_HP 211
   1.391 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.392 +#define KEY_CAMERA 212
   1.393 +#define KEY_SOUND 213
   1.394 +#define KEY_QUESTION 214
   1.395 +#define KEY_EMAIL 215
   1.396 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.397 +#define KEY_CHAT 216
   1.398 +#define KEY_SEARCH 217
   1.399 +#define KEY_CONNECT 218
   1.400 +#define KEY_FINANCE 219
   1.401 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.402 +#define KEY_SPORT 220
   1.403 +#define KEY_SHOP 221
   1.404 +#define KEY_ALTERASE 222
   1.405 +#define KEY_CANCEL 223
   1.406 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.407 +#define KEY_BRIGHTNESSDOWN 224
   1.408 +#define KEY_BRIGHTNESSUP 225
   1.409 +#define KEY_MEDIA 226
   1.410 +#define KEY_SWITCHVIDEOMODE 227
   1.411 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.412 +#define KEY_KBDILLUMTOGGLE 228
   1.413 +#define KEY_KBDILLUMDOWN 229
   1.414 +#define KEY_KBDILLUMUP 230
   1.415 +#define KEY_SEND 231
   1.416 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.417 +#define KEY_REPLY 232
   1.418 +#define KEY_FORWARDMAIL 233
   1.419 +#define KEY_SAVE 234
   1.420 +#define KEY_DOCUMENTS 235
   1.421 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.422 +#define KEY_BATTERY 236
   1.423 +#define KEY_BLUETOOTH 237
   1.424 +#define KEY_WLAN 238
   1.425 +#define KEY_UWB 239
   1.426 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.427 +#define KEY_UNKNOWN 240
   1.428 +#define KEY_VIDEO_NEXT 241
   1.429 +#define KEY_VIDEO_PREV 242
   1.430 +#define KEY_BRIGHTNESS_CYCLE 243
   1.431 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.432 +#define KEY_BRIGHTNESS_ZERO 244
   1.433 +#define KEY_DISPLAY_OFF 245
   1.434 +#define KEY_WIMAX 246
   1.435 +#define KEY_RFKILL 247
   1.436 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.437 +#define KEY_MICMUTE 248
   1.438 +#define BTN_MISC 0x100
   1.439 +#define BTN_0 0x100
   1.440 +#define BTN_1 0x101
   1.441 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.442 +#define BTN_2 0x102
   1.443 +#define BTN_3 0x103
   1.444 +#define BTN_4 0x104
   1.445 +#define BTN_5 0x105
   1.446 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.447 +#define BTN_6 0x106
   1.448 +#define BTN_7 0x107
   1.449 +#define BTN_8 0x108
   1.450 +#define BTN_9 0x109
   1.451 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.452 +#define BTN_MOUSE 0x110
   1.453 +#define BTN_LEFT 0x110
   1.454 +#define BTN_RIGHT 0x111
   1.455 +#define BTN_MIDDLE 0x112
   1.456 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.457 +#define BTN_SIDE 0x113
   1.458 +#define BTN_EXTRA 0x114
   1.459 +#define BTN_FORWARD 0x115
   1.460 +#define BTN_BACK 0x116
   1.461 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.462 +#define BTN_TASK 0x117
   1.463 +#define BTN_JOYSTICK 0x120
   1.464 +#define BTN_TRIGGER 0x120
   1.465 +#define BTN_THUMB 0x121
   1.466 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.467 +#define BTN_THUMB2 0x122
   1.468 +#define BTN_TOP 0x123
   1.469 +#define BTN_TOP2 0x124
   1.470 +#define BTN_PINKIE 0x125
   1.471 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.472 +#define BTN_BASE 0x126
   1.473 +#define BTN_BASE2 0x127
   1.474 +#define BTN_BASE3 0x128
   1.475 +#define BTN_BASE4 0x129
   1.476 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.477 +#define BTN_BASE5 0x12a
   1.478 +#define BTN_BASE6 0x12b
   1.479 +#define BTN_DEAD 0x12f
   1.480 +#define BTN_GAMEPAD 0x130
   1.481 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.482 +#define BTN_A 0x130
   1.483 +#define BTN_B 0x131
   1.484 +#define BTN_C 0x132
   1.485 +#define BTN_X 0x133
   1.486 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.487 +#define BTN_Y 0x134
   1.488 +#define BTN_Z 0x135
   1.489 +#define BTN_TL 0x136
   1.490 +#define BTN_TR 0x137
   1.491 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.492 +#define BTN_TL2 0x138
   1.493 +#define BTN_TR2 0x139
   1.494 +#define BTN_SELECT 0x13a
   1.495 +#define BTN_START 0x13b
   1.496 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.497 +#define BTN_MODE 0x13c
   1.498 +#define BTN_THUMBL 0x13d
   1.499 +#define BTN_THUMBR 0x13e
   1.500 +#define BTN_DIGI 0x140
   1.501 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.502 +#define BTN_TOOL_PEN 0x140
   1.503 +#define BTN_TOOL_RUBBER 0x141
   1.504 +#define BTN_TOOL_BRUSH 0x142
   1.505 +#define BTN_TOOL_PENCIL 0x143
   1.506 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.507 +#define BTN_TOOL_AIRBRUSH 0x144
   1.508 +#define BTN_TOOL_FINGER 0x145
   1.509 +#define BTN_TOOL_MOUSE 0x146
   1.510 +#define BTN_TOOL_LENS 0x147
   1.511 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.512 +#define BTN_TOOL_QUINTTAP 0x148
   1.513 +#define BTN_TOUCH 0x14a
   1.514 +#define BTN_STYLUS 0x14b
   1.515 +#define BTN_STYLUS2 0x14c
   1.516 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.517 +#define BTN_TOOL_DOUBLETAP 0x14d
   1.518 +#define BTN_TOOL_TRIPLETAP 0x14e
   1.519 +#define BTN_TOOL_QUADTAP 0x14f
   1.520 +#define BTN_WHEEL 0x150
   1.521 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.522 +#define BTN_GEAR_DOWN 0x150
   1.523 +#define BTN_GEAR_UP 0x151
   1.524 +#define KEY_OK 0x160
   1.525 +#define KEY_SELECT 0x161
   1.526 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.527 +#define KEY_GOTO 0x162
   1.528 +#define KEY_CLEAR 0x163
   1.529 +#define KEY_POWER2 0x164
   1.530 +#define KEY_OPTION 0x165
   1.531 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.532 +#define KEY_INFO 0x166
   1.533 +#define KEY_TIME 0x167
   1.534 +#define KEY_VENDOR 0x168
   1.535 +#define KEY_ARCHIVE 0x169
   1.536 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.537 +#define KEY_PROGRAM 0x16a
   1.538 +#define KEY_CHANNEL 0x16b
   1.539 +#define KEY_FAVORITES 0x16c
   1.540 +#define KEY_EPG 0x16d
   1.541 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.542 +#define KEY_PVR 0x16e
   1.543 +#define KEY_MHP 0x16f
   1.544 +#define KEY_LANGUAGE 0x170
   1.545 +#define KEY_TITLE 0x171
   1.546 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.547 +#define KEY_SUBTITLE 0x172
   1.548 +#define KEY_ANGLE 0x173
   1.549 +#define KEY_ZOOM 0x174
   1.550 +#define KEY_MODE 0x175
   1.551 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.552 +#define KEY_KEYBOARD 0x176
   1.553 +#define KEY_SCREEN 0x177
   1.554 +#define KEY_PC 0x178
   1.555 +#define KEY_TV 0x179
   1.556 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.557 +#define KEY_TV2 0x17a
   1.558 +#define KEY_VCR 0x17b
   1.559 +#define KEY_VCR2 0x17c
   1.560 +#define KEY_SAT 0x17d
   1.561 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.562 +#define KEY_SAT2 0x17e
   1.563 +#define KEY_CD 0x17f
   1.564 +#define KEY_TAPE 0x180
   1.565 +#define KEY_RADIO 0x181
   1.566 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.567 +#define KEY_TUNER 0x182
   1.568 +#define KEY_PLAYER 0x183
   1.569 +#define KEY_TEXT 0x184
   1.570 +#define KEY_DVD 0x185
   1.571 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.572 +#define KEY_AUX 0x186
   1.573 +#define KEY_MP3 0x187
   1.574 +#define KEY_AUDIO 0x188
   1.575 +#define KEY_VIDEO 0x189
   1.576 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.577 +#define KEY_DIRECTORY 0x18a
   1.578 +#define KEY_LIST 0x18b
   1.579 +#define KEY_MEMO 0x18c
   1.580 +#define KEY_CALENDAR 0x18d
   1.581 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.582 +#define KEY_RED 0x18e
   1.583 +#define KEY_GREEN 0x18f
   1.584 +#define KEY_YELLOW 0x190
   1.585 +#define KEY_BLUE 0x191
   1.586 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.587 +#define KEY_CHANNELUP 0x192
   1.588 +#define KEY_CHANNELDOWN 0x193
   1.589 +#define KEY_FIRST 0x194
   1.590 +#define KEY_LAST 0x195
   1.591 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.592 +#define KEY_AB 0x196
   1.593 +#define KEY_NEXT 0x197
   1.594 +#define KEY_RESTART 0x198
   1.595 +#define KEY_SLOW 0x199
   1.596 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.597 +#define KEY_SHUFFLE 0x19a
   1.598 +#define KEY_BREAK 0x19b
   1.599 +#define KEY_PREVIOUS 0x19c
   1.600 +#define KEY_DIGITS 0x19d
   1.601 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.602 +#define KEY_TEEN 0x19e
   1.603 +#define KEY_TWEN 0x19f
   1.604 +#define KEY_VIDEOPHONE 0x1a0
   1.605 +#define KEY_GAMES 0x1a1
   1.606 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.607 +#define KEY_ZOOMIN 0x1a2
   1.608 +#define KEY_ZOOMOUT 0x1a3
   1.609 +#define KEY_ZOOMRESET 0x1a4
   1.610 +#define KEY_WORDPROCESSOR 0x1a5
   1.611 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.612 +#define KEY_EDITOR 0x1a6
   1.613 +#define KEY_SPREADSHEET 0x1a7
   1.614 +#define KEY_GRAPHICSEDITOR 0x1a8
   1.615 +#define KEY_PRESENTATION 0x1a9
   1.616 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.617 +#define KEY_DATABASE 0x1aa
   1.618 +#define KEY_NEWS 0x1ab
   1.619 +#define KEY_VOICEMAIL 0x1ac
   1.620 +#define KEY_ADDRESSBOOK 0x1ad
   1.621 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.622 +#define KEY_MESSENGER 0x1ae
   1.623 +#define KEY_DISPLAYTOGGLE 0x1af
   1.624 +#define KEY_SPELLCHECK 0x1b0
   1.625 +#define KEY_LOGOFF 0x1b1
   1.626 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.627 +#define KEY_DOLLAR 0x1b2
   1.628 +#define KEY_EURO 0x1b3
   1.629 +#define KEY_FRAMEBACK 0x1b4
   1.630 +#define KEY_FRAMEFORWARD 0x1b5
   1.631 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.632 +#define KEY_CONTEXT_MENU 0x1b6
   1.633 +#define KEY_MEDIA_REPEAT 0x1b7
   1.634 +#define KEY_10CHANNELSUP 0x1b8
   1.635 +#define KEY_10CHANNELSDOWN 0x1b9
   1.636 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.637 +#define KEY_IMAGES 0x1ba
   1.638 +#define KEY_DEL_EOL 0x1c0
   1.639 +#define KEY_DEL_EOS 0x1c1
   1.640 +#define KEY_INS_LINE 0x1c2
   1.641 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.642 +#define KEY_DEL_LINE 0x1c3
   1.643 +#define KEY_FN 0x1d0
   1.644 +#define KEY_FN_ESC 0x1d1
   1.645 +#define KEY_FN_F1 0x1d2
   1.646 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.647 +#define KEY_FN_F2 0x1d3
   1.648 +#define KEY_FN_F3 0x1d4
   1.649 +#define KEY_FN_F4 0x1d5
   1.650 +#define KEY_FN_F5 0x1d6
   1.651 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.652 +#define KEY_FN_F6 0x1d7
   1.653 +#define KEY_FN_F7 0x1d8
   1.654 +#define KEY_FN_F8 0x1d9
   1.655 +#define KEY_FN_F9 0x1da
   1.656 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.657 +#define KEY_FN_F10 0x1db
   1.658 +#define KEY_FN_F11 0x1dc
   1.659 +#define KEY_FN_F12 0x1dd
   1.660 +#define KEY_FN_1 0x1de
   1.661 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.662 +#define KEY_FN_2 0x1df
   1.663 +#define KEY_FN_D 0x1e0
   1.664 +#define KEY_FN_E 0x1e1
   1.665 +#define KEY_FN_F 0x1e2
   1.666 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.667 +#define KEY_FN_S 0x1e3
   1.668 +#define KEY_FN_B 0x1e4
   1.669 +#define KEY_BRL_DOT1 0x1f1
   1.670 +#define KEY_BRL_DOT2 0x1f2
   1.671 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.672 +#define KEY_BRL_DOT3 0x1f3
   1.673 +#define KEY_BRL_DOT4 0x1f4
   1.674 +#define KEY_BRL_DOT5 0x1f5
   1.675 +#define KEY_BRL_DOT6 0x1f6
   1.676 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.677 +#define KEY_BRL_DOT7 0x1f7
   1.678 +#define KEY_BRL_DOT8 0x1f8
   1.679 +#define KEY_BRL_DOT9 0x1f9
   1.680 +#define KEY_BRL_DOT10 0x1fa
   1.681 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.682 +#define KEY_NUMERIC_0 0x200
   1.683 +#define KEY_NUMERIC_1 0x201
   1.684 +#define KEY_NUMERIC_2 0x202
   1.685 +#define KEY_NUMERIC_3 0x203
   1.686 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.687 +#define KEY_NUMERIC_4 0x204
   1.688 +#define KEY_NUMERIC_5 0x205
   1.689 +#define KEY_NUMERIC_6 0x206
   1.690 +#define KEY_NUMERIC_7 0x207
   1.691 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.692 +#define KEY_NUMERIC_8 0x208
   1.693 +#define KEY_NUMERIC_9 0x209
   1.694 +#define KEY_NUMERIC_STAR 0x20a
   1.695 +#define KEY_NUMERIC_POUND 0x20b
   1.696 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.697 +#define KEY_CAMERA_SNAPSHOT 0x2fe
   1.698 +#define KEY_CAMERA_FOCUS 0x210
   1.699 +#define KEY_WPS_BUTTON 0x211
   1.700 +#define KEY_TOUCHPAD_TOGGLE 0x212
   1.701 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.702 +#define KEY_TOUCHPAD_ON 0x213
   1.703 +#define KEY_TOUCHPAD_OFF 0x214
   1.704 +#define KEY_CAMERA_ZOOMIN 0x215
   1.705 +#define KEY_CAMERA_ZOOMOUT 0x216
   1.706 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.707 +#define KEY_CAMERA_UP 0x217
   1.708 +#define KEY_CAMERA_DOWN 0x218
   1.709 +#define KEY_CAMERA_LEFT 0x219
   1.710 +#define KEY_CAMERA_RIGHT 0x21a
   1.711 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.712 +#define BTN_TRIGGER_HAPPY 0x2c0
   1.713 +#define BTN_TRIGGER_HAPPY1 0x2c0
   1.714 +#define BTN_TRIGGER_HAPPY2 0x2c1
   1.715 +#define BTN_TRIGGER_HAPPY3 0x2c2
   1.716 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.717 +#define BTN_TRIGGER_HAPPY4 0x2c3
   1.718 +#define BTN_TRIGGER_HAPPY5 0x2c4
   1.719 +#define BTN_TRIGGER_HAPPY6 0x2c5
   1.720 +#define BTN_TRIGGER_HAPPY7 0x2c6
   1.721 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.722 +#define BTN_TRIGGER_HAPPY8 0x2c7
   1.723 +#define BTN_TRIGGER_HAPPY9 0x2c8
   1.724 +#define BTN_TRIGGER_HAPPY10 0x2c9
   1.725 +#define BTN_TRIGGER_HAPPY11 0x2ca
   1.726 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.727 +#define BTN_TRIGGER_HAPPY12 0x2cb
   1.728 +#define BTN_TRIGGER_HAPPY13 0x2cc
   1.729 +#define BTN_TRIGGER_HAPPY14 0x2cd
   1.730 +#define BTN_TRIGGER_HAPPY15 0x2ce
   1.731 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.732 +#define BTN_TRIGGER_HAPPY16 0x2cf
   1.733 +#define BTN_TRIGGER_HAPPY17 0x2d0
   1.734 +#define BTN_TRIGGER_HAPPY18 0x2d1
   1.735 +#define BTN_TRIGGER_HAPPY19 0x2d2
   1.736 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.737 +#define BTN_TRIGGER_HAPPY20 0x2d3
   1.738 +#define BTN_TRIGGER_HAPPY21 0x2d4
   1.739 +#define BTN_TRIGGER_HAPPY22 0x2d5
   1.740 +#define BTN_TRIGGER_HAPPY23 0x2d6
   1.741 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.742 +#define BTN_TRIGGER_HAPPY24 0x2d7
   1.743 +#define BTN_TRIGGER_HAPPY25 0x2d8
   1.744 +#define BTN_TRIGGER_HAPPY26 0x2d9
   1.745 +#define BTN_TRIGGER_HAPPY27 0x2da
   1.746 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.747 +#define BTN_TRIGGER_HAPPY28 0x2db
   1.748 +#define BTN_TRIGGER_HAPPY29 0x2dc
   1.749 +#define BTN_TRIGGER_HAPPY30 0x2dd
   1.750 +#define BTN_TRIGGER_HAPPY31 0x2de
   1.751 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.752 +#define BTN_TRIGGER_HAPPY32 0x2df
   1.753 +#define BTN_TRIGGER_HAPPY33 0x2e0
   1.754 +#define BTN_TRIGGER_HAPPY34 0x2e1
   1.755 +#define BTN_TRIGGER_HAPPY35 0x2e2
   1.756 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.757 +#define BTN_TRIGGER_HAPPY36 0x2e3
   1.758 +#define BTN_TRIGGER_HAPPY37 0x2e4
   1.759 +#define BTN_TRIGGER_HAPPY38 0x2e5
   1.760 +#define BTN_TRIGGER_HAPPY39 0x2e6
   1.761 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.762 +#define BTN_TRIGGER_HAPPY40 0x2e7
   1.763 +#define KEY_MIN_INTERESTING KEY_MUTE
   1.764 +#define KEY_MAX 0x2ff
   1.765 +#define KEY_CNT (KEY_MAX+1)
   1.766 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.767 +#define REL_X 0x00
   1.768 +#define REL_Y 0x01
   1.769 +#define REL_Z 0x02
   1.770 +#define REL_RX 0x03
   1.771 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.772 +#define REL_RY 0x04
   1.773 +#define REL_RZ 0x05
   1.774 +#define REL_HWHEEL 0x06
   1.775 +#define REL_DIAL 0x07
   1.776 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.777 +#define REL_WHEEL 0x08
   1.778 +#define REL_MISC 0x09
   1.779 +#define REL_MAX 0x0f
   1.780 +#define REL_CNT (REL_MAX+1)
   1.781 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.782 +#define ABS_X 0x00
   1.783 +#define ABS_Y 0x01
   1.784 +#define ABS_Z 0x02
   1.785 +#define ABS_RX 0x03
   1.786 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.787 +#define ABS_RY 0x04
   1.788 +#define ABS_RZ 0x05
   1.789 +#define ABS_THROTTLE 0x06
   1.790 +#define ABS_RUDDER 0x07
   1.791 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.792 +#define ABS_WHEEL 0x08
   1.793 +#define ABS_GAS 0x09
   1.794 +#define ABS_BRAKE 0x0a
   1.795 +#define ABS_HAT0X 0x10
   1.796 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.797 +#define ABS_HAT0Y 0x11
   1.798 +#define ABS_HAT1X 0x12
   1.799 +#define ABS_HAT1Y 0x13
   1.800 +#define ABS_HAT2X 0x14
   1.801 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.802 +#define ABS_HAT2Y 0x15
   1.803 +#define ABS_HAT3X 0x16
   1.804 +#define ABS_HAT3Y 0x17
   1.805 +#define ABS_PRESSURE 0x18
   1.806 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.807 +#define ABS_DISTANCE 0x19
   1.808 +#define ABS_TILT_X 0x1a
   1.809 +#define ABS_TILT_Y 0x1b
   1.810 +#define ABS_TOOL_WIDTH 0x1c
   1.811 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.812 +#define ABS_VOLUME 0x20
   1.813 +#define ABS_MISC 0x28
   1.814 +#define ABS_MT_SLOT 0x2f
   1.815 +#define ABS_MT_TOUCH_MAJOR 0x30
   1.816 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.817 +#define ABS_MT_TOUCH_MINOR 0x31
   1.818 +#define ABS_MT_WIDTH_MAJOR 0x32
   1.819 +#define ABS_MT_WIDTH_MINOR 0x33
   1.820 +#define ABS_MT_ORIENTATION 0x34
   1.821 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.822 +#define ABS_MT_POSITION_X 0x35
   1.823 +#define ABS_MT_POSITION_Y 0x36
   1.824 +#define ABS_MT_TOOL_TYPE 0x37
   1.825 +#define ABS_MT_BLOB_ID 0x38
   1.826 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.827 +#define ABS_MT_TRACKING_ID 0x39
   1.828 +#define ABS_MT_PRESSURE 0x3a
   1.829 +#define ABS_MT_DISTANCE 0x3b
   1.830 +#define ABS_MAX 0x3f
   1.831 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.832 +#define ABS_CNT (ABS_MAX+1)
   1.833 +#define SW_LID 0x00
   1.834 +#define SW_TABLET_MODE 0x01
   1.835 +#define SW_HEADPHONE_INSERT 0x02
   1.836 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.837 +#define SW_RFKILL_ALL 0x03
   1.838 +#define SW_RADIO SW_RFKILL_ALL
   1.839 +#define SW_MICROPHONE_INSERT 0x04
   1.840 +#define SW_DOCK 0x05
   1.841 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.842 +#define SW_LINEOUT_INSERT 0x06
   1.843 +#define SW_JACK_PHYSICAL_INSERT 0x07
   1.844 +#define SW_VIDEOOUT_INSERT 0x08
   1.845 +#define SW_CAMERA_LENS_COVER 0x09
   1.846 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.847 +#define SW_KEYPAD_SLIDE 0x0a
   1.848 +#define SW_FRONT_PROXIMITY 0x0b
   1.849 +#define SW_ROTATE_LOCK 0x0c
   1.850 +#define SW_LINEIN_INSERT 0x0d
   1.851 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.852 +#define SW_HPHL_OVERCURRENT 0x0e
   1.853 +#define SW_HPHR_OVERCURRENT 0x0f
   1.854 +#define SW_UNSUPPORT_INSERT 0x10
   1.855 +#define SW_MAX 0x20
   1.856 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.857 +#define SW_CNT (SW_MAX+1)
   1.858 +#define MSC_SERIAL 0x00
   1.859 +#define MSC_PULSELED 0x01
   1.860 +#define MSC_GESTURE 0x02
   1.861 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.862 +#define MSC_RAW 0x03
   1.863 +#define MSC_SCAN 0x04
   1.864 +#define MSC_MAX 0x07
   1.865 +#define MSC_CNT (MSC_MAX+1)
   1.866 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.867 +#define LED_NUML 0x00
   1.868 +#define LED_CAPSL 0x01
   1.869 +#define LED_SCROLLL 0x02
   1.870 +#define LED_COMPOSE 0x03
   1.871 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.872 +#define LED_KANA 0x04
   1.873 +#define LED_SLEEP 0x05
   1.874 +#define LED_SUSPEND 0x06
   1.875 +#define LED_MUTE 0x07
   1.876 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.877 +#define LED_MISC 0x08
   1.878 +#define LED_MAIL 0x09
   1.879 +#define LED_CHARGING 0x0a
   1.880 +#define LED_MAX 0x0f
   1.881 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.882 +#define LED_CNT (LED_MAX+1)
   1.883 +#define REP_DELAY 0x00
   1.884 +#define REP_PERIOD 0x01
   1.885 +#define REP_MAX 0x01
   1.886 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.887 +#define REP_CNT (REP_MAX+1)
   1.888 +#define SND_CLICK 0x00
   1.889 +#define SND_BELL 0x01
   1.890 +#define SND_TONE 0x02
   1.891 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.892 +#define SND_MAX 0x07
   1.893 +#define SND_CNT (SND_MAX+1)
   1.894 +#define ID_BUS 0
   1.895 +#define ID_VENDOR 1
   1.896 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.897 +#define ID_PRODUCT 2
   1.898 +#define ID_VERSION 3
   1.899 +#define BUS_PCI 0x01
   1.900 +#define BUS_ISAPNP 0x02
   1.901 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.902 +#define BUS_USB 0x03
   1.903 +#define BUS_HIL 0x04
   1.904 +#define BUS_BLUETOOTH 0x05
   1.905 +#define BUS_VIRTUAL 0x06
   1.906 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.907 +#define BUS_ISA 0x10
   1.908 +#define BUS_I8042 0x11
   1.909 +#define BUS_XTKBD 0x12
   1.910 +#define BUS_RS232 0x13
   1.911 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.912 +#define BUS_GAMEPORT 0x14
   1.913 +#define BUS_PARPORT 0x15
   1.914 +#define BUS_AMIGA 0x16
   1.915 +#define BUS_ADB 0x17
   1.916 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.917 +#define BUS_I2C 0x18
   1.918 +#define BUS_HOST 0x19
   1.919 +#define BUS_GSC 0x1A
   1.920 +#define BUS_ATARI 0x1B
   1.921 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.922 +#define BUS_SPI 0x1C
   1.923 +#define MT_TOOL_FINGER 0
   1.924 +#define MT_TOOL_PEN 1
   1.925 +#define MT_TOOL_MAX 1
   1.926 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.927 +#define FF_STATUS_STOPPED 0x00
   1.928 +#define FF_STATUS_PLAYING 0x01
   1.929 +#define FF_STATUS_MAX 0x01
   1.930 +struct ff_replay {
   1.931 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.932 + __u16 length;
   1.933 + __u16 delay;
   1.934 +};
   1.935 +struct ff_trigger {
   1.936 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.937 + __u16 button;
   1.938 + __u16 interval;
   1.939 +};
   1.940 +struct ff_envelope {
   1.941 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.942 + __u16 attack_length;
   1.943 + __u16 attack_level;
   1.944 + __u16 fade_length;
   1.945 + __u16 fade_level;
   1.946 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.947 +};
   1.948 +struct ff_constant_effect {
   1.949 + __s16 level;
   1.950 + struct ff_envelope envelope;
   1.951 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.952 +};
   1.953 +struct ff_ramp_effect {
   1.954 + __s16 start_level;
   1.955 + __s16 end_level;
   1.956 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.957 + struct ff_envelope envelope;
   1.958 +};
   1.959 +struct ff_condition_effect {
   1.960 + __u16 right_saturation;
   1.961 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.962 + __u16 left_saturation;
   1.963 + __s16 right_coeff;
   1.964 + __s16 left_coeff;
   1.965 + __u16 deadband;
   1.966 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.967 + __s16 center;
   1.968 +};
   1.969 +struct ff_periodic_effect {
   1.970 + __u16 waveform;
   1.971 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.972 + __u16 period;
   1.973 + __s16 magnitude;
   1.974 + __s16 offset;
   1.975 + __u16 phase;
   1.976 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.977 + struct ff_envelope envelope;
   1.978 + __u32 custom_len;
   1.979 + __s16 __user *custom_data;
   1.980 +};
   1.981 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.982 +struct ff_rumble_effect {
   1.983 + __u16 strong_magnitude;
   1.984 + __u16 weak_magnitude;
   1.985 +};
   1.986 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.987 +struct ff_effect {
   1.988 + __u16 type;
   1.989 + __s16 id;
   1.990 + __u16 direction;
   1.991 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.992 + struct ff_trigger trigger;
   1.993 + struct ff_replay replay;
   1.994 + union {
   1.995 + struct ff_constant_effect constant;
   1.996 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
   1.997 + struct ff_ramp_effect ramp;
   1.998 + struct ff_periodic_effect periodic;
   1.999 + struct ff_condition_effect condition[2];
  1.1000 + struct ff_rumble_effect rumble;
  1.1001 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
  1.1002 + } u;
  1.1003 +};
  1.1004 +#define FF_RUMBLE 0x50
  1.1005 +#define FF_PERIODIC 0x51
  1.1006 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
  1.1007 +#define FF_CONSTANT 0x52
  1.1008 +#define FF_SPRING 0x53
  1.1009 +#define FF_FRICTION 0x54
  1.1010 +#define FF_DAMPER 0x55
  1.1011 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
  1.1012 +#define FF_INERTIA 0x56
  1.1013 +#define FF_RAMP 0x57
  1.1014 +#define FF_EFFECT_MIN FF_RUMBLE
  1.1015 +#define FF_EFFECT_MAX FF_RAMP
  1.1016 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
  1.1017 +#define FF_SQUARE 0x58
  1.1018 +#define FF_TRIANGLE 0x59
  1.1019 +#define FF_SINE 0x5a
  1.1020 +#define FF_SAW_UP 0x5b
  1.1021 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
  1.1022 +#define FF_SAW_DOWN 0x5c
  1.1023 +#define FF_CUSTOM 0x5d
  1.1024 +#define FF_WAVEFORM_MIN FF_SQUARE
  1.1025 +#define FF_WAVEFORM_MAX FF_CUSTOM
  1.1026 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
  1.1027 +#define FF_GAIN 0x60
  1.1028 +#define FF_AUTOCENTER 0x61
  1.1029 +#define FF_MAX 0x7f
  1.1030 +#define FF_CNT (FF_MAX+1)
  1.1031 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
  1.1032 +#endif

mercurial