1*643ad899SSimon Glass /* 2*643ad899SSimon Glass * This header provides constants for most input bindings. 3*643ad899SSimon Glass * 4*643ad899SSimon Glass * Most input bindings include key code, matrix key code format. 5*643ad899SSimon Glass * In most cases, key code and matrix key code format uses 6*643ad899SSimon Glass * the standard values/macro defined in this header. 7*643ad899SSimon Glass */ 8*643ad899SSimon Glass 9*643ad899SSimon Glass #ifndef _DT_BINDINGS_INPUT_INPUT_H 10*643ad899SSimon Glass #define _DT_BINDINGS_INPUT_INPUT_H 11*643ad899SSimon Glass 12*643ad899SSimon Glass #define KEY_RESERVED 0 13*643ad899SSimon Glass #define KEY_ESC 1 14*643ad899SSimon Glass #define KEY_1 2 15*643ad899SSimon Glass #define KEY_2 3 16*643ad899SSimon Glass #define KEY_3 4 17*643ad899SSimon Glass #define KEY_4 5 18*643ad899SSimon Glass #define KEY_5 6 19*643ad899SSimon Glass #define KEY_6 7 20*643ad899SSimon Glass #define KEY_7 8 21*643ad899SSimon Glass #define KEY_8 9 22*643ad899SSimon Glass #define KEY_9 10 23*643ad899SSimon Glass #define KEY_0 11 24*643ad899SSimon Glass #define KEY_MINUS 12 25*643ad899SSimon Glass #define KEY_EQUAL 13 26*643ad899SSimon Glass #define KEY_BACKSPACE 14 27*643ad899SSimon Glass #define KEY_TAB 15 28*643ad899SSimon Glass #define KEY_Q 16 29*643ad899SSimon Glass #define KEY_W 17 30*643ad899SSimon Glass #define KEY_E 18 31*643ad899SSimon Glass #define KEY_R 19 32*643ad899SSimon Glass #define KEY_T 20 33*643ad899SSimon Glass #define KEY_Y 21 34*643ad899SSimon Glass #define KEY_U 22 35*643ad899SSimon Glass #define KEY_I 23 36*643ad899SSimon Glass #define KEY_O 24 37*643ad899SSimon Glass #define KEY_P 25 38*643ad899SSimon Glass #define KEY_LEFTBRACE 26 39*643ad899SSimon Glass #define KEY_RIGHTBRACE 27 40*643ad899SSimon Glass #define KEY_ENTER 28 41*643ad899SSimon Glass #define KEY_LEFTCTRL 29 42*643ad899SSimon Glass #define KEY_A 30 43*643ad899SSimon Glass #define KEY_S 31 44*643ad899SSimon Glass #define KEY_D 32 45*643ad899SSimon Glass #define KEY_F 33 46*643ad899SSimon Glass #define KEY_G 34 47*643ad899SSimon Glass #define KEY_H 35 48*643ad899SSimon Glass #define KEY_J 36 49*643ad899SSimon Glass #define KEY_K 37 50*643ad899SSimon Glass #define KEY_L 38 51*643ad899SSimon Glass #define KEY_SEMICOLON 39 52*643ad899SSimon Glass #define KEY_APOSTROPHE 40 53*643ad899SSimon Glass #define KEY_GRAVE 41 54*643ad899SSimon Glass #define KEY_LEFTSHIFT 42 55*643ad899SSimon Glass #define KEY_BACKSLASH 43 56*643ad899SSimon Glass #define KEY_Z 44 57*643ad899SSimon Glass #define KEY_X 45 58*643ad899SSimon Glass #define KEY_C 46 59*643ad899SSimon Glass #define KEY_V 47 60*643ad899SSimon Glass #define KEY_B 48 61*643ad899SSimon Glass #define KEY_N 49 62*643ad899SSimon Glass #define KEY_M 50 63*643ad899SSimon Glass #define KEY_COMMA 51 64*643ad899SSimon Glass #define KEY_DOT 52 65*643ad899SSimon Glass #define KEY_SLASH 53 66*643ad899SSimon Glass #define KEY_RIGHTSHIFT 54 67*643ad899SSimon Glass #define KEY_KPASTERISK 55 68*643ad899SSimon Glass #define KEY_LEFTALT 56 69*643ad899SSimon Glass #define KEY_SPACE 57 70*643ad899SSimon Glass #define KEY_CAPSLOCK 58 71*643ad899SSimon Glass #define KEY_F1 59 72*643ad899SSimon Glass #define KEY_F2 60 73*643ad899SSimon Glass #define KEY_F3 61 74*643ad899SSimon Glass #define KEY_F4 62 75*643ad899SSimon Glass #define KEY_F5 63 76*643ad899SSimon Glass #define KEY_F6 64 77*643ad899SSimon Glass #define KEY_F7 65 78*643ad899SSimon Glass #define KEY_F8 66 79*643ad899SSimon Glass #define KEY_F9 67 80*643ad899SSimon Glass #define KEY_F10 68 81*643ad899SSimon Glass #define KEY_NUMLOCK 69 82*643ad899SSimon Glass #define KEY_SCROLLLOCK 70 83*643ad899SSimon Glass #define KEY_KP7 71 84*643ad899SSimon Glass #define KEY_KP8 72 85*643ad899SSimon Glass #define KEY_KP9 73 86*643ad899SSimon Glass #define KEY_KPMINUS 74 87*643ad899SSimon Glass #define KEY_KP4 75 88*643ad899SSimon Glass #define KEY_KP5 76 89*643ad899SSimon Glass #define KEY_KP6 77 90*643ad899SSimon Glass #define KEY_KPPLUS 78 91*643ad899SSimon Glass #define KEY_KP1 79 92*643ad899SSimon Glass #define KEY_KP2 80 93*643ad899SSimon Glass #define KEY_KP3 81 94*643ad899SSimon Glass #define KEY_KP0 82 95*643ad899SSimon Glass #define KEY_KPDOT 83 96*643ad899SSimon Glass 97*643ad899SSimon Glass #define KEY_ZENKAKUHANKAKU 85 98*643ad899SSimon Glass #define KEY_102ND 86 99*643ad899SSimon Glass #define KEY_F11 87 100*643ad899SSimon Glass #define KEY_F12 88 101*643ad899SSimon Glass #define KEY_RO 89 102*643ad899SSimon Glass #define KEY_KATAKANA 90 103*643ad899SSimon Glass #define KEY_HIRAGANA 91 104*643ad899SSimon Glass #define KEY_HENKAN 92 105*643ad899SSimon Glass #define KEY_KATAKANAHIRAGANA 93 106*643ad899SSimon Glass #define KEY_MUHENKAN 94 107*643ad899SSimon Glass #define KEY_KPJPCOMMA 95 108*643ad899SSimon Glass #define KEY_KPENTER 96 109*643ad899SSimon Glass #define KEY_RIGHTCTRL 97 110*643ad899SSimon Glass #define KEY_KPSLASH 98 111*643ad899SSimon Glass #define KEY_SYSRQ 99 112*643ad899SSimon Glass #define KEY_RIGHTALT 100 113*643ad899SSimon Glass #define KEY_LINEFEED 101 114*643ad899SSimon Glass #define KEY_HOME 102 115*643ad899SSimon Glass #define KEY_UP 103 116*643ad899SSimon Glass #define KEY_PAGEUP 104 117*643ad899SSimon Glass #define KEY_LEFT 105 118*643ad899SSimon Glass #define KEY_RIGHT 106 119*643ad899SSimon Glass #define KEY_END 107 120*643ad899SSimon Glass #define KEY_DOWN 108 121*643ad899SSimon Glass #define KEY_PAGEDOWN 109 122*643ad899SSimon Glass #define KEY_INSERT 110 123*643ad899SSimon Glass #define KEY_DELETE 111 124*643ad899SSimon Glass #define KEY_MACRO 112 125*643ad899SSimon Glass #define KEY_MUTE 113 126*643ad899SSimon Glass #define KEY_VOLUMEDOWN 114 127*643ad899SSimon Glass #define KEY_VOLUMEUP 115 128*643ad899SSimon Glass #define KEY_POWER 116 /* SC System Power Down */ 129*643ad899SSimon Glass #define KEY_KPEQUAL 117 130*643ad899SSimon Glass #define KEY_KPPLUSMINUS 118 131*643ad899SSimon Glass #define KEY_PAUSE 119 132*643ad899SSimon Glass #define KEY_SCALE 120 /* AL Compiz Scale (Expose) */ 133*643ad899SSimon Glass 134*643ad899SSimon Glass #define KEY_KPCOMMA 121 135*643ad899SSimon Glass #define KEY_HANGEUL 122 136*643ad899SSimon Glass #define KEY_HANGUEL KEY_HANGEUL 137*643ad899SSimon Glass #define KEY_HANJA 123 138*643ad899SSimon Glass #define KEY_YEN 124 139*643ad899SSimon Glass #define KEY_LEFTMETA 125 140*643ad899SSimon Glass #define KEY_RIGHTMETA 126 141*643ad899SSimon Glass #define KEY_COMPOSE 127 142*643ad899SSimon Glass 143*643ad899SSimon Glass #define KEY_STOP 128 /* AC Stop */ 144*643ad899SSimon Glass #define KEY_AGAIN 129 145*643ad899SSimon Glass #define KEY_PROPS 130 /* AC Properties */ 146*643ad899SSimon Glass #define KEY_UNDO 131 /* AC Undo */ 147*643ad899SSimon Glass #define KEY_FRONT 132 148*643ad899SSimon Glass #define KEY_COPY 133 /* AC Copy */ 149*643ad899SSimon Glass #define KEY_OPEN 134 /* AC Open */ 150*643ad899SSimon Glass #define KEY_PASTE 135 /* AC Paste */ 151*643ad899SSimon Glass #define KEY_FIND 136 /* AC Search */ 152*643ad899SSimon Glass #define KEY_CUT 137 /* AC Cut */ 153*643ad899SSimon Glass #define KEY_HELP 138 /* AL Integrated Help Center */ 154*643ad899SSimon Glass #define KEY_MENU 139 /* Menu (show menu) */ 155*643ad899SSimon Glass #define KEY_CALC 140 /* AL Calculator */ 156*643ad899SSimon Glass #define KEY_SETUP 141 157*643ad899SSimon Glass #define KEY_SLEEP 142 /* SC System Sleep */ 158*643ad899SSimon Glass #define KEY_WAKEUP 143 /* System Wake Up */ 159*643ad899SSimon Glass #define KEY_FILE 144 /* AL Local Machine Browser */ 160*643ad899SSimon Glass #define KEY_SENDFILE 145 161*643ad899SSimon Glass #define KEY_DELETEFILE 146 162*643ad899SSimon Glass #define KEY_XFER 147 163*643ad899SSimon Glass #define KEY_PROG1 148 164*643ad899SSimon Glass #define KEY_PROG2 149 165*643ad899SSimon Glass #define KEY_WWW 150 /* AL Internet Browser */ 166*643ad899SSimon Glass #define KEY_MSDOS 151 167*643ad899SSimon Glass #define KEY_COFFEE 152 /* AL Terminal Lock/Screensaver */ 168*643ad899SSimon Glass #define KEY_SCREENLOCK KEY_COFFEE 169*643ad899SSimon Glass #define KEY_DIRECTION 153 170*643ad899SSimon Glass #define KEY_CYCLEWINDOWS 154 171*643ad899SSimon Glass #define KEY_MAIL 155 172*643ad899SSimon Glass #define KEY_BOOKMARKS 156 /* AC Bookmarks */ 173*643ad899SSimon Glass #define KEY_COMPUTER 157 174*643ad899SSimon Glass #define KEY_BACK 158 /* AC Back */ 175*643ad899SSimon Glass #define KEY_FORWARD 159 /* AC Forward */ 176*643ad899SSimon Glass #define KEY_CLOSECD 160 177*643ad899SSimon Glass #define KEY_EJECTCD 161 178*643ad899SSimon Glass #define KEY_EJECTCLOSECD 162 179*643ad899SSimon Glass #define KEY_NEXTSONG 163 180*643ad899SSimon Glass #define KEY_PLAYPAUSE 164 181*643ad899SSimon Glass #define KEY_PREVIOUSSONG 165 182*643ad899SSimon Glass #define KEY_STOPCD 166 183*643ad899SSimon Glass #define KEY_RECORD 167 184*643ad899SSimon Glass #define KEY_REWIND 168 185*643ad899SSimon Glass #define KEY_PHONE 169 /* Media Select Telephone */ 186*643ad899SSimon Glass #define KEY_ISO 170 187*643ad899SSimon Glass #define KEY_CONFIG 171 /* AL Consumer Control Configuration */ 188*643ad899SSimon Glass #define KEY_HOMEPAGE 172 /* AC Home */ 189*643ad899SSimon Glass #define KEY_REFRESH 173 /* AC Refresh */ 190*643ad899SSimon Glass #define KEY_EXIT 174 /* AC Exit */ 191*643ad899SSimon Glass #define KEY_MOVE 175 192*643ad899SSimon Glass #define KEY_EDIT 176 193*643ad899SSimon Glass #define KEY_SCROLLUP 177 194*643ad899SSimon Glass #define KEY_SCROLLDOWN 178 195*643ad899SSimon Glass #define KEY_KPLEFTPAREN 179 196*643ad899SSimon Glass #define KEY_KPRIGHTPAREN 180 197*643ad899SSimon Glass #define KEY_NEW 181 /* AC New */ 198*643ad899SSimon Glass #define KEY_REDO 182 /* AC Redo/Repeat */ 199*643ad899SSimon Glass 200*643ad899SSimon Glass #define KEY_F13 183 201*643ad899SSimon Glass #define KEY_F14 184 202*643ad899SSimon Glass #define KEY_F15 185 203*643ad899SSimon Glass #define KEY_F16 186 204*643ad899SSimon Glass #define KEY_F17 187 205*643ad899SSimon Glass #define KEY_F18 188 206*643ad899SSimon Glass #define KEY_F19 189 207*643ad899SSimon Glass #define KEY_F20 190 208*643ad899SSimon Glass #define KEY_F21 191 209*643ad899SSimon Glass #define KEY_F22 192 210*643ad899SSimon Glass #define KEY_F23 193 211*643ad899SSimon Glass #define KEY_F24 194 212*643ad899SSimon Glass 213*643ad899SSimon Glass #define KEY_PLAYCD 200 214*643ad899SSimon Glass #define KEY_PAUSECD 201 215*643ad899SSimon Glass #define KEY_PROG3 202 216*643ad899SSimon Glass #define KEY_PROG4 203 217*643ad899SSimon Glass #define KEY_DASHBOARD 204 /* AL Dashboard */ 218*643ad899SSimon Glass #define KEY_SUSPEND 205 219*643ad899SSimon Glass #define KEY_CLOSE 206 /* AC Close */ 220*643ad899SSimon Glass #define KEY_PLAY 207 221*643ad899SSimon Glass #define KEY_FASTFORWARD 208 222*643ad899SSimon Glass #define KEY_BASSBOOST 209 223*643ad899SSimon Glass #define KEY_PRINT 210 /* AC Print */ 224*643ad899SSimon Glass #define KEY_HP 211 225*643ad899SSimon Glass #define KEY_CAMERA 212 226*643ad899SSimon Glass #define KEY_SOUND 213 227*643ad899SSimon Glass #define KEY_QUESTION 214 228*643ad899SSimon Glass #define KEY_EMAIL 215 229*643ad899SSimon Glass #define KEY_CHAT 216 230*643ad899SSimon Glass #define KEY_SEARCH 217 231*643ad899SSimon Glass #define KEY_CONNECT 218 232*643ad899SSimon Glass #define KEY_FINANCE 219 /* AL Checkbook/Finance */ 233*643ad899SSimon Glass #define KEY_SPORT 220 234*643ad899SSimon Glass #define KEY_SHOP 221 235*643ad899SSimon Glass #define KEY_ALTERASE 222 236*643ad899SSimon Glass #define KEY_CANCEL 223 /* AC Cancel */ 237*643ad899SSimon Glass #define KEY_BRIGHTNESSDOWN 224 238*643ad899SSimon Glass #define KEY_BRIGHTNESSUP 225 239*643ad899SSimon Glass #define KEY_MEDIA 226 240*643ad899SSimon Glass 241*643ad899SSimon Glass #define KEY_SWITCHVIDEOMODE 227 /* Cycle between available video 242*643ad899SSimon Glass outputs (Monitor/LCD/TV-out/etc) */ 243*643ad899SSimon Glass #define KEY_KBDILLUMTOGGLE 228 244*643ad899SSimon Glass #define KEY_KBDILLUMDOWN 229 245*643ad899SSimon Glass #define KEY_KBDILLUMUP 230 246*643ad899SSimon Glass 247*643ad899SSimon Glass #define KEY_SEND 231 /* AC Send */ 248*643ad899SSimon Glass #define KEY_REPLY 232 /* AC Reply */ 249*643ad899SSimon Glass #define KEY_FORWARDMAIL 233 /* AC Forward Msg */ 250*643ad899SSimon Glass #define KEY_SAVE 234 /* AC Save */ 251*643ad899SSimon Glass #define KEY_DOCUMENTS 235 252*643ad899SSimon Glass 253*643ad899SSimon Glass #define KEY_BATTERY 236 254*643ad899SSimon Glass 255*643ad899SSimon Glass #define KEY_BLUETOOTH 237 256*643ad899SSimon Glass #define KEY_WLAN 238 257*643ad899SSimon Glass #define KEY_UWB 239 258*643ad899SSimon Glass 259*643ad899SSimon Glass #define KEY_UNKNOWN 240 260*643ad899SSimon Glass 261*643ad899SSimon Glass #define KEY_VIDEO_NEXT 241 /* drive next video source */ 262*643ad899SSimon Glass #define KEY_VIDEO_PREV 242 /* drive previous video source */ 263*643ad899SSimon Glass #define KEY_BRIGHTNESS_CYCLE 243 /* brightness up, after max is min */ 264*643ad899SSimon Glass #define KEY_BRIGHTNESS_ZERO 244 /* brightness off, use ambient */ 265*643ad899SSimon Glass #define KEY_DISPLAY_OFF 245 /* display device to off state */ 266*643ad899SSimon Glass 267*643ad899SSimon Glass #define KEY_WIMAX 246 268*643ad899SSimon Glass #define KEY_RFKILL 247 /* Key that controls all radios */ 269*643ad899SSimon Glass 270*643ad899SSimon Glass #define KEY_MICMUTE 248 /* Mute / unmute the microphone */ 271*643ad899SSimon Glass 272*643ad899SSimon Glass /* Code 255 is reserved for special needs of AT keyboard driver */ 273*643ad899SSimon Glass 274*643ad899SSimon Glass #define BTN_MISC 0x100 275*643ad899SSimon Glass #define BTN_0 0x100 276*643ad899SSimon Glass #define BTN_1 0x101 277*643ad899SSimon Glass #define BTN_2 0x102 278*643ad899SSimon Glass #define BTN_3 0x103 279*643ad899SSimon Glass #define BTN_4 0x104 280*643ad899SSimon Glass #define BTN_5 0x105 281*643ad899SSimon Glass #define BTN_6 0x106 282*643ad899SSimon Glass #define BTN_7 0x107 283*643ad899SSimon Glass #define BTN_8 0x108 284*643ad899SSimon Glass #define BTN_9 0x109 285*643ad899SSimon Glass 286*643ad899SSimon Glass #define BTN_MOUSE 0x110 287*643ad899SSimon Glass #define BTN_LEFT 0x110 288*643ad899SSimon Glass #define BTN_RIGHT 0x111 289*643ad899SSimon Glass #define BTN_MIDDLE 0x112 290*643ad899SSimon Glass #define BTN_SIDE 0x113 291*643ad899SSimon Glass #define BTN_EXTRA 0x114 292*643ad899SSimon Glass #define BTN_FORWARD 0x115 293*643ad899SSimon Glass #define BTN_BACK 0x116 294*643ad899SSimon Glass #define BTN_TASK 0x117 295*643ad899SSimon Glass 296*643ad899SSimon Glass #define BTN_JOYSTICK 0x120 297*643ad899SSimon Glass #define BTN_TRIGGER 0x120 298*643ad899SSimon Glass #define BTN_THUMB 0x121 299*643ad899SSimon Glass #define BTN_THUMB2 0x122 300*643ad899SSimon Glass #define BTN_TOP 0x123 301*643ad899SSimon Glass #define BTN_TOP2 0x124 302*643ad899SSimon Glass #define BTN_PINKIE 0x125 303*643ad899SSimon Glass #define BTN_BASE 0x126 304*643ad899SSimon Glass #define BTN_BASE2 0x127 305*643ad899SSimon Glass #define BTN_BASE3 0x128 306*643ad899SSimon Glass #define BTN_BASE4 0x129 307*643ad899SSimon Glass #define BTN_BASE5 0x12a 308*643ad899SSimon Glass #define BTN_BASE6 0x12b 309*643ad899SSimon Glass #define BTN_DEAD 0x12f 310*643ad899SSimon Glass 311*643ad899SSimon Glass #define BTN_GAMEPAD 0x130 312*643ad899SSimon Glass #define BTN_SOUTH 0x130 313*643ad899SSimon Glass #define BTN_A BTN_SOUTH 314*643ad899SSimon Glass #define BTN_EAST 0x131 315*643ad899SSimon Glass #define BTN_B BTN_EAST 316*643ad899SSimon Glass #define BTN_C 0x132 317*643ad899SSimon Glass #define BTN_NORTH 0x133 318*643ad899SSimon Glass #define BTN_X BTN_NORTH 319*643ad899SSimon Glass #define BTN_WEST 0x134 320*643ad899SSimon Glass #define BTN_Y BTN_WEST 321*643ad899SSimon Glass #define BTN_Z 0x135 322*643ad899SSimon Glass #define BTN_TL 0x136 323*643ad899SSimon Glass #define BTN_TR 0x137 324*643ad899SSimon Glass #define BTN_TL2 0x138 325*643ad899SSimon Glass #define BTN_TR2 0x139 326*643ad899SSimon Glass #define BTN_SELECT 0x13a 327*643ad899SSimon Glass #define BTN_START 0x13b 328*643ad899SSimon Glass #define BTN_MODE 0x13c 329*643ad899SSimon Glass #define BTN_THUMBL 0x13d 330*643ad899SSimon Glass #define BTN_THUMBR 0x13e 331*643ad899SSimon Glass 332*643ad899SSimon Glass #define BTN_DIGI 0x140 333*643ad899SSimon Glass #define BTN_TOOL_PEN 0x140 334*643ad899SSimon Glass #define BTN_TOOL_RUBBER 0x141 335*643ad899SSimon Glass #define BTN_TOOL_BRUSH 0x142 336*643ad899SSimon Glass #define BTN_TOOL_PENCIL 0x143 337*643ad899SSimon Glass #define BTN_TOOL_AIRBRUSH 0x144 338*643ad899SSimon Glass #define BTN_TOOL_FINGER 0x145 339*643ad899SSimon Glass #define BTN_TOOL_MOUSE 0x146 340*643ad899SSimon Glass #define BTN_TOOL_LENS 0x147 341*643ad899SSimon Glass #define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */ 342*643ad899SSimon Glass #define BTN_TOUCH 0x14a 343*643ad899SSimon Glass #define BTN_STYLUS 0x14b 344*643ad899SSimon Glass #define BTN_STYLUS2 0x14c 345*643ad899SSimon Glass #define BTN_TOOL_DOUBLETAP 0x14d 346*643ad899SSimon Glass #define BTN_TOOL_TRIPLETAP 0x14e 347*643ad899SSimon Glass #define BTN_TOOL_QUADTAP 0x14f /* Four fingers on trackpad */ 348*643ad899SSimon Glass 349*643ad899SSimon Glass #define BTN_WHEEL 0x150 350*643ad899SSimon Glass #define BTN_GEAR_DOWN 0x150 351*643ad899SSimon Glass #define BTN_GEAR_UP 0x151 352*643ad899SSimon Glass 353*643ad899SSimon Glass #define KEY_OK 0x160 354*643ad899SSimon Glass #define KEY_SELECT 0x161 355*643ad899SSimon Glass #define KEY_GOTO 0x162 356*643ad899SSimon Glass #define KEY_CLEAR 0x163 357*643ad899SSimon Glass #define KEY_POWER2 0x164 358*643ad899SSimon Glass #define KEY_OPTION 0x165 359*643ad899SSimon Glass #define KEY_INFO 0x166 /* AL OEM Features/Tips/Tutorial */ 360*643ad899SSimon Glass #define KEY_TIME 0x167 361*643ad899SSimon Glass #define KEY_VENDOR 0x168 362*643ad899SSimon Glass #define KEY_ARCHIVE 0x169 363*643ad899SSimon Glass #define KEY_PROGRAM 0x16a /* Media Select Program Guide */ 364*643ad899SSimon Glass #define KEY_CHANNEL 0x16b 365*643ad899SSimon Glass #define KEY_FAVORITES 0x16c 366*643ad899SSimon Glass #define KEY_EPG 0x16d 367*643ad899SSimon Glass #define KEY_PVR 0x16e /* Media Select Home */ 368*643ad899SSimon Glass #define KEY_MHP 0x16f 369*643ad899SSimon Glass #define KEY_LANGUAGE 0x170 370*643ad899SSimon Glass #define KEY_TITLE 0x171 371*643ad899SSimon Glass #define KEY_SUBTITLE 0x172 372*643ad899SSimon Glass #define KEY_ANGLE 0x173 373*643ad899SSimon Glass #define KEY_ZOOM 0x174 374*643ad899SSimon Glass #define KEY_MODE 0x175 375*643ad899SSimon Glass #define KEY_KEYBOARD 0x176 376*643ad899SSimon Glass #define KEY_SCREEN 0x177 377*643ad899SSimon Glass #define KEY_PC 0x178 /* Media Select Computer */ 378*643ad899SSimon Glass #define KEY_TV 0x179 /* Media Select TV */ 379*643ad899SSimon Glass #define KEY_TV2 0x17a /* Media Select Cable */ 380*643ad899SSimon Glass #define KEY_VCR 0x17b /* Media Select VCR */ 381*643ad899SSimon Glass #define KEY_VCR2 0x17c /* VCR Plus */ 382*643ad899SSimon Glass #define KEY_SAT 0x17d /* Media Select Satellite */ 383*643ad899SSimon Glass #define KEY_SAT2 0x17e 384*643ad899SSimon Glass #define KEY_CD 0x17f /* Media Select CD */ 385*643ad899SSimon Glass #define KEY_TAPE 0x180 /* Media Select Tape */ 386*643ad899SSimon Glass #define KEY_RADIO 0x181 387*643ad899SSimon Glass #define KEY_TUNER 0x182 /* Media Select Tuner */ 388*643ad899SSimon Glass #define KEY_PLAYER 0x183 389*643ad899SSimon Glass #define KEY_TEXT 0x184 390*643ad899SSimon Glass #define KEY_DVD 0x185 /* Media Select DVD */ 391*643ad899SSimon Glass #define KEY_AUX 0x186 392*643ad899SSimon Glass #define KEY_MP3 0x187 393*643ad899SSimon Glass #define KEY_AUDIO 0x188 /* AL Audio Browser */ 394*643ad899SSimon Glass #define KEY_VIDEO 0x189 /* AL Movie Browser */ 395*643ad899SSimon Glass #define KEY_DIRECTORY 0x18a 396*643ad899SSimon Glass #define KEY_LIST 0x18b 397*643ad899SSimon Glass #define KEY_MEMO 0x18c /* Media Select Messages */ 398*643ad899SSimon Glass #define KEY_CALENDAR 0x18d 399*643ad899SSimon Glass #define KEY_RED 0x18e 400*643ad899SSimon Glass #define KEY_GREEN 0x18f 401*643ad899SSimon Glass #define KEY_YELLOW 0x190 402*643ad899SSimon Glass #define KEY_BLUE 0x191 403*643ad899SSimon Glass #define KEY_CHANNELUP 0x192 /* Channel Increment */ 404*643ad899SSimon Glass #define KEY_CHANNELDOWN 0x193 /* Channel Decrement */ 405*643ad899SSimon Glass #define KEY_FIRST 0x194 406*643ad899SSimon Glass #define KEY_LAST 0x195 /* Recall Last */ 407*643ad899SSimon Glass #define KEY_AB 0x196 408*643ad899SSimon Glass #define KEY_NEXT 0x197 409*643ad899SSimon Glass #define KEY_RESTART 0x198 410*643ad899SSimon Glass #define KEY_SLOW 0x199 411*643ad899SSimon Glass #define KEY_SHUFFLE 0x19a 412*643ad899SSimon Glass #define KEY_BREAK 0x19b 413*643ad899SSimon Glass #define KEY_PREVIOUS 0x19c 414*643ad899SSimon Glass #define KEY_DIGITS 0x19d 415*643ad899SSimon Glass #define KEY_TEEN 0x19e 416*643ad899SSimon Glass #define KEY_TWEN 0x19f 417*643ad899SSimon Glass #define KEY_VIDEOPHONE 0x1a0 /* Media Select Video Phone */ 418*643ad899SSimon Glass #define KEY_GAMES 0x1a1 /* Media Select Games */ 419*643ad899SSimon Glass #define KEY_ZOOMIN 0x1a2 /* AC Zoom In */ 420*643ad899SSimon Glass #define KEY_ZOOMOUT 0x1a3 /* AC Zoom Out */ 421*643ad899SSimon Glass #define KEY_ZOOMRESET 0x1a4 /* AC Zoom */ 422*643ad899SSimon Glass #define KEY_WORDPROCESSOR 0x1a5 /* AL Word Processor */ 423*643ad899SSimon Glass #define KEY_EDITOR 0x1a6 /* AL Text Editor */ 424*643ad899SSimon Glass #define KEY_SPREADSHEET 0x1a7 /* AL Spreadsheet */ 425*643ad899SSimon Glass #define KEY_GRAPHICSEDITOR 0x1a8 /* AL Graphics Editor */ 426*643ad899SSimon Glass #define KEY_PRESENTATION 0x1a9 /* AL Presentation App */ 427*643ad899SSimon Glass #define KEY_DATABASE 0x1aa /* AL Database App */ 428*643ad899SSimon Glass #define KEY_NEWS 0x1ab /* AL Newsreader */ 429*643ad899SSimon Glass #define KEY_VOICEMAIL 0x1ac /* AL Voicemail */ 430*643ad899SSimon Glass #define KEY_ADDRESSBOOK 0x1ad /* AL Contacts/Address Book */ 431*643ad899SSimon Glass #define KEY_MESSENGER 0x1ae /* AL Instant Messaging */ 432*643ad899SSimon Glass #define KEY_DISPLAYTOGGLE 0x1af /* Turn display (LCD) on and off */ 433*643ad899SSimon Glass #define KEY_SPELLCHECK 0x1b0 /* AL Spell Check */ 434*643ad899SSimon Glass #define KEY_LOGOFF 0x1b1 /* AL Logoff */ 435*643ad899SSimon Glass 436*643ad899SSimon Glass #define KEY_DOLLAR 0x1b2 437*643ad899SSimon Glass #define KEY_EURO 0x1b3 438*643ad899SSimon Glass 439*643ad899SSimon Glass #define KEY_FRAMEBACK 0x1b4 /* Consumer - transport controls */ 440*643ad899SSimon Glass #define KEY_FRAMEFORWARD 0x1b5 441*643ad899SSimon Glass #define KEY_CONTEXT_MENU 0x1b6 /* GenDesc - system context menu */ 442*643ad899SSimon Glass #define KEY_MEDIA_REPEAT 0x1b7 /* Consumer - transport control */ 443*643ad899SSimon Glass #define KEY_10CHANNELSUP 0x1b8 /* 10 channels up (10+) */ 444*643ad899SSimon Glass #define KEY_10CHANNELSDOWN 0x1b9 /* 10 channels down (10-) */ 445*643ad899SSimon Glass #define KEY_IMAGES 0x1ba /* AL Image Browser */ 446*643ad899SSimon Glass 447*643ad899SSimon Glass #define KEY_DEL_EOL 0x1c0 448*643ad899SSimon Glass #define KEY_DEL_EOS 0x1c1 449*643ad899SSimon Glass #define KEY_INS_LINE 0x1c2 450*643ad899SSimon Glass #define KEY_DEL_LINE 0x1c3 451*643ad899SSimon Glass 452*643ad899SSimon Glass #define KEY_FN 0x1d0 453*643ad899SSimon Glass #define KEY_FN_ESC 0x1d1 454*643ad899SSimon Glass #define KEY_FN_F1 0x1d2 455*643ad899SSimon Glass #define KEY_FN_F2 0x1d3 456*643ad899SSimon Glass #define KEY_FN_F3 0x1d4 457*643ad899SSimon Glass #define KEY_FN_F4 0x1d5 458*643ad899SSimon Glass #define KEY_FN_F5 0x1d6 459*643ad899SSimon Glass #define KEY_FN_F6 0x1d7 460*643ad899SSimon Glass #define KEY_FN_F7 0x1d8 461*643ad899SSimon Glass #define KEY_FN_F8 0x1d9 462*643ad899SSimon Glass #define KEY_FN_F9 0x1da 463*643ad899SSimon Glass #define KEY_FN_F10 0x1db 464*643ad899SSimon Glass #define KEY_FN_F11 0x1dc 465*643ad899SSimon Glass #define KEY_FN_F12 0x1dd 466*643ad899SSimon Glass #define KEY_FN_1 0x1de 467*643ad899SSimon Glass #define KEY_FN_2 0x1df 468*643ad899SSimon Glass #define KEY_FN_D 0x1e0 469*643ad899SSimon Glass #define KEY_FN_E 0x1e1 470*643ad899SSimon Glass #define KEY_FN_F 0x1e2 471*643ad899SSimon Glass #define KEY_FN_S 0x1e3 472*643ad899SSimon Glass #define KEY_FN_B 0x1e4 473*643ad899SSimon Glass 474*643ad899SSimon Glass #define KEY_BRL_DOT1 0x1f1 475*643ad899SSimon Glass #define KEY_BRL_DOT2 0x1f2 476*643ad899SSimon Glass #define KEY_BRL_DOT3 0x1f3 477*643ad899SSimon Glass #define KEY_BRL_DOT4 0x1f4 478*643ad899SSimon Glass #define KEY_BRL_DOT5 0x1f5 479*643ad899SSimon Glass #define KEY_BRL_DOT6 0x1f6 480*643ad899SSimon Glass #define KEY_BRL_DOT7 0x1f7 481*643ad899SSimon Glass #define KEY_BRL_DOT8 0x1f8 482*643ad899SSimon Glass #define KEY_BRL_DOT9 0x1f9 483*643ad899SSimon Glass #define KEY_BRL_DOT10 0x1fa 484*643ad899SSimon Glass 485*643ad899SSimon Glass #define KEY_NUMERIC_0 0x200 /* used by phones, remote controls, */ 486*643ad899SSimon Glass #define KEY_NUMERIC_1 0x201 /* and other keypads */ 487*643ad899SSimon Glass #define KEY_NUMERIC_2 0x202 488*643ad899SSimon Glass #define KEY_NUMERIC_3 0x203 489*643ad899SSimon Glass #define KEY_NUMERIC_4 0x204 490*643ad899SSimon Glass #define KEY_NUMERIC_5 0x205 491*643ad899SSimon Glass #define KEY_NUMERIC_6 0x206 492*643ad899SSimon Glass #define KEY_NUMERIC_7 0x207 493*643ad899SSimon Glass #define KEY_NUMERIC_8 0x208 494*643ad899SSimon Glass #define KEY_NUMERIC_9 0x209 495*643ad899SSimon Glass #define KEY_NUMERIC_STAR 0x20a 496*643ad899SSimon Glass #define KEY_NUMERIC_POUND 0x20b 497*643ad899SSimon Glass 498*643ad899SSimon Glass #define KEY_CAMERA_FOCUS 0x210 499*643ad899SSimon Glass #define KEY_WPS_BUTTON 0x211 /* WiFi Protected Setup key */ 500*643ad899SSimon Glass 501*643ad899SSimon Glass #define KEY_TOUCHPAD_TOGGLE 0x212 /* Request switch touchpad on or off */ 502*643ad899SSimon Glass #define KEY_TOUCHPAD_ON 0x213 503*643ad899SSimon Glass #define KEY_TOUCHPAD_OFF 0x214 504*643ad899SSimon Glass 505*643ad899SSimon Glass #define KEY_CAMERA_ZOOMIN 0x215 506*643ad899SSimon Glass #define KEY_CAMERA_ZOOMOUT 0x216 507*643ad899SSimon Glass #define KEY_CAMERA_UP 0x217 508*643ad899SSimon Glass #define KEY_CAMERA_DOWN 0x218 509*643ad899SSimon Glass #define KEY_CAMERA_LEFT 0x219 510*643ad899SSimon Glass #define KEY_CAMERA_RIGHT 0x21a 511*643ad899SSimon Glass 512*643ad899SSimon Glass #define KEY_ATTENDANT_ON 0x21b 513*643ad899SSimon Glass #define KEY_ATTENDANT_OFF 0x21c 514*643ad899SSimon Glass #define KEY_ATTENDANT_TOGGLE 0x21d /* Attendant call on or off */ 515*643ad899SSimon Glass #define KEY_LIGHTS_TOGGLE 0x21e /* Reading light on or off */ 516*643ad899SSimon Glass 517*643ad899SSimon Glass #define BTN_DPAD_UP 0x220 518*643ad899SSimon Glass #define BTN_DPAD_DOWN 0x221 519*643ad899SSimon Glass #define BTN_DPAD_LEFT 0x222 520*643ad899SSimon Glass #define BTN_DPAD_RIGHT 0x223 521*643ad899SSimon Glass 522*643ad899SSimon Glass #define MATRIX_KEY(row, col, code) \ 523*643ad899SSimon Glass ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF)) 524*643ad899SSimon Glass 525*643ad899SSimon Glass #endif /* _DT_BINDINGS_INPUT_INPUT_H */ 526