Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
input.h File Reference
#include <sys/time.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  input_event
 
struct  input_id
 
struct  input_absinfo
 
struct  input_keymap_entry
 
struct  ff_replay
 
struct  ff_trigger
 
struct  ff_envelope
 
struct  ff_constant_effect
 
struct  ff_ramp_effect
 
struct  ff_condition_effect
 
struct  ff_periodic_effect
 
struct  ff_rumble_effect
 
struct  ff_effect
 

Macros

#define EV_VERSION   0x010001
 
#define INPUT_KEYMAP_BY_INDEX   (1 << 0)
 
#define EVIOCGVERSION   _IOR('E', 0x01, int) /* get driver version */
 
#define EVIOCGID   _IOR('E', 0x02, struct input_id) /* get device ID */
 
#define EVIOCGREP   _IOR('E', 0x03, unsigned int[2]) /* get repeat settings */
 
#define EVIOCSREP   _IOW('E', 0x03, unsigned int[2]) /* set repeat settings */
 
#define EVIOCGKEYCODE   _IOR('E', 0x04, unsigned int[2]) /* get keycode */
 
#define EVIOCGKEYCODE_V2   _IOR('E', 0x04, struct input_keymap_entry)
 
#define EVIOCSKEYCODE   _IOW('E', 0x04, unsigned int[2]) /* set keycode */
 
#define EVIOCSKEYCODE_V2   _IOW('E', 0x04, struct input_keymap_entry)
 
#define EVIOCGNAME(len)   _IOC(_IOC_READ, 'E', 0x06, len) /* get device name */
 
#define EVIOCGPHYS(len)   _IOC(_IOC_READ, 'E', 0x07, len) /* get physical location */
 
#define EVIOCGUNIQ(len)   _IOC(_IOC_READ, 'E', 0x08, len) /* get unique identifier */
 
#define EVIOCGPROP(len)   _IOC(_IOC_READ, 'E', 0x09, len) /* get device properties */
 
#define EVIOCGMTSLOTS(len)   _IOC(_IOC_READ, 'E', 0x0a, len)
 
#define EVIOCGKEY(len)   _IOC(_IOC_READ, 'E', 0x18, len) /* get global key state */
 
#define EVIOCGLED(len)   _IOC(_IOC_READ, 'E', 0x19, len) /* get all LEDs */
 
#define EVIOCGSND(len)   _IOC(_IOC_READ, 'E', 0x1a, len) /* get all sounds status */
 
#define EVIOCGSW(len)   _IOC(_IOC_READ, 'E', 0x1b, len) /* get all switch states */
 
#define EVIOCGBIT(ev, len)   _IOC(_IOC_READ, 'E', 0x20 + (ev), len) /* get event bits */
 
#define EVIOCGABS(abs)   _IOR('E', 0x40 + (abs), struct input_absinfo) /* get abs value/limits */
 
#define EVIOCSABS(abs)   _IOW('E', 0xc0 + (abs), struct input_absinfo) /* set abs value/limits */
 
#define EVIOCSFF   _IOC(_IOC_WRITE, 'E', 0x80, sizeof(struct ff_effect)) /* send a force effect to a force feedback device */
 
#define EVIOCRMFF   _IOW('E', 0x81, int) /* Erase a force effect */
 
#define EVIOCGEFFECTS   _IOR('E', 0x84, int) /* Report number of effects playable at the same time */
 
#define EVIOCGRAB   _IOW('E', 0x90, int) /* Grab/Release device */
 
#define EVIOCSCLOCKID   _IOW('E', 0xa0, int) /* Set clockid to be used for timestamps */
 
#define INPUT_PROP_POINTER   0x00 /* needs a pointer */
 
#define INPUT_PROP_DIRECT   0x01 /* direct input devices */
 
#define INPUT_PROP_BUTTONPAD   0x02 /* has button(s) under pad */
 
#define INPUT_PROP_SEMI_MT   0x03 /* touch rectangle only */
 
#define INPUT_PROP_MAX   0x1f
 
#define INPUT_PROP_CNT   (INPUT_PROP_MAX + 1)
 
#define EV_SYN   0x00
 
#define EV_KEY   0x01
 
#define EV_REL   0x02
 
#define EV_ABS   0x03
 
#define EV_MSC   0x04
 
#define EV_SW   0x05
 
#define EV_LED   0x11
 
#define EV_SND   0x12
 
#define EV_REP   0x14
 
#define EV_FF   0x15
 
#define EV_PWR   0x16
 
#define EV_FF_STATUS   0x17
 
#define EV_MAX   0x1f
 
#define EV_CNT   (EV_MAX+1)
 
#define SYN_REPORT   0
 
#define SYN_CONFIG   1
 
#define SYN_MT_REPORT   2
 
#define SYN_DROPPED   3
 
#define KEY_RESERVED   0
 
#define KEY_ESC   1
 
#define KEY_1   2
 
#define KEY_2   3
 
#define KEY_3   4
 
#define KEY_4   5
 
#define KEY_5   6
 
#define KEY_6   7
 
#define KEY_7   8
 
#define KEY_8   9
 
#define KEY_9   10
 
#define KEY_0   11
 
#define KEY_MINUS   12
 
#define KEY_EQUAL   13
 
#define KEY_BACKSPACE   14
 
#define KEY_TAB   15
 
#define KEY_Q   16
 
#define KEY_W   17
 
#define KEY_E   18
 
#define KEY_R   19
 
#define KEY_T   20
 
#define KEY_Y   21
 
#define KEY_U   22
 
#define KEY_I   23
 
#define KEY_O   24
 
#define KEY_P   25
 
#define KEY_LEFTBRACE   26
 
#define KEY_RIGHTBRACE   27
 
#define KEY_ENTER   28
 
#define KEY_LEFTCTRL   29
 
#define KEY_A   30
 
#define KEY_S   31
 
#define KEY_D   32
 
#define KEY_F   33
 
#define KEY_G   34
 
#define KEY_H   35
 
#define KEY_J   36
 
#define KEY_K   37
 
#define KEY_L   38
 
#define KEY_SEMICOLON   39
 
#define KEY_APOSTROPHE   40
 
#define KEY_GRAVE   41
 
#define KEY_LEFTSHIFT   42
 
#define KEY_BACKSLASH   43
 
#define KEY_Z   44
 
#define KEY_X   45
 
#define KEY_C   46
 
#define KEY_V   47
 
#define KEY_B   48
 
#define KEY_N   49
 
#define KEY_M   50
 
#define KEY_COMMA   51
 
#define KEY_DOT   52
 
#define KEY_SLASH   53
 
#define KEY_RIGHTSHIFT   54
 
#define KEY_KPASTERISK   55
 
#define KEY_LEFTALT   56
 
#define KEY_SPACE   57
 
#define KEY_CAPSLOCK   58
 
#define KEY_F1   59
 
#define KEY_F2   60
 
#define KEY_F3   61
 
#define KEY_F4   62
 
#define KEY_F5   63
 
#define KEY_F6   64
 
#define KEY_F7   65
 
#define KEY_F8   66
 
#define KEY_F9   67
 
#define KEY_F10   68
 
#define KEY_NUMLOCK   69
 
#define KEY_SCROLLLOCK   70
 
#define KEY_KP7   71
 
#define KEY_KP8   72
 
#define KEY_KP9   73
 
#define KEY_KPMINUS   74
 
#define KEY_KP4   75
 
#define KEY_KP5   76
 
#define KEY_KP6   77
 
#define KEY_KPPLUS   78
 
#define KEY_KP1   79
 
#define KEY_KP2   80
 
#define KEY_KP3   81
 
#define KEY_KP0   82
 
#define KEY_KPDOT   83
 
#define KEY_ZENKAKUHANKAKU   85
 
#define KEY_102ND   86
 
#define KEY_F11   87
 
#define KEY_F12   88
 
#define KEY_RO   89
 
#define KEY_KATAKANA   90
 
#define KEY_HIRAGANA   91
 
#define KEY_HENKAN   92
 
#define KEY_KATAKANAHIRAGANA   93
 
#define KEY_MUHENKAN   94
 
#define KEY_KPJPCOMMA   95
 
#define KEY_KPENTER   96
 
#define KEY_RIGHTCTRL   97
 
#define KEY_KPSLASH   98
 
#define KEY_SYSRQ   99
 
#define KEY_RIGHTALT   100
 
#define KEY_LINEFEED   101
 
#define KEY_HOME   102
 
#define KEY_UP   103
 
#define KEY_PAGEUP   104
 
#define KEY_LEFT   105
 
#define KEY_RIGHT   106
 
#define KEY_END   107
 
#define KEY_DOWN   108
 
#define KEY_PAGEDOWN   109
 
#define KEY_INSERT   110
 
#define KEY_DELETE   111
 
#define KEY_MACRO   112
 
#define KEY_MUTE   113
 
#define KEY_VOLUMEDOWN   114
 
#define KEY_VOLUMEUP   115
 
#define KEY_POWER   116 /* SC System Power Down */
 
#define KEY_KPEQUAL   117
 
#define KEY_KPPLUSMINUS   118
 
#define KEY_PAUSE   119
 
#define KEY_SCALE   120 /* AL Compiz Scale (Expose) */
 
#define KEY_KPCOMMA   121
 
#define KEY_HANGEUL   122
 
#define KEY_HANGUEL   KEY_HANGEUL
 
#define KEY_HANJA   123
 
#define KEY_YEN   124
 
#define KEY_LEFTMETA   125
 
#define KEY_RIGHTMETA   126
 
#define KEY_COMPOSE   127
 
#define KEY_STOP   128 /* AC Stop */
 
#define KEY_AGAIN   129
 
#define KEY_PROPS   130 /* AC Properties */
 
#define KEY_UNDO   131 /* AC Undo */
 
#define KEY_FRONT   132
 
#define KEY_COPY   133 /* AC Copy */
 
#define KEY_OPEN   134 /* AC Open */
 
#define KEY_PASTE   135 /* AC Paste */
 
#define KEY_FIND   136 /* AC Search */
 
#define KEY_CUT   137 /* AC Cut */
 
#define KEY_HELP   138 /* AL Integrated Help Center */
 
#define KEY_MENU   139 /* Menu (show menu) */
 
#define KEY_CALC   140 /* AL Calculator */
 
#define KEY_SETUP   141
 
#define KEY_SLEEP   142 /* SC System Sleep */
 
#define KEY_WAKEUP   143 /* System Wake Up */
 
#define KEY_FILE   144 /* AL Local Machine Browser */
 
#define KEY_SENDFILE   145
 
#define KEY_DELETEFILE   146
 
#define KEY_XFER   147
 
#define KEY_PROG1   148
 
#define KEY_PROG2   149
 
#define KEY_WWW   150 /* AL Internet Browser */
 
#define KEY_MSDOS   151
 
#define KEY_COFFEE   152 /* AL Terminal Lock/Screensaver */
 
#define KEY_SCREENLOCK   KEY_COFFEE
 
#define KEY_DIRECTION   153
 
#define KEY_CYCLEWINDOWS   154
 
#define KEY_MAIL   155
 
#define KEY_BOOKMARKS   156 /* AC Bookmarks */
 
#define KEY_COMPUTER   157
 
#define KEY_BACK   158 /* AC Back */
 
#define KEY_FORWARD   159 /* AC Forward */
 
#define KEY_CLOSECD   160
 
#define KEY_EJECTCD   161
 
#define KEY_EJECTCLOSECD   162
 
#define KEY_NEXTSONG   163
 
#define KEY_PLAYPAUSE   164
 
#define KEY_PREVIOUSSONG   165
 
#define KEY_STOPCD   166
 
#define KEY_RECORD   167
 
#define KEY_REWIND   168
 
#define KEY_PHONE   169 /* Media Select Telephone */
 
#define KEY_ISO   170
 
#define KEY_CONFIG   171 /* AL Consumer Control Configuration */
 
#define KEY_HOMEPAGE   172 /* AC Home */
 
#define KEY_REFRESH   173 /* AC Refresh */
 
#define KEY_EXIT   174 /* AC Exit */
 
#define KEY_MOVE   175
 
#define KEY_EDIT   176
 
#define KEY_SCROLLUP   177
 
#define KEY_SCROLLDOWN   178
 
#define KEY_KPLEFTPAREN   179
 
#define KEY_KPRIGHTPAREN   180
 
#define KEY_NEW   181 /* AC New */
 
#define KEY_REDO   182 /* AC Redo/Repeat */
 
#define KEY_F13   183
 
#define KEY_F14   184
 
#define KEY_F15   185
 
#define KEY_F16   186
 
#define KEY_F17   187
 
#define KEY_F18   188
 
#define KEY_F19   189
 
#define KEY_F20   190
 
#define KEY_F21   191
 
#define KEY_F22   192
 
#define KEY_F23   193
 
#define KEY_F24   194
 
#define KEY_PLAYCD   200
 
#define KEY_PAUSECD   201
 
#define KEY_PROG3   202
 
#define KEY_PROG4   203
 
#define KEY_DASHBOARD   204 /* AL Dashboard */
 
#define KEY_SUSPEND   205
 
#define KEY_CLOSE   206 /* AC Close */
 
#define KEY_PLAY   207
 
#define KEY_FASTFORWARD   208
 
#define KEY_BASSBOOST   209
 
#define KEY_PRINT   210 /* AC Print */
 
#define KEY_HP   211
 
#define KEY_CAMERA   212
 
#define KEY_SOUND   213
 
#define KEY_QUESTION   214
 
#define KEY_EMAIL   215
 
#define KEY_CHAT   216
 
#define KEY_SEARCH   217
 
#define KEY_CONNECT   218
 
#define KEY_FINANCE   219 /* AL Checkbook/Finance */
 
#define KEY_SPORT   220
 
#define KEY_SHOP   221
 
#define KEY_ALTERASE   222
 
#define KEY_CANCEL   223 /* AC Cancel */
 
#define KEY_BRIGHTNESSDOWN   224
 
#define KEY_BRIGHTNESSUP   225
 
#define KEY_MEDIA   226
 
#define KEY_SWITCHVIDEOMODE
 
#define KEY_KBDILLUMTOGGLE   228
 
#define KEY_KBDILLUMDOWN   229
 
#define KEY_KBDILLUMUP   230
 
#define KEY_SEND   231 /* AC Send */
 
#define KEY_REPLY   232 /* AC Reply */
 
#define KEY_FORWARDMAIL   233 /* AC Forward Msg */
 
#define KEY_SAVE   234 /* AC Save */
 
#define KEY_DOCUMENTS   235
 
#define KEY_BATTERY   236
 
#define KEY_BLUETOOTH   237
 
#define KEY_WLAN   238
 
#define KEY_UWB   239
 
#define KEY_UNKNOWN   240
 
#define KEY_VIDEO_NEXT   241 /* drive next video source */
 
#define KEY_VIDEO_PREV   242 /* drive previous video source */
 
#define KEY_BRIGHTNESS_CYCLE   243 /* brightness up, after max is min */
 
#define KEY_BRIGHTNESS_ZERO   244 /* brightness off, use ambient */
 
#define KEY_DISPLAY_OFF   245 /* display device to off state */
 
#define KEY_WIMAX   246
 
#define KEY_RFKILL   247 /* Key that controls all radios */
 
#define KEY_MICMUTE   248 /* Mute / unmute the microphone */
 
#define BTN_MISC   0x100
 
#define BTN_0   0x100
 
#define BTN_1   0x101
 
#define BTN_2   0x102
 
#define BTN_3   0x103
 
#define BTN_4   0x104
 
#define BTN_5   0x105
 
#define BTN_6   0x106
 
#define BTN_7   0x107
 
#define BTN_8   0x108
 
#define BTN_9   0x109
 
#define BTN_MOUSE   0x110
 
#define BTN_LEFT   0x110
 
#define BTN_RIGHT   0x111
 
#define BTN_MIDDLE   0x112
 
#define BTN_SIDE   0x113
 
#define BTN_EXTRA   0x114
 
#define BTN_FORWARD   0x115
 
#define BTN_BACK   0x116
 
#define BTN_TASK   0x117
 
#define BTN_JOYSTICK   0x120
 
#define BTN_TRIGGER   0x120
 
#define BTN_THUMB   0x121
 
#define BTN_THUMB2   0x122
 
#define BTN_TOP   0x123
 
#define BTN_TOP2   0x124
 
#define BTN_PINKIE   0x125
 
#define BTN_BASE   0x126
 
#define BTN_BASE2   0x127
 
#define BTN_BASE3   0x128
 
#define BTN_BASE4   0x129
 
#define BTN_BASE5   0x12a
 
#define BTN_BASE6   0x12b
 
#define BTN_DEAD   0x12f
 
#define BTN_GAMEPAD   0x130
 
#define BTN_A   0x130
 
#define BTN_B   0x131
 
#define BTN_C   0x132
 
#define BTN_X   0x133
 
#define BTN_Y   0x134
 
#define BTN_Z   0x135
 
#define BTN_TL   0x136
 
#define BTN_TR   0x137
 
#define BTN_TL2   0x138
 
#define BTN_TR2   0x139
 
#define BTN_SELECT   0x13a
 
#define BTN_START   0x13b
 
#define BTN_MODE   0x13c
 
#define BTN_THUMBL   0x13d
 
#define BTN_THUMBR   0x13e
 
#define BTN_DIGI   0x140
 
#define BTN_TOOL_PEN   0x140
 
#define BTN_TOOL_RUBBER   0x141
 
#define BTN_TOOL_BRUSH   0x142
 
#define BTN_TOOL_PENCIL   0x143
 
#define BTN_TOOL_AIRBRUSH   0x144
 
#define BTN_TOOL_FINGER   0x145
 
#define BTN_TOOL_MOUSE   0x146
 
#define BTN_TOOL_LENS   0x147
 
#define BTN_TOOL_QUINTTAP   0x148 /* Five fingers on trackpad */
 
#define BTN_TOUCH   0x14a
 
#define BTN_STYLUS   0x14b
 
#define BTN_STYLUS2   0x14c
 
#define BTN_TOOL_DOUBLETAP   0x14d
 
#define BTN_TOOL_TRIPLETAP   0x14e
 
#define BTN_TOOL_QUADTAP   0x14f /* Four fingers on trackpad */
 
#define BTN_WHEEL   0x150
 
#define BTN_GEAR_DOWN   0x150
 
#define BTN_GEAR_UP   0x151
 
#define KEY_OK   0x160
 
#define KEY_SELECT   0x161
 
#define KEY_GOTO   0x162
 
#define KEY_CLEAR   0x163
 
#define KEY_POWER2   0x164
 
#define KEY_OPTION   0x165
 
#define KEY_INFO   0x166 /* AL OEM Features/Tips/Tutorial */
 
#define KEY_TIME   0x167
 
#define KEY_VENDOR   0x168
 
#define KEY_ARCHIVE   0x169
 
#define KEY_PROGRAM   0x16a /* Media Select Program Guide */
 
#define KEY_CHANNEL   0x16b
 
#define KEY_FAVORITES   0x16c
 
#define KEY_EPG   0x16d
 
#define KEY_PVR   0x16e /* Media Select Home */
 
#define KEY_MHP   0x16f
 
#define KEY_LANGUAGE   0x170
 
#define KEY_TITLE   0x171
 
#define KEY_SUBTITLE   0x172
 
#define KEY_ANGLE   0x173
 
#define KEY_ZOOM   0x174
 
#define KEY_MODE   0x175
 
#define KEY_KEYBOARD   0x176
 
#define KEY_SCREEN   0x177
 
#define KEY_PC   0x178 /* Media Select Computer */
 
#define KEY_TV   0x179 /* Media Select TV */
 
#define KEY_TV2   0x17a /* Media Select Cable */
 
#define KEY_VCR   0x17b /* Media Select VCR */
 
#define KEY_VCR2   0x17c /* VCR Plus */
 
#define KEY_SAT   0x17d /* Media Select Satellite */
 
#define KEY_SAT2   0x17e
 
#define KEY_CD   0x17f /* Media Select CD */
 
#define KEY_TAPE   0x180 /* Media Select Tape */
 
#define KEY_RADIO   0x181
 
#define KEY_TUNER   0x182 /* Media Select Tuner */
 
#define KEY_PLAYER   0x183
 
#define KEY_TEXT   0x184
 
#define KEY_DVD   0x185 /* Media Select DVD */
 
#define KEY_AUX   0x186
 
#define KEY_MP3   0x187
 
#define KEY_AUDIO   0x188 /* AL Audio Browser */
 
#define KEY_VIDEO   0x189 /* AL Movie Browser */
 
#define KEY_DIRECTORY   0x18a
 
#define KEY_LIST   0x18b
 
#define KEY_MEMO   0x18c /* Media Select Messages */
 
#define KEY_CALENDAR   0x18d
 
#define KEY_RED   0x18e
 
#define KEY_GREEN   0x18f
 
#define KEY_YELLOW   0x190
 
#define KEY_BLUE   0x191
 
#define KEY_CHANNELUP   0x192 /* Channel Increment */
 
#define KEY_CHANNELDOWN   0x193 /* Channel Decrement */
 
#define KEY_FIRST   0x194
 
#define KEY_LAST   0x195 /* Recall Last */
 
#define KEY_AB   0x196
 
#define KEY_NEXT   0x197
 
#define KEY_RESTART   0x198
 
#define KEY_SLOW   0x199
 
#define KEY_SHUFFLE   0x19a
 
#define KEY_BREAK   0x19b
 
#define KEY_PREVIOUS   0x19c
 
#define KEY_DIGITS   0x19d
 
#define KEY_TEEN   0x19e
 
#define KEY_TWEN   0x19f
 
#define KEY_VIDEOPHONE   0x1a0 /* Media Select Video Phone */
 
#define KEY_GAMES   0x1a1 /* Media Select Games */
 
#define KEY_ZOOMIN   0x1a2 /* AC Zoom In */
 
#define KEY_ZOOMOUT   0x1a3 /* AC Zoom Out */
 
#define KEY_ZOOMRESET   0x1a4 /* AC Zoom */
 
#define KEY_WORDPROCESSOR   0x1a5 /* AL Word Processor */
 
#define KEY_EDITOR   0x1a6 /* AL Text Editor */
 
#define KEY_SPREADSHEET   0x1a7 /* AL Spreadsheet */
 
#define KEY_GRAPHICSEDITOR   0x1a8 /* AL Graphics Editor */
 
#define KEY_PRESENTATION   0x1a9 /* AL Presentation App */
 
#define KEY_DATABASE   0x1aa /* AL Database App */
 
#define KEY_NEWS   0x1ab /* AL Newsreader */
 
#define KEY_VOICEMAIL   0x1ac /* AL Voicemail */
 
#define KEY_ADDRESSBOOK   0x1ad /* AL Contacts/Address Book */
 
#define KEY_MESSENGER   0x1ae /* AL Instant Messaging */
 
#define KEY_DISPLAYTOGGLE   0x1af /* Turn display (LCD) on and off */
 
#define KEY_SPELLCHECK   0x1b0 /* AL Spell Check */
 
#define KEY_LOGOFF   0x1b1 /* AL Logoff */
 
#define KEY_DOLLAR   0x1b2
 
#define KEY_EURO   0x1b3
 
#define KEY_FRAMEBACK   0x1b4 /* Consumer - transport controls */
 
#define KEY_FRAMEFORWARD   0x1b5
 
#define KEY_CONTEXT_MENU   0x1b6 /* GenDesc - system context menu */
 
#define KEY_MEDIA_REPEAT   0x1b7 /* Consumer - transport control */
 
#define KEY_10CHANNELSUP   0x1b8 /* 10 channels up (10+) */
 
#define KEY_10CHANNELSDOWN   0x1b9 /* 10 channels down (10-) */
 
#define KEY_IMAGES   0x1ba /* AL Image Browser */
 
#define KEY_DEL_EOL   0x1c0
 
#define KEY_DEL_EOS   0x1c1
 
#define KEY_INS_LINE   0x1c2
 
#define KEY_DEL_LINE   0x1c3
 
#define KEY_FN   0x1d0
 
#define KEY_FN_ESC   0x1d1
 
#define KEY_FN_F1   0x1d2
 
#define KEY_FN_F2   0x1d3
 
#define KEY_FN_F3   0x1d4
 
#define KEY_FN_F4   0x1d5
 
#define KEY_FN_F5   0x1d6
 
#define KEY_FN_F6   0x1d7
 
#define KEY_FN_F7   0x1d8
 
#define KEY_FN_F8   0x1d9
 
#define KEY_FN_F9   0x1da
 
#define KEY_FN_F10   0x1db
 
#define KEY_FN_F11   0x1dc
 
#define KEY_FN_F12   0x1dd
 
#define KEY_FN_1   0x1de
 
#define KEY_FN_2   0x1df
 
#define KEY_FN_D   0x1e0
 
#define KEY_FN_E   0x1e1
 
#define KEY_FN_F   0x1e2
 
#define KEY_FN_S   0x1e3
 
#define KEY_FN_B   0x1e4
 
#define KEY_BRL_DOT1   0x1f1
 
#define KEY_BRL_DOT2   0x1f2
 
#define KEY_BRL_DOT3   0x1f3
 
#define KEY_BRL_DOT4   0x1f4
 
#define KEY_BRL_DOT5   0x1f5
 
#define KEY_BRL_DOT6   0x1f6
 
#define KEY_BRL_DOT7   0x1f7
 
#define KEY_BRL_DOT8   0x1f8
 
#define KEY_BRL_DOT9   0x1f9
 
#define KEY_BRL_DOT10   0x1fa
 
#define KEY_NUMERIC_0   0x200 /* used by phones, remote controls, */
 
#define KEY_NUMERIC_1   0x201 /* and other keypads */
 
#define KEY_NUMERIC_2   0x202
 
#define KEY_NUMERIC_3   0x203
 
#define KEY_NUMERIC_4   0x204
 
#define KEY_NUMERIC_5   0x205
 
#define KEY_NUMERIC_6   0x206
 
#define KEY_NUMERIC_7   0x207
 
#define KEY_NUMERIC_8   0x208
 
#define KEY_NUMERIC_9   0x209
 
#define KEY_NUMERIC_STAR   0x20a
 
#define KEY_NUMERIC_POUND   0x20b
 
#define KEY_CAMERA_FOCUS   0x210
 
#define KEY_WPS_BUTTON   0x211 /* WiFi Protected Setup key */
 
#define KEY_TOUCHPAD_TOGGLE   0x212 /* Request switch touchpad on or off */
 
#define KEY_TOUCHPAD_ON   0x213
 
#define KEY_TOUCHPAD_OFF   0x214
 
#define KEY_CAMERA_ZOOMIN   0x215
 
#define KEY_CAMERA_ZOOMOUT   0x216
 
#define KEY_CAMERA_UP   0x217
 
#define KEY_CAMERA_DOWN   0x218
 
#define KEY_CAMERA_LEFT   0x219
 
#define KEY_CAMERA_RIGHT   0x21a
 
#define BTN_TRIGGER_HAPPY   0x2c0
 
#define BTN_TRIGGER_HAPPY1   0x2c0
 
#define BTN_TRIGGER_HAPPY2   0x2c1
 
#define BTN_TRIGGER_HAPPY3   0x2c2
 
#define BTN_TRIGGER_HAPPY4   0x2c3
 
#define BTN_TRIGGER_HAPPY5   0x2c4
 
#define BTN_TRIGGER_HAPPY6   0x2c5
 
#define BTN_TRIGGER_HAPPY7   0x2c6
 
#define BTN_TRIGGER_HAPPY8   0x2c7
 
#define BTN_TRIGGER_HAPPY9   0x2c8
 
#define BTN_TRIGGER_HAPPY10   0x2c9
 
#define BTN_TRIGGER_HAPPY11   0x2ca
 
#define BTN_TRIGGER_HAPPY12   0x2cb
 
#define BTN_TRIGGER_HAPPY13   0x2cc
 
#define BTN_TRIGGER_HAPPY14   0x2cd
 
#define BTN_TRIGGER_HAPPY15   0x2ce
 
#define BTN_TRIGGER_HAPPY16   0x2cf
 
#define BTN_TRIGGER_HAPPY17   0x2d0
 
#define BTN_TRIGGER_HAPPY18   0x2d1
 
#define BTN_TRIGGER_HAPPY19   0x2d2
 
#define BTN_TRIGGER_HAPPY20   0x2d3
 
#define BTN_TRIGGER_HAPPY21   0x2d4
 
#define BTN_TRIGGER_HAPPY22   0x2d5
 
#define BTN_TRIGGER_HAPPY23   0x2d6
 
#define BTN_TRIGGER_HAPPY24   0x2d7
 
#define BTN_TRIGGER_HAPPY25   0x2d8
 
#define BTN_TRIGGER_HAPPY26   0x2d9
 
#define BTN_TRIGGER_HAPPY27   0x2da
 
#define BTN_TRIGGER_HAPPY28   0x2db
 
#define BTN_TRIGGER_HAPPY29   0x2dc
 
#define BTN_TRIGGER_HAPPY30   0x2dd
 
#define BTN_TRIGGER_HAPPY31   0x2de
 
#define BTN_TRIGGER_HAPPY32   0x2df
 
#define BTN_TRIGGER_HAPPY33   0x2e0
 
#define BTN_TRIGGER_HAPPY34   0x2e1
 
#define BTN_TRIGGER_HAPPY35   0x2e2
 
#define BTN_TRIGGER_HAPPY36   0x2e3
 
#define BTN_TRIGGER_HAPPY37   0x2e4
 
#define BTN_TRIGGER_HAPPY38   0x2e5
 
#define BTN_TRIGGER_HAPPY39   0x2e6
 
#define BTN_TRIGGER_HAPPY40   0x2e7
 
#define KEY_MIN_INTERESTING   KEY_MUTE
 
#define KEY_MAX   0x2ff
 
#define KEY_CNT   (KEY_MAX+1)
 
#define REL_X   0x00
 
#define REL_Y   0x01
 
#define REL_Z   0x02
 
#define REL_RX   0x03
 
#define REL_RY   0x04
 
#define REL_RZ   0x05
 
#define REL_HWHEEL   0x06
 
#define REL_DIAL   0x07
 
#define REL_WHEEL   0x08
 
#define REL_MISC   0x09
 
#define REL_MAX   0x0f
 
#define REL_CNT   (REL_MAX+1)
 
#define ABS_X   0x00
 
#define ABS_Y   0x01
 
#define ABS_Z   0x02
 
#define ABS_RX   0x03
 
#define ABS_RY   0x04
 
#define ABS_RZ   0x05
 
#define ABS_THROTTLE   0x06
 
#define ABS_RUDDER   0x07
 
#define ABS_WHEEL   0x08
 
#define ABS_GAS   0x09
 
#define ABS_BRAKE   0x0a
 
#define ABS_HAT0X   0x10
 
#define ABS_HAT0Y   0x11
 
#define ABS_HAT1X   0x12
 
#define ABS_HAT1Y   0x13
 
#define ABS_HAT2X   0x14
 
#define ABS_HAT2Y   0x15
 
#define ABS_HAT3X   0x16
 
#define ABS_HAT3Y   0x17
 
#define ABS_PRESSURE   0x18
 
#define ABS_DISTANCE   0x19
 
#define ABS_TILT_X   0x1a
 
#define ABS_TILT_Y   0x1b
 
#define ABS_TOOL_WIDTH   0x1c
 
#define ABS_VOLUME   0x20
 
#define ABS_MISC   0x28
 
#define ABS_MT_SLOT   0x2f /* MT slot being modified */
 
#define ABS_MT_TOUCH_MAJOR   0x30 /* Major axis of touching ellipse */
 
#define ABS_MT_TOUCH_MINOR   0x31 /* Minor axis (omit if circular) */
 
#define ABS_MT_WIDTH_MAJOR   0x32 /* Major axis of approaching ellipse */
 
#define ABS_MT_WIDTH_MINOR   0x33 /* Minor axis (omit if circular) */
 
#define ABS_MT_ORIENTATION   0x34 /* Ellipse orientation */
 
#define ABS_MT_POSITION_X   0x35 /* Center X touch position */
 
#define ABS_MT_POSITION_Y   0x36 /* Center Y touch position */
 
#define ABS_MT_TOOL_TYPE   0x37 /* Type of touching device */
 
#define ABS_MT_BLOB_ID   0x38 /* Group a set of packets as a blob */
 
#define ABS_MT_TRACKING_ID   0x39 /* Unique ID of initiated contact */
 
#define ABS_MT_PRESSURE   0x3a /* Pressure on contact area */
 
#define ABS_MT_DISTANCE   0x3b /* Contact hover distance */
 
#define ABS_MT_TOOL_X   0x3c /* Center X tool position */
 
#define ABS_MT_TOOL_Y   0x3d /* Center Y tool position */
 
#define ABS_MAX   0x3f
 
#define ABS_CNT   (ABS_MAX+1)
 
#define SW_LID   0x00 /* set = lid shut */
 
#define SW_TABLET_MODE   0x01 /* set = tablet mode */
 
#define SW_HEADPHONE_INSERT   0x02 /* set = inserted */
 
#define SW_RFKILL_ALL
 
#define SW_RADIO   SW_RFKILL_ALL /* deprecated */
 
#define SW_MICROPHONE_INSERT   0x04 /* set = inserted */
 
#define SW_DOCK   0x05 /* set = plugged into dock */
 
#define SW_LINEOUT_INSERT   0x06 /* set = inserted */
 
#define SW_JACK_PHYSICAL_INSERT   0x07 /* set = mechanical switch set */
 
#define SW_VIDEOOUT_INSERT   0x08 /* set = inserted */
 
#define SW_CAMERA_LENS_COVER   0x09 /* set = lens covered */
 
#define SW_KEYPAD_SLIDE   0x0a /* set = keypad slide out */
 
#define SW_FRONT_PROXIMITY   0x0b /* set = front proximity sensor active */
 
#define SW_ROTATE_LOCK   0x0c /* set = rotate locked/disabled */
 
#define SW_LINEIN_INSERT   0x0d /* set = inserted */
 
#define SW_MAX   0x0f
 
#define SW_CNT   (SW_MAX+1)
 
#define MSC_SERIAL   0x00
 
#define MSC_PULSELED   0x01
 
#define MSC_GESTURE   0x02
 
#define MSC_RAW   0x03
 
#define MSC_SCAN   0x04
 
#define MSC_MAX   0x07
 
#define MSC_CNT   (MSC_MAX+1)
 
#define LED_NUML   0x00
 
#define LED_CAPSL   0x01
 
#define LED_SCROLLL   0x02
 
#define LED_COMPOSE   0x03
 
#define LED_KANA   0x04
 
#define LED_SLEEP   0x05
 
#define LED_SUSPEND   0x06
 
#define LED_MUTE   0x07
 
#define LED_MISC   0x08
 
#define LED_MAIL   0x09
 
#define LED_CHARGING   0x0a
 
#define LED_MAX   0x0f
 
#define LED_CNT   (LED_MAX+1)
 
#define REP_DELAY   0x00
 
#define REP_PERIOD   0x01
 
#define REP_MAX   0x01
 
#define REP_CNT   (REP_MAX+1)
 
#define SND_CLICK   0x00
 
#define SND_BELL   0x01
 
#define SND_TONE   0x02
 
#define SND_MAX   0x07
 
#define SND_CNT   (SND_MAX+1)
 
#define ID_BUS   0
 
#define ID_VENDOR   1
 
#define ID_PRODUCT   2
 
#define ID_VERSION   3
 
#define BUS_PCI   0x01
 
#define BUS_ISAPNP   0x02
 
#define BUS_USB   0x03
 
#define BUS_HIL   0x04
 
#define BUS_BLUETOOTH   0x05
 
#define BUS_VIRTUAL   0x06
 
#define BUS_ISA   0x10
 
#define BUS_I8042   0x11
 
#define BUS_XTKBD   0x12
 
#define BUS_RS232   0x13
 
#define BUS_GAMEPORT   0x14
 
#define BUS_PARPORT   0x15
 
#define BUS_AMIGA   0x16
 
#define BUS_ADB   0x17
 
#define BUS_I2C   0x18
 
#define BUS_HOST   0x19
 
#define BUS_GSC   0x1A
 
#define BUS_ATARI   0x1B
 
#define BUS_SPI   0x1C
 
#define MT_TOOL_FINGER   0
 
#define MT_TOOL_PEN   1
 
#define MT_TOOL_MAX   1
 
#define FF_STATUS_STOPPED   0x00
 
#define FF_STATUS_PLAYING   0x01
 
#define FF_STATUS_MAX   0x01
 
#define FF_RUMBLE   0x50
 
#define FF_PERIODIC   0x51
 
#define FF_CONSTANT   0x52
 
#define FF_SPRING   0x53
 
#define FF_FRICTION   0x54
 
#define FF_DAMPER   0x55
 
#define FF_INERTIA   0x56
 
#define FF_RAMP   0x57
 
#define FF_EFFECT_MIN   FF_RUMBLE
 
#define FF_EFFECT_MAX   FF_RAMP
 
#define FF_SQUARE   0x58
 
#define FF_TRIANGLE   0x59
 
#define FF_SINE   0x5a
 
#define FF_SAW_UP   0x5b
 
#define FF_SAW_DOWN   0x5c
 
#define FF_CUSTOM   0x5d
 
#define FF_WAVEFORM_MIN   FF_SQUARE
 
#define FF_WAVEFORM_MAX   FF_CUSTOM
 
#define FF_GAIN   0x60
 
#define FF_AUTOCENTER   0x61
 
#define FF_MAX   0x7f
 
#define FF_CNT   (FF_MAX+1)
 

Macro Definition Documentation

#define ABS_BRAKE   0x0a

Definition at line 782 of file input.h.

#define ABS_CNT   (ABS_MAX+1)

Definition at line 819 of file input.h.

#define ABS_DISTANCE   0x19

Definition at line 792 of file input.h.

#define ABS_GAS   0x09

Definition at line 781 of file input.h.

#define ABS_HAT0X   0x10

Definition at line 783 of file input.h.

#define ABS_HAT0Y   0x11

Definition at line 784 of file input.h.

#define ABS_HAT1X   0x12

Definition at line 785 of file input.h.

#define ABS_HAT1Y   0x13

Definition at line 786 of file input.h.

#define ABS_HAT2X   0x14

Definition at line 787 of file input.h.

#define ABS_HAT2Y   0x15

Definition at line 788 of file input.h.

#define ABS_HAT3X   0x16

Definition at line 789 of file input.h.

#define ABS_HAT3Y   0x17

Definition at line 790 of file input.h.

#define ABS_MAX   0x3f

Definition at line 818 of file input.h.

#define ABS_MISC   0x28

Definition at line 799 of file input.h.

#define ABS_MT_BLOB_ID   0x38 /* Group a set of packets as a blob */

Definition at line 810 of file input.h.

#define ABS_MT_DISTANCE   0x3b /* Contact hover distance */

Definition at line 813 of file input.h.

#define ABS_MT_ORIENTATION   0x34 /* Ellipse orientation */

Definition at line 806 of file input.h.

#define ABS_MT_POSITION_X   0x35 /* Center X touch position */

Definition at line 807 of file input.h.

#define ABS_MT_POSITION_Y   0x36 /* Center Y touch position */

Definition at line 808 of file input.h.

#define ABS_MT_PRESSURE   0x3a /* Pressure on contact area */

Definition at line 812 of file input.h.

#define ABS_MT_SLOT   0x2f /* MT slot being modified */

Definition at line 801 of file input.h.

#define ABS_MT_TOOL_TYPE   0x37 /* Type of touching device */

Definition at line 809 of file input.h.

#define ABS_MT_TOOL_X   0x3c /* Center X tool position */

Definition at line 814 of file input.h.

#define ABS_MT_TOOL_Y   0x3d /* Center Y tool position */

Definition at line 815 of file input.h.

#define ABS_MT_TOUCH_MAJOR   0x30 /* Major axis of touching ellipse */

Definition at line 802 of file input.h.

#define ABS_MT_TOUCH_MINOR   0x31 /* Minor axis (omit if circular) */

Definition at line 803 of file input.h.

#define ABS_MT_TRACKING_ID   0x39 /* Unique ID of initiated contact */

Definition at line 811 of file input.h.

#define ABS_MT_WIDTH_MAJOR   0x32 /* Major axis of approaching ellipse */

Definition at line 804 of file input.h.

#define ABS_MT_WIDTH_MINOR   0x33 /* Minor axis (omit if circular) */

Definition at line 805 of file input.h.

#define ABS_PRESSURE   0x18

Definition at line 791 of file input.h.

#define ABS_RUDDER   0x07

Definition at line 779 of file input.h.

#define ABS_RX   0x03

Definition at line 775 of file input.h.

#define ABS_RY   0x04

Definition at line 776 of file input.h.

#define ABS_RZ   0x05

Definition at line 777 of file input.h.

#define ABS_THROTTLE   0x06

Definition at line 778 of file input.h.

#define ABS_TILT_X   0x1a

Definition at line 793 of file input.h.

#define ABS_TILT_Y   0x1b

Definition at line 794 of file input.h.

#define ABS_TOOL_WIDTH   0x1c

Definition at line 795 of file input.h.

#define ABS_VOLUME   0x20

Definition at line 797 of file input.h.

#define ABS_WHEEL   0x08

Definition at line 780 of file input.h.

#define ABS_X   0x00

Definition at line 772 of file input.h.

#define ABS_Y   0x01

Definition at line 773 of file input.h.

#define ABS_Z   0x02

Definition at line 774 of file input.h.

#define BTN_0   0x100

Definition at line 471 of file input.h.

#define BTN_1   0x101

Definition at line 472 of file input.h.

#define BTN_2   0x102

Definition at line 473 of file input.h.

#define BTN_3   0x103

Definition at line 474 of file input.h.

#define BTN_4   0x104

Definition at line 475 of file input.h.

#define BTN_5   0x105

Definition at line 476 of file input.h.

#define BTN_6   0x106

Definition at line 477 of file input.h.

#define BTN_7   0x107

Definition at line 478 of file input.h.

#define BTN_8   0x108

Definition at line 479 of file input.h.

#define BTN_9   0x109

Definition at line 480 of file input.h.

#define BTN_A   0x130

Definition at line 508 of file input.h.

#define BTN_B   0x131

Definition at line 509 of file input.h.

#define BTN_BACK   0x116

Definition at line 489 of file input.h.

#define BTN_BASE   0x126

Definition at line 499 of file input.h.

#define BTN_BASE2   0x127

Definition at line 500 of file input.h.

#define BTN_BASE3   0x128

Definition at line 501 of file input.h.

#define BTN_BASE4   0x129

Definition at line 502 of file input.h.

#define BTN_BASE5   0x12a

Definition at line 503 of file input.h.

#define BTN_BASE6   0x12b

Definition at line 504 of file input.h.

#define BTN_C   0x132

Definition at line 510 of file input.h.

#define BTN_DEAD   0x12f

Definition at line 505 of file input.h.

#define BTN_DIGI   0x140

Definition at line 524 of file input.h.

#define BTN_EXTRA   0x114

Definition at line 487 of file input.h.

#define BTN_FORWARD   0x115

Definition at line 488 of file input.h.

#define BTN_GAMEPAD   0x130

Definition at line 507 of file input.h.

#define BTN_GEAR_DOWN   0x150

Definition at line 542 of file input.h.

#define BTN_GEAR_UP   0x151

Definition at line 543 of file input.h.

#define BTN_JOYSTICK   0x120

Definition at line 492 of file input.h.

#define BTN_LEFT   0x110

Definition at line 483 of file input.h.

#define BTN_MIDDLE   0x112

Definition at line 485 of file input.h.

#define BTN_MISC   0x100

Definition at line 470 of file input.h.

#define BTN_MODE   0x13c

Definition at line 520 of file input.h.

#define BTN_MOUSE   0x110

Definition at line 482 of file input.h.

#define BTN_PINKIE   0x125

Definition at line 498 of file input.h.

#define BTN_RIGHT   0x111

Definition at line 484 of file input.h.

#define BTN_SELECT   0x13a

Definition at line 518 of file input.h.

#define BTN_SIDE   0x113

Definition at line 486 of file input.h.

#define BTN_START   0x13b

Definition at line 519 of file input.h.

#define BTN_STYLUS   0x14b

Definition at line 535 of file input.h.

#define BTN_STYLUS2   0x14c

Definition at line 536 of file input.h.

#define BTN_TASK   0x117

Definition at line 490 of file input.h.

#define BTN_THUMB   0x121

Definition at line 494 of file input.h.

#define BTN_THUMB2   0x122

Definition at line 495 of file input.h.

#define BTN_THUMBL   0x13d

Definition at line 521 of file input.h.

#define BTN_THUMBR   0x13e

Definition at line 522 of file input.h.

#define BTN_TL   0x136

Definition at line 514 of file input.h.

#define BTN_TL2   0x138

Definition at line 516 of file input.h.

#define BTN_TOOL_AIRBRUSH   0x144

Definition at line 529 of file input.h.

#define BTN_TOOL_BRUSH   0x142

Definition at line 527 of file input.h.

#define BTN_TOOL_DOUBLETAP   0x14d

Definition at line 537 of file input.h.

#define BTN_TOOL_FINGER   0x145

Definition at line 530 of file input.h.

#define BTN_TOOL_LENS   0x147

Definition at line 532 of file input.h.

#define BTN_TOOL_MOUSE   0x146

Definition at line 531 of file input.h.

#define BTN_TOOL_PEN   0x140

Definition at line 525 of file input.h.

#define BTN_TOOL_PENCIL   0x143

Definition at line 528 of file input.h.

#define BTN_TOOL_QUADTAP   0x14f /* Four fingers on trackpad */

Definition at line 539 of file input.h.

#define BTN_TOOL_QUINTTAP   0x148 /* Five fingers on trackpad */

Definition at line 533 of file input.h.

#define BTN_TOOL_RUBBER   0x141

Definition at line 526 of file input.h.

#define BTN_TOOL_TRIPLETAP   0x14e

Definition at line 538 of file input.h.

#define BTN_TOP   0x123

Definition at line 496 of file input.h.

#define BTN_TOP2   0x124

Definition at line 497 of file input.h.

#define BTN_TOUCH   0x14a

Definition at line 534 of file input.h.

#define BTN_TR   0x137

Definition at line 515 of file input.h.

#define BTN_TR2   0x139

Definition at line 517 of file input.h.

#define BTN_TRIGGER   0x120

Definition at line 493 of file input.h.

#define BTN_TRIGGER_HAPPY   0x2c0

Definition at line 704 of file input.h.

#define BTN_TRIGGER_HAPPY1   0x2c0

Definition at line 705 of file input.h.

#define BTN_TRIGGER_HAPPY10   0x2c9

Definition at line 714 of file input.h.

#define BTN_TRIGGER_HAPPY11   0x2ca

Definition at line 715 of file input.h.

#define BTN_TRIGGER_HAPPY12   0x2cb

Definition at line 716 of file input.h.

#define BTN_TRIGGER_HAPPY13   0x2cc

Definition at line 717 of file input.h.

#define BTN_TRIGGER_HAPPY14   0x2cd

Definition at line 718 of file input.h.

#define BTN_TRIGGER_HAPPY15   0x2ce

Definition at line 719 of file input.h.

#define BTN_TRIGGER_HAPPY16   0x2cf

Definition at line 720 of file input.h.

#define BTN_TRIGGER_HAPPY17   0x2d0

Definition at line 721 of file input.h.

#define BTN_TRIGGER_HAPPY18   0x2d1

Definition at line 722 of file input.h.

#define BTN_TRIGGER_HAPPY19   0x2d2

Definition at line 723 of file input.h.

#define BTN_TRIGGER_HAPPY2   0x2c1

Definition at line 706 of file input.h.

#define BTN_TRIGGER_HAPPY20   0x2d3

Definition at line 724 of file input.h.

#define BTN_TRIGGER_HAPPY21   0x2d4

Definition at line 725 of file input.h.

#define BTN_TRIGGER_HAPPY22   0x2d5

Definition at line 726 of file input.h.

#define BTN_TRIGGER_HAPPY23   0x2d6

Definition at line 727 of file input.h.

#define BTN_TRIGGER_HAPPY24   0x2d7

Definition at line 728 of file input.h.

#define BTN_TRIGGER_HAPPY25   0x2d8

Definition at line 729 of file input.h.

#define BTN_TRIGGER_HAPPY26   0x2d9

Definition at line 730 of file input.h.

#define BTN_TRIGGER_HAPPY27   0x2da

Definition at line 731 of file input.h.

#define BTN_TRIGGER_HAPPY28   0x2db

Definition at line 732 of file input.h.

#define BTN_TRIGGER_HAPPY29   0x2dc

Definition at line 733 of file input.h.

#define BTN_TRIGGER_HAPPY3   0x2c2

Definition at line 707 of file input.h.

#define BTN_TRIGGER_HAPPY30   0x2dd

Definition at line 734 of file input.h.

#define BTN_TRIGGER_HAPPY31   0x2de

Definition at line 735 of file input.h.

#define BTN_TRIGGER_HAPPY32   0x2df

Definition at line 736 of file input.h.

#define BTN_TRIGGER_HAPPY33   0x2e0

Definition at line 737 of file input.h.

#define BTN_TRIGGER_HAPPY34   0x2e1

Definition at line 738 of file input.h.

#define BTN_TRIGGER_HAPPY35   0x2e2

Definition at line 739 of file input.h.

#define BTN_TRIGGER_HAPPY36   0x2e3

Definition at line 740 of file input.h.

#define BTN_TRIGGER_HAPPY37   0x2e4

Definition at line 741 of file input.h.

#define BTN_TRIGGER_HAPPY38   0x2e5

Definition at line 742 of file input.h.

#define BTN_TRIGGER_HAPPY39   0x2e6

Definition at line 743 of file input.h.

#define BTN_TRIGGER_HAPPY4   0x2c3

Definition at line 708 of file input.h.

#define BTN_TRIGGER_HAPPY40   0x2e7

Definition at line 744 of file input.h.

#define BTN_TRIGGER_HAPPY5   0x2c4

Definition at line 709 of file input.h.

#define BTN_TRIGGER_HAPPY6   0x2c5

Definition at line 710 of file input.h.

#define BTN_TRIGGER_HAPPY7   0x2c6

Definition at line 711 of file input.h.

#define BTN_TRIGGER_HAPPY8   0x2c7

Definition at line 712 of file input.h.

#define BTN_TRIGGER_HAPPY9   0x2c8

Definition at line 713 of file input.h.

#define BTN_WHEEL   0x150

Definition at line 541 of file input.h.

#define BTN_X   0x133

Definition at line 511 of file input.h.

#define BTN_Y   0x134

Definition at line 512 of file input.h.

#define BTN_Z   0x135

Definition at line 513 of file input.h.

#define BUS_ADB   0x17

Definition at line 915 of file input.h.

#define BUS_AMIGA   0x16

Definition at line 914 of file input.h.

#define BUS_ATARI   0x1B

Definition at line 919 of file input.h.

#define BUS_BLUETOOTH   0x05

Definition at line 905 of file input.h.

#define BUS_GAMEPORT   0x14

Definition at line 912 of file input.h.

#define BUS_GSC   0x1A

Definition at line 918 of file input.h.

#define BUS_HIL   0x04

Definition at line 904 of file input.h.

#define BUS_HOST   0x19

Definition at line 917 of file input.h.

#define BUS_I2C   0x18

Definition at line 916 of file input.h.

#define BUS_I8042   0x11

Definition at line 909 of file input.h.

#define BUS_ISA   0x10

Definition at line 908 of file input.h.

#define BUS_ISAPNP   0x02

Definition at line 902 of file input.h.

#define BUS_PARPORT   0x15

Definition at line 913 of file input.h.

#define BUS_PCI   0x01

Definition at line 901 of file input.h.

#define BUS_RS232   0x13

Definition at line 911 of file input.h.

#define BUS_SPI   0x1C

Definition at line 920 of file input.h.

#define BUS_USB   0x03

Definition at line 903 of file input.h.

#define BUS_VIRTUAL   0x06

Definition at line 906 of file input.h.

#define BUS_XTKBD   0x12

Definition at line 910 of file input.h.

#define EV_ABS   0x03

Definition at line 177 of file input.h.

#define EV_CNT   (EV_MAX+1)

Definition at line 187 of file input.h.

#define EV_FF   0x15

Definition at line 183 of file input.h.

#define EV_FF_STATUS   0x17

Definition at line 185 of file input.h.

#define EV_KEY   0x01

Definition at line 175 of file input.h.

#define EV_LED   0x11

Definition at line 180 of file input.h.

#define EV_MAX   0x1f

Definition at line 186 of file input.h.

#define EV_MSC   0x04

Definition at line 178 of file input.h.

#define EV_PWR   0x16

Definition at line 184 of file input.h.

#define EV_REL   0x02

Definition at line 176 of file input.h.

#define EV_REP   0x14

Definition at line 182 of file input.h.

#define EV_SND   0x12

Definition at line 181 of file input.h.

#define EV_SW   0x05

Definition at line 179 of file input.h.

#define EV_SYN   0x00

Definition at line 174 of file input.h.

#define EV_VERSION   0x010001

Definition at line 35 of file input.h.

#define EVIOCGABS (   abs)    _IOR('E', 0x40 + (abs), struct input_absinfo) /* get abs value/limits */

Definition at line 147 of file input.h.

#define EVIOCGBIT (   ev,
  len 
)    _IOC(_IOC_READ, 'E', 0x20 + (ev), len) /* get event bits */

Definition at line 146 of file input.h.

#define EVIOCGEFFECTS   _IOR('E', 0x84, int) /* Report number of effects playable at the same time */

Definition at line 152 of file input.h.

#define EVIOCGID   _IOR('E', 0x02, struct input_id) /* get device ID */

Definition at line 101 of file input.h.

#define EVIOCGKEY (   len)    _IOC(_IOC_READ, 'E', 0x18, len) /* get global key state */

Definition at line 141 of file input.h.

#define EVIOCGKEYCODE   _IOR('E', 0x04, unsigned int[2]) /* get keycode */

Definition at line 105 of file input.h.

#define EVIOCGKEYCODE_V2   _IOR('E', 0x04, struct input_keymap_entry)

Definition at line 106 of file input.h.

#define EVIOCGLED (   len)    _IOC(_IOC_READ, 'E', 0x19, len) /* get all LEDs */

Definition at line 142 of file input.h.

#define EVIOCGMTSLOTS (   len)    _IOC(_IOC_READ, 'E', 0x0a, len)

EVIOCGMTSLOTS(len) - get MT slot values : size of the data buffer in bytes

The ioctl buffer argument should be binary equivalent to

struct input_mt_request_layout { __u32 code; __s32 values[num_slots]; };

where num_slots is the (arbitrary) number of MT slots to extract.

The ioctl size argument (len) is the size of the buffer, which should satisfy len = (num_slots + 1) * sizeof(__s32). If len is too small to fit all available slots, the first num_slots are returned.

Before the call, code is set to the wanted ABS_MT event type. On return, values[] is filled with the slot values for the specified ABS_MT code.

If the request code is not an ABS_MT value, -EINVAL is returned.

Definition at line 139 of file input.h.

#define EVIOCGNAME (   len)    _IOC(_IOC_READ, 'E', 0x06, len) /* get device name */

Definition at line 110 of file input.h.

#define EVIOCGPHYS (   len)    _IOC(_IOC_READ, 'E', 0x07, len) /* get physical location */

Definition at line 111 of file input.h.

#define EVIOCGPROP (   len)    _IOC(_IOC_READ, 'E', 0x09, len) /* get device properties */

Definition at line 113 of file input.h.

#define EVIOCGRAB   _IOW('E', 0x90, int) /* Grab/Release device */

Definition at line 154 of file input.h.

#define EVIOCGREP   _IOR('E', 0x03, unsigned int[2]) /* get repeat settings */

Definition at line 102 of file input.h.

#define EVIOCGSND (   len)    _IOC(_IOC_READ, 'E', 0x1a, len) /* get all sounds status */

Definition at line 143 of file input.h.

#define EVIOCGSW (   len)    _IOC(_IOC_READ, 'E', 0x1b, len) /* get all switch states */

Definition at line 144 of file input.h.

#define EVIOCGUNIQ (   len)    _IOC(_IOC_READ, 'E', 0x08, len) /* get unique identifier */

Definition at line 112 of file input.h.

#define EVIOCGVERSION   _IOR('E', 0x01, int) /* get driver version */

Definition at line 100 of file input.h.

#define EVIOCRMFF   _IOW('E', 0x81, int) /* Erase a force effect */

Definition at line 151 of file input.h.

#define EVIOCSABS (   abs)    _IOW('E', 0xc0 + (abs), struct input_absinfo) /* set abs value/limits */

Definition at line 148 of file input.h.

#define EVIOCSCLOCKID   _IOW('E', 0xa0, int) /* Set clockid to be used for timestamps */

Definition at line 156 of file input.h.

#define EVIOCSFF   _IOC(_IOC_WRITE, 'E', 0x80, sizeof(struct ff_effect)) /* send a force effect to a force feedback device */

Definition at line 150 of file input.h.

#define EVIOCSKEYCODE   _IOW('E', 0x04, unsigned int[2]) /* set keycode */

Definition at line 107 of file input.h.

#define EVIOCSKEYCODE_V2   _IOW('E', 0x04, struct input_keymap_entry)

Definition at line 108 of file input.h.

#define EVIOCSREP   _IOW('E', 0x03, unsigned int[2]) /* set repeat settings */

Definition at line 103 of file input.h.

#define FF_AUTOCENTER   0x61

Definition at line 1146 of file input.h.

#define FF_CNT   (FF_MAX+1)

Definition at line 1149 of file input.h.

#define FF_CONSTANT   0x52

Definition at line 1117 of file input.h.

#define FF_CUSTOM   0x5d

Definition at line 1136 of file input.h.

#define FF_DAMPER   0x55

Definition at line 1120 of file input.h.

#define FF_EFFECT_MAX   FF_RAMP

Definition at line 1125 of file input.h.

#define FF_EFFECT_MIN   FF_RUMBLE

Definition at line 1124 of file input.h.

#define FF_FRICTION   0x54

Definition at line 1119 of file input.h.

#define FF_GAIN   0x60

Definition at line 1145 of file input.h.

#define FF_INERTIA   0x56

Definition at line 1121 of file input.h.

#define FF_MAX   0x7f

Definition at line 1148 of file input.h.

#define FF_PERIODIC   0x51

Definition at line 1116 of file input.h.

#define FF_RAMP   0x57

Definition at line 1122 of file input.h.

#define FF_RUMBLE   0x50

Definition at line 1115 of file input.h.

#define FF_SAW_DOWN   0x5c

Definition at line 1135 of file input.h.

#define FF_SAW_UP   0x5b

Definition at line 1134 of file input.h.

#define FF_SINE   0x5a

Definition at line 1133 of file input.h.

#define FF_SPRING   0x53

Definition at line 1118 of file input.h.

#define FF_SQUARE   0x58

Definition at line 1131 of file input.h.

#define FF_STATUS_MAX   0x01

Definition at line 934 of file input.h.

#define FF_STATUS_PLAYING   0x01

Definition at line 933 of file input.h.

#define FF_STATUS_STOPPED   0x00

Definition at line 932 of file input.h.

#define FF_TRIANGLE   0x59

Definition at line 1132 of file input.h.

#define FF_WAVEFORM_MAX   FF_CUSTOM

Definition at line 1139 of file input.h.

#define FF_WAVEFORM_MIN   FF_SQUARE

Definition at line 1138 of file input.h.

#define ID_BUS   0

Definition at line 896 of file input.h.

#define ID_PRODUCT   2

Definition at line 898 of file input.h.

#define ID_VENDOR   1

Definition at line 897 of file input.h.

#define ID_VERSION   3

Definition at line 899 of file input.h.

#define INPUT_KEYMAP_BY_INDEX   (1 << 0)

Definition at line 92 of file input.h.

#define INPUT_PROP_BUTTONPAD   0x02 /* has button(s) under pad */

Definition at line 164 of file input.h.

#define INPUT_PROP_CNT   (INPUT_PROP_MAX + 1)

Definition at line 168 of file input.h.

#define INPUT_PROP_DIRECT   0x01 /* direct input devices */

Definition at line 163 of file input.h.

#define INPUT_PROP_MAX   0x1f

Definition at line 167 of file input.h.

#define INPUT_PROP_POINTER   0x00 /* needs a pointer */

Definition at line 162 of file input.h.

#define INPUT_PROP_SEMI_MT   0x03 /* touch rectangle only */

Definition at line 165 of file input.h.

#define KEY_0   11

Definition at line 220 of file input.h.

#define KEY_1   2

Definition at line 211 of file input.h.

#define KEY_102ND   86

Definition at line 295 of file input.h.

#define KEY_10CHANNELSDOWN   0x1b9 /* 10 channels down (10-) */

Definition at line 636 of file input.h.

#define KEY_10CHANNELSUP   0x1b8 /* 10 channels up (10+) */

Definition at line 635 of file input.h.

#define KEY_2   3

Definition at line 212 of file input.h.

#define KEY_3   4

Definition at line 213 of file input.h.

#define KEY_4   5

Definition at line 214 of file input.h.

#define KEY_5   6

Definition at line 215 of file input.h.

#define KEY_6   7

Definition at line 216 of file input.h.

#define KEY_7   8

Definition at line 217 of file input.h.

#define KEY_8   9

Definition at line 218 of file input.h.

#define KEY_9   10

Definition at line 219 of file input.h.

#define KEY_A   30

Definition at line 239 of file input.h.

#define KEY_AB   0x196

Definition at line 599 of file input.h.

#define KEY_ADDRESSBOOK   0x1ad /* AL Contacts/Address Book */

Definition at line 622 of file input.h.

#define KEY_AGAIN   129

Definition at line 341 of file input.h.

#define KEY_ALTERASE   222

Definition at line 432 of file input.h.

#define KEY_ANGLE   0x173

Definition at line 564 of file input.h.

#define KEY_APOSTROPHE   40

Definition at line 249 of file input.h.

#define KEY_ARCHIVE   0x169

Definition at line 554 of file input.h.

#define KEY_AUDIO   0x188 /* AL Audio Browser */

Definition at line 585 of file input.h.

#define KEY_AUX   0x186

Definition at line 583 of file input.h.

#define KEY_B   48

Definition at line 257 of file input.h.

#define KEY_BACK   158 /* AC Back */

Definition at line 371 of file input.h.

#define KEY_BACKSLASH   43

Definition at line 252 of file input.h.

#define KEY_BACKSPACE   14

Definition at line 223 of file input.h.

#define KEY_BASSBOOST   209

Definition at line 419 of file input.h.

#define KEY_BATTERY   236

Definition at line 449 of file input.h.

#define KEY_BLUE   0x191

Definition at line 594 of file input.h.

#define KEY_BLUETOOTH   237

Definition at line 451 of file input.h.

#define KEY_BOOKMARKS   156 /* AC Bookmarks */

Definition at line 369 of file input.h.

#define KEY_BREAK   0x19b

Definition at line 604 of file input.h.

#define KEY_BRIGHTNESS_CYCLE   243 /* brightness up, after max is min */

Definition at line 459 of file input.h.

#define KEY_BRIGHTNESS_ZERO   244 /* brightness off, use ambient */

Definition at line 460 of file input.h.

#define KEY_BRIGHTNESSDOWN   224

Definition at line 434 of file input.h.

#define KEY_BRIGHTNESSUP   225

Definition at line 435 of file input.h.

#define KEY_BRL_DOT1   0x1f1

Definition at line 666 of file input.h.

#define KEY_BRL_DOT10   0x1fa

Definition at line 675 of file input.h.

#define KEY_BRL_DOT2   0x1f2

Definition at line 667 of file input.h.

#define KEY_BRL_DOT3   0x1f3

Definition at line 668 of file input.h.

#define KEY_BRL_DOT4   0x1f4

Definition at line 669 of file input.h.

#define KEY_BRL_DOT5   0x1f5

Definition at line 670 of file input.h.

#define KEY_BRL_DOT6   0x1f6

Definition at line 671 of file input.h.

#define KEY_BRL_DOT7   0x1f7

Definition at line 672 of file input.h.

#define KEY_BRL_DOT8   0x1f8

Definition at line 673 of file input.h.

#define KEY_BRL_DOT9   0x1f9

Definition at line 674 of file input.h.

#define KEY_C   46

Definition at line 255 of file input.h.

#define KEY_CALC   140 /* AL Calculator */

Definition at line 352 of file input.h.

#define KEY_CALENDAR   0x18d

Definition at line 590 of file input.h.

#define KEY_CAMERA   212

Definition at line 422 of file input.h.

#define KEY_CAMERA_DOWN   0x218

Definition at line 700 of file input.h.

#define KEY_CAMERA_FOCUS   0x210

Definition at line 690 of file input.h.

#define KEY_CAMERA_LEFT   0x219

Definition at line 701 of file input.h.

#define KEY_CAMERA_RIGHT   0x21a

Definition at line 702 of file input.h.

#define KEY_CAMERA_UP   0x217

Definition at line 699 of file input.h.

#define KEY_CAMERA_ZOOMIN   0x215

Definition at line 697 of file input.h.

#define KEY_CAMERA_ZOOMOUT   0x216

Definition at line 698 of file input.h.

#define KEY_CANCEL   223 /* AC Cancel */

Definition at line 433 of file input.h.

#define KEY_CAPSLOCK   58

Definition at line 267 of file input.h.

#define KEY_CD   0x17f /* Media Select CD */

Definition at line 576 of file input.h.

#define KEY_CHANNEL   0x16b

Definition at line 556 of file input.h.

#define KEY_CHANNELDOWN   0x193 /* Channel Decrement */

Definition at line 596 of file input.h.

#define KEY_CHANNELUP   0x192 /* Channel Increment */

Definition at line 595 of file input.h.

#define KEY_CHAT   216

Definition at line 426 of file input.h.

#define KEY_CLEAR   0x163

Definition at line 548 of file input.h.

#define KEY_CLOSE   206 /* AC Close */

Definition at line 416 of file input.h.

#define KEY_CLOSECD   160

Definition at line 373 of file input.h.

#define KEY_CNT   (KEY_MAX+1)

Definition at line 749 of file input.h.

#define KEY_COFFEE   152 /* AL Terminal Lock/Screensaver */

Definition at line 364 of file input.h.

#define KEY_COMMA   51

Definition at line 260 of file input.h.

#define KEY_COMPOSE   127

Definition at line 338 of file input.h.

#define KEY_COMPUTER   157

Definition at line 370 of file input.h.

#define KEY_CONFIG   171 /* AL Consumer Control Configuration */

Definition at line 384 of file input.h.

#define KEY_CONNECT   218

Definition at line 428 of file input.h.

#define KEY_CONTEXT_MENU   0x1b6 /* GenDesc - system context menu */

Definition at line 633 of file input.h.

#define KEY_COPY   133 /* AC Copy */

Definition at line 345 of file input.h.

#define KEY_CUT   137 /* AC Cut */

Definition at line 349 of file input.h.

#define KEY_CYCLEWINDOWS   154

Definition at line 367 of file input.h.

#define KEY_D   32

Definition at line 241 of file input.h.

#define KEY_DASHBOARD   204 /* AL Dashboard */

Definition at line 414 of file input.h.

#define KEY_DATABASE   0x1aa /* AL Database App */

Definition at line 619 of file input.h.

#define KEY_DEL_EOL   0x1c0

Definition at line 639 of file input.h.

#define KEY_DEL_EOS   0x1c1

Definition at line 640 of file input.h.

#define KEY_DEL_LINE   0x1c3

Definition at line 642 of file input.h.

#define KEY_DELETE   111

Definition at line 320 of file input.h.

#define KEY_DELETEFILE   146

Definition at line 358 of file input.h.

#define KEY_DIGITS   0x19d

Definition at line 606 of file input.h.

#define KEY_DIRECTION   153

Definition at line 366 of file input.h.

#define KEY_DIRECTORY   0x18a

Definition at line 587 of file input.h.

#define KEY_DISPLAY_OFF   245 /* display device to off state */

Definition at line 461 of file input.h.

#define KEY_DISPLAYTOGGLE   0x1af /* Turn display (LCD) on and off */

Definition at line 624 of file input.h.

#define KEY_DOCUMENTS   235

Definition at line 447 of file input.h.

#define KEY_DOLLAR   0x1b2

Definition at line 628 of file input.h.

#define KEY_DOT   52

Definition at line 261 of file input.h.

#define KEY_DOWN   108

Definition at line 317 of file input.h.

#define KEY_DVD   0x185 /* Media Select DVD */

Definition at line 582 of file input.h.

#define KEY_E   18

Definition at line 227 of file input.h.

#define KEY_EDIT   176

Definition at line 389 of file input.h.

#define KEY_EDITOR   0x1a6 /* AL Text Editor */

Definition at line 615 of file input.h.

#define KEY_EJECTCD   161

Definition at line 374 of file input.h.

#define KEY_EJECTCLOSECD   162

Definition at line 375 of file input.h.

#define KEY_EMAIL   215

Definition at line 425 of file input.h.

#define KEY_END   107

Definition at line 316 of file input.h.

#define KEY_ENTER   28

Definition at line 237 of file input.h.

#define KEY_EPG   0x16d

Definition at line 558 of file input.h.

#define KEY_EQUAL   13

Definition at line 222 of file input.h.

#define KEY_ESC   1

Definition at line 210 of file input.h.

#define KEY_EURO   0x1b3

Definition at line 629 of file input.h.

#define KEY_EXIT   174 /* AC Exit */

Definition at line 387 of file input.h.

#define KEY_F   33

Definition at line 242 of file input.h.

#define KEY_F1   59

Definition at line 268 of file input.h.

#define KEY_F10   68

Definition at line 277 of file input.h.

#define KEY_F11   87

Definition at line 296 of file input.h.

#define KEY_F12   88

Definition at line 297 of file input.h.

#define KEY_F13   183

Definition at line 397 of file input.h.

#define KEY_F14   184

Definition at line 398 of file input.h.

#define KEY_F15   185

Definition at line 399 of file input.h.

#define KEY_F16   186

Definition at line 400 of file input.h.

#define KEY_F17   187

Definition at line 401 of file input.h.

#define KEY_F18   188

Definition at line 402 of file input.h.

#define KEY_F19   189

Definition at line 403 of file input.h.

#define KEY_F2   60

Definition at line 269 of file input.h.

#define KEY_F20   190

Definition at line 404 of file input.h.

#define KEY_F21   191

Definition at line 405 of file input.h.

#define KEY_F22   192

Definition at line 406 of file input.h.

#define KEY_F23   193

Definition at line 407 of file input.h.

#define KEY_F24   194

Definition at line 408 of file input.h.

#define KEY_F3   61

Definition at line 270 of file input.h.

#define KEY_F4   62

Definition at line 271 of file input.h.

#define KEY_F5   63

Definition at line 272 of file input.h.

#define KEY_F6   64

Definition at line 273 of file input.h.

#define KEY_F7   65

Definition at line 274 of file input.h.

#define KEY_F8   66

Definition at line 275 of file input.h.

#define KEY_F9   67

Definition at line 276 of file input.h.

#define KEY_FASTFORWARD   208

Definition at line 418 of file input.h.

#define KEY_FAVORITES   0x16c

Definition at line 557 of file input.h.

#define KEY_FILE   144 /* AL Local Machine Browser */

Definition at line 356 of file input.h.

#define KEY_FINANCE   219 /* AL Checkbook/Finance */

Definition at line 429 of file input.h.

#define KEY_FIND   136 /* AC Search */

Definition at line 348 of file input.h.

#define KEY_FIRST   0x194

Definition at line 597 of file input.h.

#define KEY_FN   0x1d0

Definition at line 644 of file input.h.

#define KEY_FN_1   0x1de

Definition at line 658 of file input.h.

#define KEY_FN_2   0x1df

Definition at line 659 of file input.h.

#define KEY_FN_B   0x1e4

Definition at line 664 of file input.h.

#define KEY_FN_D   0x1e0

Definition at line 660 of file input.h.

#define KEY_FN_E   0x1e1

Definition at line 661 of file input.h.

#define KEY_FN_ESC   0x1d1

Definition at line 645 of file input.h.

#define KEY_FN_F   0x1e2

Definition at line 662 of file input.h.

#define KEY_FN_F1   0x1d2

Definition at line 646 of file input.h.

#define KEY_FN_F10   0x1db

Definition at line 655 of file input.h.

#define KEY_FN_F11   0x1dc

Definition at line 656 of file input.h.

#define KEY_FN_F12   0x1dd

Definition at line 657 of file input.h.

#define KEY_FN_F2   0x1d3

Definition at line 647 of file input.h.

#define KEY_FN_F3   0x1d4

Definition at line 648 of file input.h.

#define KEY_FN_F4   0x1d5

Definition at line 649 of file input.h.

#define KEY_FN_F5   0x1d6

Definition at line 650 of file input.h.

#define KEY_FN_F6   0x1d7

Definition at line 651 of file input.h.

#define KEY_FN_F7   0x1d8

Definition at line 652 of file input.h.

#define KEY_FN_F8   0x1d9

Definition at line 653 of file input.h.

#define KEY_FN_F9   0x1da

Definition at line 654 of file input.h.

#define KEY_FN_S   0x1e3

Definition at line 663 of file input.h.

#define KEY_FORWARD   159 /* AC Forward */

Definition at line 372 of file input.h.

#define KEY_FORWARDMAIL   233 /* AC Forward Msg */

Definition at line 445 of file input.h.

#define KEY_FRAMEBACK   0x1b4 /* Consumer - transport controls */

Definition at line 631 of file input.h.

#define KEY_FRAMEFORWARD   0x1b5

Definition at line 632 of file input.h.

#define KEY_FRONT   132

Definition at line 344 of file input.h.

#define KEY_G   34

Definition at line 243 of file input.h.

#define KEY_GAMES   0x1a1 /* Media Select Games */

Definition at line 610 of file input.h.

#define KEY_GOTO   0x162

Definition at line 547 of file input.h.

#define KEY_GRAPHICSEDITOR   0x1a8 /* AL Graphics Editor */

Definition at line 617 of file input.h.

#define KEY_GRAVE   41

Definition at line 250 of file input.h.

#define KEY_GREEN   0x18f

Definition at line 592 of file input.h.

#define KEY_H   35

Definition at line 244 of file input.h.

#define KEY_HANGEUL   122

Definition at line 332 of file input.h.

#define KEY_HANGUEL   KEY_HANGEUL

Definition at line 333 of file input.h.

#define KEY_HANJA   123

Definition at line 334 of file input.h.

#define KEY_HELP   138 /* AL Integrated Help Center */

Definition at line 350 of file input.h.

#define KEY_HENKAN   92

Definition at line 301 of file input.h.

#define KEY_HIRAGANA   91

Definition at line 300 of file input.h.

#define KEY_HOME   102

Definition at line 311 of file input.h.

#define KEY_HOMEPAGE   172 /* AC Home */

Definition at line 385 of file input.h.

#define KEY_HP   211

Definition at line 421 of file input.h.

#define KEY_I   23

Definition at line 232 of file input.h.

#define KEY_IMAGES   0x1ba /* AL Image Browser */

Definition at line 637 of file input.h.

#define KEY_INFO   0x166 /* AL OEM Features/Tips/Tutorial */

Definition at line 551 of file input.h.

#define KEY_INS_LINE   0x1c2

Definition at line 641 of file input.h.

#define KEY_INSERT   110

Definition at line 319 of file input.h.

#define KEY_ISO   170

Definition at line 383 of file input.h.

#define KEY_J   36

Definition at line 245 of file input.h.

#define KEY_K   37

Definition at line 246 of file input.h.

#define KEY_KATAKANA   90

Definition at line 299 of file input.h.

#define KEY_KATAKANAHIRAGANA   93

Definition at line 302 of file input.h.

#define KEY_KBDILLUMDOWN   229

Definition at line 440 of file input.h.

#define KEY_KBDILLUMTOGGLE   228

Definition at line 439 of file input.h.

#define KEY_KBDILLUMUP   230

Definition at line 441 of file input.h.

#define KEY_KEYBOARD   0x176

Definition at line 567 of file input.h.

#define KEY_KP0   82

Definition at line 291 of file input.h.

#define KEY_KP1   79

Definition at line 288 of file input.h.

#define KEY_KP2   80

Definition at line 289 of file input.h.

#define KEY_KP3   81

Definition at line 290 of file input.h.

#define KEY_KP4   75

Definition at line 284 of file input.h.

#define KEY_KP5   76

Definition at line 285 of file input.h.

#define KEY_KP6   77

Definition at line 286 of file input.h.

#define KEY_KP7   71

Definition at line 280 of file input.h.

#define KEY_KP8   72

Definition at line 281 of file input.h.

#define KEY_KP9   73

Definition at line 282 of file input.h.

#define KEY_KPASTERISK   55

Definition at line 264 of file input.h.

#define KEY_KPCOMMA   121

Definition at line 331 of file input.h.

#define KEY_KPDOT   83

Definition at line 292 of file input.h.

#define KEY_KPENTER   96

Definition at line 305 of file input.h.

#define KEY_KPEQUAL   117

Definition at line 326 of file input.h.

#define KEY_KPJPCOMMA   95

Definition at line 304 of file input.h.

#define KEY_KPLEFTPAREN   179

Definition at line 392 of file input.h.

#define KEY_KPMINUS   74

Definition at line 283 of file input.h.

#define KEY_KPPLUS   78

Definition at line 287 of file input.h.

#define KEY_KPPLUSMINUS   118

Definition at line 327 of file input.h.

#define KEY_KPRIGHTPAREN   180

Definition at line 393 of file input.h.

#define KEY_KPSLASH   98

Definition at line 307 of file input.h.

#define KEY_L   38

Definition at line 247 of file input.h.

#define KEY_LANGUAGE   0x170

Definition at line 561 of file input.h.

#define KEY_LAST   0x195 /* Recall Last */

Definition at line 598 of file input.h.

#define KEY_LEFT   105

Definition at line 314 of file input.h.

#define KEY_LEFTALT   56

Definition at line 265 of file input.h.

#define KEY_LEFTBRACE   26

Definition at line 235 of file input.h.

#define KEY_LEFTCTRL   29

Definition at line 238 of file input.h.

#define KEY_LEFTMETA   125

Definition at line 336 of file input.h.

#define KEY_LEFTSHIFT   42

Definition at line 251 of file input.h.

#define KEY_LINEFEED   101

Definition at line 310 of file input.h.

#define KEY_LIST   0x18b

Definition at line 588 of file input.h.

#define KEY_LOGOFF   0x1b1 /* AL Logoff */

Definition at line 626 of file input.h.

#define KEY_M   50

Definition at line 259 of file input.h.

#define KEY_MACRO   112

Definition at line 321 of file input.h.

#define KEY_MAIL   155

Definition at line 368 of file input.h.

#define KEY_MAX   0x2ff

Definition at line 748 of file input.h.

#define KEY_MEDIA   226

Definition at line 436 of file input.h.

#define KEY_MEDIA_REPEAT   0x1b7 /* Consumer - transport control */

Definition at line 634 of file input.h.

#define KEY_MEMO   0x18c /* Media Select Messages */

Definition at line 589 of file input.h.

#define KEY_MENU   139 /* Menu (show menu) */

Definition at line 351 of file input.h.

#define KEY_MESSENGER   0x1ae /* AL Instant Messaging */

Definition at line 623 of file input.h.

#define KEY_MHP   0x16f

Definition at line 560 of file input.h.

#define KEY_MICMUTE   248 /* Mute / unmute the microphone */

Definition at line 466 of file input.h.

#define KEY_MIN_INTERESTING   KEY_MUTE

Definition at line 747 of file input.h.

#define KEY_MINUS   12

Definition at line 221 of file input.h.

#define KEY_MODE   0x175

Definition at line 566 of file input.h.

#define KEY_MOVE   175

Definition at line 388 of file input.h.

#define KEY_MP3   0x187

Definition at line 584 of file input.h.

#define KEY_MSDOS   151

Definition at line 363 of file input.h.

#define KEY_MUHENKAN   94

Definition at line 303 of file input.h.

#define KEY_MUTE   113

Definition at line 322 of file input.h.

#define KEY_N   49

Definition at line 258 of file input.h.

#define KEY_NEW   181 /* AC New */

Definition at line 394 of file input.h.

#define KEY_NEWS   0x1ab /* AL Newsreader */

Definition at line 620 of file input.h.

#define KEY_NEXT   0x197

Definition at line 600 of file input.h.

#define KEY_NEXTSONG   163

Definition at line 376 of file input.h.

#define KEY_NUMERIC_0   0x200 /* used by phones, remote controls, */

Definition at line 677 of file input.h.

#define KEY_NUMERIC_1   0x201 /* and other keypads */

Definition at line 678 of file input.h.

#define KEY_NUMERIC_2   0x202

Definition at line 679 of file input.h.

#define KEY_NUMERIC_3   0x203

Definition at line 680 of file input.h.

#define KEY_NUMERIC_4   0x204

Definition at line 681 of file input.h.

#define KEY_NUMERIC_5   0x205

Definition at line 682 of file input.h.

#define KEY_NUMERIC_6   0x206

Definition at line 683 of file input.h.

#define KEY_NUMERIC_7   0x207

Definition at line 684 of file input.h.

#define KEY_NUMERIC_8   0x208

Definition at line 685 of file input.h.

#define KEY_NUMERIC_9   0x209

Definition at line 686 of file input.h.

#define KEY_NUMERIC_POUND   0x20b

Definition at line 688 of file input.h.

#define KEY_NUMERIC_STAR   0x20a

Definition at line 687 of file input.h.

#define KEY_NUMLOCK   69

Definition at line 278 of file input.h.

#define KEY_O   24

Definition at line 233 of file input.h.

#define KEY_OK   0x160

Definition at line 545 of file input.h.

#define KEY_OPEN   134 /* AC Open */

Definition at line 346 of file input.h.

#define KEY_OPTION   0x165

Definition at line 550 of file input.h.

#define KEY_P   25

Definition at line 234 of file input.h.

#define KEY_PAGEDOWN   109

Definition at line 318 of file input.h.

#define KEY_PAGEUP   104

Definition at line 313 of file input.h.

#define KEY_PASTE   135 /* AC Paste */

Definition at line 347 of file input.h.

#define KEY_PAUSE   119

Definition at line 328 of file input.h.

#define KEY_PAUSECD   201

Definition at line 411 of file input.h.

#define KEY_PC   0x178 /* Media Select Computer */

Definition at line 569 of file input.h.

#define KEY_PHONE   169 /* Media Select Telephone */

Definition at line 382 of file input.h.

#define KEY_PLAY   207

Definition at line 417 of file input.h.

#define KEY_PLAYCD   200

Definition at line 410 of file input.h.

#define KEY_PLAYER   0x183

Definition at line 580 of file input.h.

#define KEY_PLAYPAUSE   164

Definition at line 377 of file input.h.

#define KEY_POWER   116 /* SC System Power Down */

Definition at line 325 of file input.h.

#define KEY_POWER2   0x164

Definition at line 549 of file input.h.

#define KEY_PRESENTATION   0x1a9 /* AL Presentation App */

Definition at line 618 of file input.h.

#define KEY_PREVIOUS   0x19c

Definition at line 605 of file input.h.

#define KEY_PREVIOUSSONG   165

Definition at line 378 of file input.h.

#define KEY_PRINT   210 /* AC Print */

Definition at line 420 of file input.h.

#define KEY_PROG1   148

Definition at line 360 of file input.h.

#define KEY_PROG2   149

Definition at line 361 of file input.h.

#define KEY_PROG3   202

Definition at line 412 of file input.h.

#define KEY_PROG4   203

Definition at line 413 of file input.h.

#define KEY_PROGRAM   0x16a /* Media Select Program Guide */

Definition at line 555 of file input.h.

#define KEY_PROPS   130 /* AC Properties */

Definition at line 342 of file input.h.

#define KEY_PVR   0x16e /* Media Select Home */

Definition at line 559 of file input.h.

#define KEY_Q   16

Definition at line 225 of file input.h.

#define KEY_QUESTION   214

Definition at line 424 of file input.h.

#define KEY_R   19

Definition at line 228 of file input.h.

#define KEY_RADIO   0x181

Definition at line 578 of file input.h.

#define KEY_RECORD   167

Definition at line 380 of file input.h.

#define KEY_RED   0x18e

Definition at line 591 of file input.h.

#define KEY_REDO   182 /* AC Redo/Repeat */

Definition at line 395 of file input.h.

#define KEY_REFRESH   173 /* AC Refresh */

Definition at line 386 of file input.h.

#define KEY_REPLY   232 /* AC Reply */

Definition at line 444 of file input.h.

#define KEY_RESERVED   0

Definition at line 209 of file input.h.

#define KEY_RESTART   0x198

Definition at line 601 of file input.h.

#define KEY_REWIND   168

Definition at line 381 of file input.h.

#define KEY_RFKILL   247 /* Key that controls all radios */

Definition at line 464 of file input.h.

#define KEY_RIGHT   106

Definition at line 315 of file input.h.

#define KEY_RIGHTALT   100

Definition at line 309 of file input.h.

#define KEY_RIGHTBRACE   27

Definition at line 236 of file input.h.

#define KEY_RIGHTCTRL   97

Definition at line 306 of file input.h.

#define KEY_RIGHTMETA   126

Definition at line 337 of file input.h.

#define KEY_RIGHTSHIFT   54

Definition at line 263 of file input.h.

#define KEY_RO   89

Definition at line 298 of file input.h.

#define KEY_S   31

Definition at line 240 of file input.h.

#define KEY_SAT   0x17d /* Media Select Satellite */

Definition at line 574 of file input.h.

#define KEY_SAT2   0x17e

Definition at line 575 of file input.h.

#define KEY_SAVE   234 /* AC Save */

Definition at line 446 of file input.h.

#define KEY_SCALE   120 /* AL Compiz Scale (Expose) */

Definition at line 329 of file input.h.

#define KEY_SCREEN   0x177

Definition at line 568 of file input.h.

#define KEY_SCREENLOCK   KEY_COFFEE

Definition at line 365 of file input.h.

#define KEY_SCROLLDOWN   178

Definition at line 391 of file input.h.

#define KEY_SCROLLLOCK   70

Definition at line 279 of file input.h.

#define KEY_SCROLLUP   177

Definition at line 390 of file input.h.

#define KEY_SEARCH   217

Definition at line 427 of file input.h.

#define KEY_SELECT   0x161

Definition at line 546 of file input.h.

#define KEY_SEMICOLON   39

Definition at line 248 of file input.h.

#define KEY_SEND   231 /* AC Send */

Definition at line 443 of file input.h.

#define KEY_SENDFILE   145

Definition at line 357 of file input.h.

#define KEY_SETUP   141

Definition at line 353 of file input.h.

#define KEY_SHOP   221

Definition at line 431 of file input.h.

#define KEY_SHUFFLE   0x19a

Definition at line 603 of file input.h.

#define KEY_SLASH   53

Definition at line 262 of file input.h.

#define KEY_SLEEP   142 /* SC System Sleep */

Definition at line 354 of file input.h.

#define KEY_SLOW   0x199

Definition at line 602 of file input.h.

#define KEY_SOUND   213

Definition at line 423 of file input.h.

#define KEY_SPACE   57

Definition at line 266 of file input.h.

#define KEY_SPELLCHECK   0x1b0 /* AL Spell Check */

Definition at line 625 of file input.h.

#define KEY_SPORT   220

Definition at line 430 of file input.h.

#define KEY_SPREADSHEET   0x1a7 /* AL Spreadsheet */

Definition at line 616 of file input.h.

#define KEY_STOP   128 /* AC Stop */

Definition at line 340 of file input.h.

#define KEY_STOPCD   166

Definition at line 379 of file input.h.

#define KEY_SUBTITLE   0x172

Definition at line 563 of file input.h.

#define KEY_SUSPEND   205

Definition at line 415 of file input.h.

#define KEY_SWITCHVIDEOMODE
Value:
227 /* Cycle between available video
outputs (Monitor/LCD/TV-out/etc) */

Definition at line 438 of file input.h.

#define KEY_SYSRQ   99

Definition at line 308 of file input.h.

#define KEY_T   20

Definition at line 229 of file input.h.

#define KEY_TAB   15

Definition at line 224 of file input.h.

#define KEY_TAPE   0x180 /* Media Select Tape */

Definition at line 577 of file input.h.

#define KEY_TEEN   0x19e

Definition at line 607 of file input.h.

#define KEY_TEXT   0x184

Definition at line 581 of file input.h.

#define KEY_TIME   0x167

Definition at line 552 of file input.h.

#define KEY_TITLE   0x171

Definition at line 562 of file input.h.

#define KEY_TOUCHPAD_OFF   0x214

Definition at line 695 of file input.h.

#define KEY_TOUCHPAD_ON   0x213

Definition at line 694 of file input.h.

#define KEY_TOUCHPAD_TOGGLE   0x212 /* Request switch touchpad on or off */

Definition at line 693 of file input.h.

#define KEY_TUNER   0x182 /* Media Select Tuner */

Definition at line 579 of file input.h.

#define KEY_TV   0x179 /* Media Select TV */

Definition at line 570 of file input.h.

#define KEY_TV2   0x17a /* Media Select Cable */

Definition at line 571 of file input.h.

#define KEY_TWEN   0x19f

Definition at line 608 of file input.h.

#define KEY_U   22

Definition at line 231 of file input.h.

#define KEY_UNDO   131 /* AC Undo */

Definition at line 343 of file input.h.

#define KEY_UNKNOWN   240

Definition at line 455 of file input.h.

#define KEY_UP   103

Definition at line 312 of file input.h.

#define KEY_UWB   239

Definition at line 453 of file input.h.

#define KEY_V   47

Definition at line 256 of file input.h.

#define KEY_VCR   0x17b /* Media Select VCR */

Definition at line 572 of file input.h.

#define KEY_VCR2   0x17c /* VCR Plus */

Definition at line 573 of file input.h.

#define KEY_VENDOR   0x168

Definition at line 553 of file input.h.

#define KEY_VIDEO   0x189 /* AL Movie Browser */

Definition at line 586 of file input.h.

#define KEY_VIDEO_NEXT   241 /* drive next video source */

Definition at line 457 of file input.h.

#define KEY_VIDEO_PREV   242 /* drive previous video source */

Definition at line 458 of file input.h.

#define KEY_VIDEOPHONE   0x1a0 /* Media Select Video Phone */

Definition at line 609 of file input.h.

#define KEY_VOICEMAIL   0x1ac /* AL Voicemail */

Definition at line 621 of file input.h.

#define KEY_VOLUMEDOWN   114

Definition at line 323 of file input.h.

#define KEY_VOLUMEUP   115

Definition at line 324 of file input.h.

#define KEY_W   17

Definition at line 226 of file input.h.

#define KEY_WAKEUP   143 /* System Wake Up */

Definition at line 355 of file input.h.

#define KEY_WIMAX   246

Definition at line 463 of file input.h.

#define KEY_WLAN   238

Definition at line 452 of file input.h.

#define KEY_WORDPROCESSOR   0x1a5 /* AL Word Processor */

Definition at line 614 of file input.h.

#define KEY_WPS_BUTTON   0x211 /* WiFi Protected Setup key */

Definition at line 691 of file input.h.

#define KEY_WWW   150 /* AL Internet Browser */

Definition at line 362 of file input.h.

#define KEY_X   45

Definition at line 254 of file input.h.

#define KEY_XFER   147

Definition at line 359 of file input.h.

#define KEY_Y   21

Definition at line 230 of file input.h.

#define KEY_YELLOW   0x190

Definition at line 593 of file input.h.

#define KEY_YEN   124

Definition at line 335 of file input.h.

#define KEY_Z   44

Definition at line 253 of file input.h.

#define KEY_ZENKAKUHANKAKU   85

Definition at line 294 of file input.h.

#define KEY_ZOOM   0x174

Definition at line 565 of file input.h.

#define KEY_ZOOMIN   0x1a2 /* AC Zoom In */

Definition at line 611 of file input.h.

#define KEY_ZOOMOUT   0x1a3 /* AC Zoom Out */

Definition at line 612 of file input.h.

#define KEY_ZOOMRESET   0x1a4 /* AC Zoom */

Definition at line 613 of file input.h.

#define LED_CAPSL   0x01

Definition at line 860 of file input.h.

#define LED_CHARGING   0x0a

Definition at line 869 of file input.h.

#define LED_CNT   (LED_MAX+1)

Definition at line 871 of file input.h.

#define LED_COMPOSE   0x03

Definition at line 862 of file input.h.

#define LED_KANA   0x04

Definition at line 863 of file input.h.

#define LED_MAIL   0x09

Definition at line 868 of file input.h.

#define LED_MAX   0x0f

Definition at line 870 of file input.h.

#define LED_MISC   0x08

Definition at line 867 of file input.h.

#define LED_MUTE   0x07

Definition at line 866 of file input.h.

#define LED_NUML   0x00

Definition at line 859 of file input.h.

#define LED_SCROLLL   0x02

Definition at line 861 of file input.h.

#define LED_SLEEP   0x05

Definition at line 864 of file input.h.

#define LED_SUSPEND   0x06

Definition at line 865 of file input.h.

#define MSC_CNT   (MSC_MAX+1)

Definition at line 853 of file input.h.

#define MSC_GESTURE   0x02

Definition at line 849 of file input.h.

#define MSC_MAX   0x07

Definition at line 852 of file input.h.

#define MSC_PULSELED   0x01

Definition at line 848 of file input.h.

#define MSC_RAW   0x03

Definition at line 850 of file input.h.

#define MSC_SCAN   0x04

Definition at line 851 of file input.h.

#define MSC_SERIAL   0x00

Definition at line 847 of file input.h.

#define MT_TOOL_FINGER   0

Definition at line 925 of file input.h.

#define MT_TOOL_MAX   1

Definition at line 927 of file input.h.

#define MT_TOOL_PEN   1

Definition at line 926 of file input.h.

#define REL_CNT   (REL_MAX+1)

Definition at line 766 of file input.h.

#define REL_DIAL   0x07

Definition at line 762 of file input.h.

#define REL_HWHEEL   0x06

Definition at line 761 of file input.h.

#define REL_MAX   0x0f

Definition at line 765 of file input.h.

#define REL_MISC   0x09

Definition at line 764 of file input.h.

#define REL_RX   0x03

Definition at line 758 of file input.h.

#define REL_RY   0x04

Definition at line 759 of file input.h.

#define REL_RZ   0x05

Definition at line 760 of file input.h.

#define REL_WHEEL   0x08

Definition at line 763 of file input.h.

#define REL_X   0x00

Definition at line 755 of file input.h.

#define REL_Y   0x01

Definition at line 756 of file input.h.

#define REL_Z   0x02

Definition at line 757 of file input.h.

#define REP_CNT   (REP_MAX+1)

Definition at line 880 of file input.h.

#define REP_DELAY   0x00

Definition at line 877 of file input.h.

#define REP_MAX   0x01

Definition at line 879 of file input.h.

#define REP_PERIOD   0x01

Definition at line 878 of file input.h.

#define SND_BELL   0x01

Definition at line 887 of file input.h.

#define SND_CLICK   0x00

Definition at line 886 of file input.h.

#define SND_CNT   (SND_MAX+1)

Definition at line 890 of file input.h.

#define SND_MAX   0x07

Definition at line 889 of file input.h.

#define SND_TONE   0x02

Definition at line 888 of file input.h.

#define SW_CAMERA_LENS_COVER   0x09 /* set = lens covered */

Definition at line 835 of file input.h.

#define SW_CNT   (SW_MAX+1)

Definition at line 841 of file input.h.

#define SW_DOCK   0x05 /* set = plugged into dock */

Definition at line 831 of file input.h.

#define SW_FRONT_PROXIMITY   0x0b /* set = front proximity sensor active */

Definition at line 837 of file input.h.

#define SW_HEADPHONE_INSERT   0x02 /* set = inserted */

Definition at line 827 of file input.h.

#define SW_JACK_PHYSICAL_INSERT   0x07 /* set = mechanical switch set */

Definition at line 833 of file input.h.

#define SW_KEYPAD_SLIDE   0x0a /* set = keypad slide out */

Definition at line 836 of file input.h.

#define SW_LID   0x00 /* set = lid shut */

Definition at line 825 of file input.h.

#define SW_LINEIN_INSERT   0x0d /* set = inserted */

Definition at line 839 of file input.h.

#define SW_LINEOUT_INSERT   0x06 /* set = inserted */

Definition at line 832 of file input.h.

#define SW_MAX   0x0f

Definition at line 840 of file input.h.

#define SW_MICROPHONE_INSERT   0x04 /* set = inserted */

Definition at line 830 of file input.h.

#define SW_RADIO   SW_RFKILL_ALL /* deprecated */

Definition at line 829 of file input.h.

#define SW_RFKILL_ALL
Value:
0x03 /* rfkill master switch, type "any"
set = radio enabled */

Definition at line 828 of file input.h.

#define SW_ROTATE_LOCK   0x0c /* set = rotate locked/disabled */

Definition at line 838 of file input.h.

#define SW_TABLET_MODE   0x01 /* set = tablet mode */

Definition at line 826 of file input.h.

#define SW_VIDEOOUT_INSERT   0x08 /* set = inserted */

Definition at line 834 of file input.h.

#define SYN_CONFIG   1

Definition at line 194 of file input.h.

#define SYN_DROPPED   3

Definition at line 196 of file input.h.

#define SYN_MT_REPORT   2

Definition at line 195 of file input.h.

#define SYN_REPORT   0

Definition at line 193 of file input.h.