1 /* 2 * Copyright 2004-2010, Haiku Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _USB_HID_PAGE_CONSUMER_H 6 #define _USB_HID_PAGE_CONSUMER_H 7 8 9 /* Reference: 10 * HID Usage Page 0x0C: CONSUMER 11 * HID Usage Tables Ver. 1.12 12 * http://www.usb.org/developers/devclass_docs/Hut1_12.pdf 13 */ 14 15 // Usage IDs 16 enum { 17 B_HID_UID_CON_CONSUMER_CONTROL = 0x01, 18 B_HID_UID_CON_NUMERIC_KEYPAD, 19 B_HID_UID_CON_PROGRAMMABLE_BUTTONS, 20 B_HID_UID_CON_MICROPHONE, 21 B_HID_UID_CON_HEADPHONE, 22 B_HID_UID_CON_GRAPHIC_EQUALIZER, 23 24 B_HID_UID_CON_PLUS_10 = 0x20, 25 B_HID_UID_CON_PLUS_100, 26 B_HID_UID_CON_AM_PM, 27 28 B_HID_UID_CON_POWER = 0x30, 29 B_HID_UID_CON_RESET, 30 B_HID_UID_CON_SLEEP, 31 B_HID_UID_CON_SLEEP_AFTER, 32 B_HID_UID_CON_SLEEP_MODE, 33 B_HID_UID_CON_ILLUMINATION, 34 B_HID_UID_CON_FUNCTION_BUTTONS, 35 36 B_HID_UID_CON_MENU = 0x40, 37 B_HID_UID_CON_MENU_PICK, 38 B_HID_UID_CON_MENU_UP, 39 B_HID_UID_CON_MENU_DOWN, 40 B_HID_UID_CON_MENU_LEFT, 41 B_HID_UID_CON_MENU_RIGHT, 42 B_HID_UID_CON_MENU_ESCAPE, 43 B_HID_UID_CON_MENU_VALUE_INCREASE, 44 B_HID_UID_CON_MENU_VALUE_DECREASE, 45 46 B_HID_UID_CON_DATA_ON_SCREEN = 0x60, 47 B_HID_UID_CON_CLOSED_CAPTION, 48 B_HID_UID_CON_CLOSED_CAPTION_SELECT, 49 B_HID_UID_CON_VCR_TV, 50 B_HID_UID_CON_BROADCAST_MODE, 51 B_HID_UID_CON_SNAPSHOT, 52 B_HID_UID_CON_STILL, 53 54 B_HID_UID_CON_SELECTION = 0x80, 55 B_HID_UID_CON_ASSIGN_SELECTION, 56 B_HID_UID_CON_MODE_SETUP, 57 B_HID_UID_CON_RECALL_LIST, 58 B_HID_UID_CON_ENTER_CHANNEL, 59 B_HID_UID_CON_ORDER_MOVIE, 60 B_HID_UID_CON_CHANNEL, 61 B_HID_UID_CON_MEDIA_SELECTION, 62 B_HID_UID_CON_MEDIA_SELECT_COMPUTER, 63 B_HID_UID_CON_MEDIA_SELECT_TV, 64 B_HID_UID_CON_MEDIA_SELECT_WWW, 65 B_HID_UID_CON_MEDIA_SELECT_DVD, 66 B_HID_UID_CON_MEDIA_SELECT_TELEPHONE, 67 B_HID_UID_CON_MEDIA_SELECT_PROGRAM_GUIDE, 68 B_HID_UID_CON_MEDIA_SELECT_VIDEO_PHONE, 69 B_HID_UID_CON_MEDIA_SELECT_GAMES, 70 B_HID_UID_CON_MEDIA_SELECT_MESSAGES, 71 B_HID_UID_CON_MEDIA_SELECT_CD, 72 B_HID_UID_CON_MEDIA_SELECT_VCR, 73 B_HID_UID_CON_MEDIA_SELECT_TUNER, 74 B_HID_UID_CON_QUIT, 75 B_HID_UID_CON_HELP, 76 B_HID_UID_CON_MEDIA_SELECT_TAPE, 77 B_HID_UID_CON_MEDIA_SELECT_CABLE, 78 B_HID_UID_CON_MEDIA_SELECT_SATELLITE, 79 B_HID_UID_CON_MEDIA_SELECT_SECURITY, 80 B_HID_UID_CON_MEDIA_SELECT_HOME, 81 B_HID_UID_CON_MEDIA_SELECT_CALL, 82 B_HID_UID_CON_CHANNEL_INCREMENT, 83 B_HID_UID_CON_CHANNEL_DECREMENT, 84 B_HID_UID_CON_MEDIA_SELECT_SAP, 85 86 B_HID_UID_CON_VCR_PLUS = 0xa0, 87 B_HID_UID_CON_ONCE, 88 B_HID_UID_CON_DAILY, 89 B_HID_UID_CON_WEEKLY, 90 B_HID_UID_CON_MONTHLY, 91 92 B_HID_UID_CON_PLAY = 0xb0, 93 B_HID_UID_CON_PAUSE, 94 B_HID_UID_CON_RECORD, 95 B_HID_UID_CON_FAST_FORWARD, 96 B_HID_UID_CON_REWIND, 97 B_HID_UID_CON_SCAN_NEXT_TRACK, 98 B_HID_UID_CON_SCAN_PREVIOUS_TRACK, 99 B_HID_UID_CON_STOP, 100 B_HID_UID_CON_EJECT, 101 B_HID_UID_CON_RANDOM_PLAY, 102 B_HID_UID_CON_SELECT_DISC, 103 B_HID_UID_CON_ENTER_DISC, 104 B_HID_UID_CON_REPEAT, 105 B_HID_UID_CON_TRACKING, 106 B_HID_UID_CON_TRACKING_NORMAL, 107 B_HID_UID_CON_SLOW_TRACKING, 108 B_HID_UID_CON_FRAME_FORWARD, 109 B_HID_UID_CON_FRAME_BACKWARD, 110 B_HID_UID_CON_MARK, 111 B_HID_UID_CON_CLEAR_MARK, 112 B_HID_UID_CON_REPEAT_FROM_MARK, 113 B_HID_UID_CON_RETURN_TO_MARK, 114 B_HID_UID_CON_SEARCH_MARK_FORWARD, 115 B_HID_UID_CON_SEARCH_MARK_BACKWARDS, 116 B_HID_UID_CON_COUNTER_RESET, 117 B_HID_UID_CON_SHOW_COUNTER, 118 B_HID_UID_CON_TRACKING_INCREMENT, 119 B_HID_UID_CON_TRACKING_DECREMENT, 120 B_HID_UID_CON_STOP_EJECT, 121 B_HID_UID_CON_PLAY_PAUSE, 122 B_HID_UID_CON_PLAY_SKIP, 123 124 B_HID_UID_CON_VOLUME = 0xe0, 125 B_HID_UID_CON_BALANCE, 126 B_HID_UID_CON_MUTE, 127 B_HID_UID_CON_BASS, 128 B_HID_UID_CON_TREBLE, 129 B_HID_UID_CON_BASS_BOOST, 130 B_HID_UID_CON_SURROUND_MODE, 131 B_HID_UID_CON_LOUDNESS, 132 B_HID_UID_CON_MPX, 133 B_HID_UID_CON_VOLUME_INCREMENT, 134 B_HID_UID_CON_VOLUME_DECREMENT, 135 136 B_HID_UID_CON_SPEED_SELECT = 0xf0, 137 B_HID_UID_CON_PLAYBACK_SPEED, 138 B_HID_UID_CON_STANDARD_PLAY, 139 B_HID_UID_CON_LONG_PLAY, 140 B_HID_UID_CON_EXTENDED_PLAY, 141 B_HID_UID_CON_SLOW, 142 143 B_HID_UID_CON_FAN_ENABLE = 0x100, 144 B_HID_UID_CON_FAN_DISABLE, 145 B_HID_UID_CON_LIGHT_ENABLE, 146 B_HID_UID_CON_LIGHT_ILLUMINATION_LEVEL, 147 B_HID_UID_CON_CLIMATE_CONTROL_ENABLE, 148 B_HID_UID_CON_ROOM_TEMPERATURE, 149 B_HID_UID_CON_SECURITY_ENABLE, 150 B_HID_UID_CON_FIRE_ALARM, 151 B_HID_UID_CON_POLICE_ALARM, 152 B_HID_UID_CON_PROXIMITY, 153 B_HID_UID_CON_MOTION, 154 B_HID_UID_CON_DURESS_ALARM, 155 B_HID_UID_CON_HOLDUP_ALARM, 156 B_HID_UID_CON_MEDICAL_ALARM, 157 158 B_HID_UID_CON_BALANCE_RIGHT = 0x150, 159 B_HID_UID_CON_BALANCE_LEFT, 160 B_HID_UID_CON_BASS_INCREMENT, 161 B_HID_UID_CON_BASS_DECREMENT, 162 B_HID_UID_CON_TREBLE_INCREMENT, 163 B_HID_UID_CON_TREBLE_DECREMENT, 164 165 B_HID_UID_CON_SPEAKER_SYSTEM = 0x160, 166 B_HID_UID_CON_CHANNEL_LEFT, 167 B_HID_UID_CON_CHANNEL_RIGHT, 168 B_HID_UID_CON_CHANNEL_CENTER, 169 B_HID_UID_CON_CHANNEL_FRONT, 170 B_HID_UID_CON_CHANNEL_CENTER_FRONT, 171 B_HID_UID_CON_CHANNEL_SIDE, 172 B_HID_UID_CON_CHANNEL_SURROUND, 173 B_HID_UID_CON_CHANNEL_LOW_FREQUENCE_ENHANCEMENT, 174 B_HID_UID_CON_CHANNEL_TOP, 175 B_HID_UID_CON_CHANNEL_UNKNOWN, 176 177 B_HID_UID_CON_SUBCHANNEL = 0x170, 178 B_HID_UID_CON_SUBCHANNEL_INCREMENT, 179 B_HID_UID_CON_SUBCHANNEL_DECREMENT, 180 B_HID_UID_CON_ALTERNATE_AUDIO_INCREMENT, 181 B_HID_UID_CON_ALTERNATE_AUDIO_DECREMENT, 182 183 B_HID_UID_CON_APPLICATION_LAUNCH_BUTTONS = 0x180, 184 B_HID_UID_CON_AL_LAUNCH_BUTTON_CONFIGURATION_TOOL, 185 B_HID_UID_CON_AL_PROGRAMMABLE_BUTTON_CONFIGURATION, 186 B_HID_UID_CON_AL_CONSUMER_CONTROL_CONFIGURATION, 187 B_HID_UID_CON_AL_WORD_PROCESSOR, 188 B_HID_UID_CON_AL_TEXT_EDITOR, 189 B_HID_UID_CON_AL_SPREADSHEET, 190 B_HID_UID_CON_AL_GRAPHICS_EDITOR, 191 B_HID_UID_CON_AL_PRESENTATION_APP, 192 B_HID_UID_CON_AL_DATABASE_APP, 193 B_HID_UID_CON_AL_EMAIL_READER, 194 B_HID_UID_CON_AL_NEWSREADER, 195 B_HID_UID_CON_AL_VOICEMAIL, 196 B_HID_UID_CON_AL_CONTACTS_ADDRESS_BOOK, 197 B_HID_UID_CON_AL_CALENDER_SCHEDULE, 198 B_HID_UID_CON_AL_TASK_PROJECT_MANAGER, 199 B_HID_UID_CON_AL_LOG_JOURNAL_TIMECARD, 200 B_HID_UID_CON_AL_CHECKBOOK_FINANCE, 201 B_HID_UID_CON_AL_CALCULATOR, 202 B_HID_UID_CON_AL_AV_CAPTURE_PLAYBACK, 203 B_HID_UID_CON_AL_LOCAL_MACHINE_BROWSER, 204 B_HID_UID_CON_AL_LAN_WAN_BROWSER, 205 B_HID_UID_CON_AL_INTERNET_BROWSER, 206 B_HID_UID_CON_AL_REMOTE_NETWORKING_ISP_CONNECT, 207 B_HID_UID_CON_AL_NETWORK_CONFERENCE, 208 B_HID_UID_CON_AL_NETWORK_CHAT, 209 B_HID_UID_CON_AL_TELEPHONY_DIALER, 210 B_HID_UID_CON_AL_LOGON, 211 B_HID_UID_CON_AL_LOGOFF, 212 B_HID_UID_CON_AL_LOGON_LOGOFF, 213 B_HID_UID_CON_AL_TERMINAL_LOCK_SCREEN, 214 B_HID_UID_CON_AL_CONTROL_PANEL, 215 B_HID_UID_CON_AL_COMMAND_LINE_PROCESSOR_RUN, 216 B_HID_UID_CON_AL_PROCESS_TASK_MANAGER, 217 B_HID_UID_CON_AL_SELECT_TASK_APPLICATION, 218 B_HID_UID_CON_AL_NEXT_TASK_APPLICATION, 219 B_HID_UID_CON_AL_PREVIOUS_TASK_APPLICATION, 220 B_HID_UID_CON_AL_PREEMPTIVE_HALT_TASK_APPLICATION, 221 B_HID_UID_CON_AL_INTERGRATED_HELP_CENTER, 222 B_HID_UID_CON_AL_DOCUMENTS, 223 B_HID_UID_CON_AL_THESAURUS, 224 B_HID_UID_CON_AL_DICTIONARY, 225 B_HID_UID_CON_AL_DESKTOP, 226 B_HID_UID_CON_AL_SPELL_CHECK, 227 B_HID_UID_CON_AL_GRAMMAR_CHECK, 228 B_HID_UID_CON_AL_WIRELESS_STATUS, 229 B_HID_UID_CON_AL_KEYBOARD_LAYOUT, 230 B_HID_UID_CON_AL_VIRUS_PROTECTION, 231 B_HID_UID_CON_AL_ENCRYPTION, 232 B_HID_UID_CON_AL_SCREEN_SAVER, 233 B_HID_UID_CON_AL_ALARMS, 234 B_HID_UID_CON_AL_CLOCK, 235 B_HID_UID_CON_AL_FILE_BROWSER, 236 B_HID_UID_CON_AL_POWER_STATUS, 237 B_HID_UID_CON_AL_IMAGE_BROWSER, 238 B_HID_UID_CON_AL_AUDIO_BROWSER, 239 B_HID_UID_CON_AL_MOVIE_BROWSER, 240 B_HID_UID_CON_AL_DIGITAL_RIGHTS_MANAGER, 241 B_HID_UID_CON_AL_DIGITAL_WALLET, 242 243 B_HID_UID_CON_AL_INSTANT_MESSAGING = 0x1bc, 244 B_HID_UID_CON_AL_OEM_FEATURES_TIPS_TUTORIAL_BROWSER, 245 B_HID_UID_CON_AL_OEM_HELP, 246 B_HID_UID_CON_AL_ONLINE_COMMUNITY, 247 B_HID_UID_CON_AL_ENTERTAINMENT_CONTENT_BROWSER, 248 B_HID_UID_CON_AL_ONLINE_SHOPPING_BROWSER, 249 B_HID_UID_CON_AL_SMARTCARD_INFORMATION_HELP, 250 B_HID_UID_CON_AL_MARKET_MONITOR_FINANCE_BROWSER, 251 B_HID_UID_CON_AL_CUSTOMIZED_CORPORATE_NEWS_BROWSER, 252 B_HID_UID_CON_AL_ONLINE_ACTIVITY_BROWSER, 253 B_HID_UID_CON_AL_RESEARCH_SEARCH_BROWSER, 254 B_HID_UID_CON_AL_AUDIO_PLAYER, 255 256 B_HID_UID_CON_GENERIC_GUI_APPLICATION_CONTROLS = 0x200, 257 B_HID_UID_CON_AC_NEW, 258 B_HID_UID_CON_AC_OPEN, 259 B_HID_UID_CON_AC_CLOSE, 260 B_HID_UID_CON_AC_EXIT, 261 B_HID_UID_CON_AC_MAXIMIZE, 262 B_HID_UID_CON_AC_MINIMIZE, 263 B_HID_UID_CON_AC_SAVE, 264 B_HID_UID_CON_AC_PRINT, 265 B_HID_UID_CON_AC_PROPERTIES, 266 B_HID_UID_CON_AC_UNDO = 0x21A, 267 B_HID_UID_CON_AC_COPY, 268 B_HID_UID_CON_AC_CUT, 269 B_HID_UID_CON_AC_PASTE, 270 B_HID_UID_CON_AC_SELECT_ALL, 271 B_HID_UID_CON_AC_FIND, 272 B_HID_UID_CON_AC_FIND_AND_REPLACE, 273 B_HID_UID_CON_AC_SEARCH, 274 B_HID_UID_CON_AC_GO_TO, 275 B_HID_UID_CON_AC_HOME, 276 B_HID_UID_CON_AC_BACK, 277 B_HID_UID_CON_AC_FORWARD, 278 B_HID_UID_CON_AC_STOP, 279 B_HID_UID_CON_AC_REFRESH, 280 B_HID_UID_CON_AC_PREVIOUS_LINK, 281 B_HID_UID_CON_AC_NEXT_LINK, 282 B_HID_UID_CON_AC_BOOKMARKS, 283 B_HID_UID_CON_AC_HISTORY, 284 B_HID_UID_CON_AC_SUBSCRIPTIONS, 285 B_HID_UID_CON_AC_ZOOM_IN, 286 B_HID_UID_CON_AC_ZOOM_OUT, 287 B_HID_UID_CON_AC_ZOOM, 288 B_HID_UID_CON_AC_FULL_SCREEN_VIEW, 289 B_HID_UID_CON_AC_NORMAL_VIEW, 290 B_HID_UID_CON_AC_VIEW_TOGGLE, 291 B_HID_UID_CON_AC_SCROLL_UP, 292 B_HID_UID_CON_AC_SCROLL_DOWN, 293 B_HID_UID_CON_AC_SCROLL, 294 B_HID_UID_CON_AC_PAN_LEFT, 295 B_HID_UID_CON_AC_PAN_RIGHT, 296 B_HID_UID_CON_AC_PAN, 297 B_HID_UID_CON_AC_NEW_WINDOW, 298 B_HID_UID_CON_AC_TILE_HORIZONTALLY, 299 B_HID_UID_CON_AC_TILE_VERTICALLY, 300 B_HID_UID_CON_AC_FORMAT, 301 B_HID_UID_CON_AC_EDIT, 302 B_HID_UID_CON_AC_BOLD, 303 B_HID_UID_CON_AC_ITALICS, 304 B_HID_UID_CON_AC_UNDERLINE, 305 B_HID_UID_CON_AC_STRIKETHROUGH, 306 B_HID_UID_CON_AC_SUBSCRIPT, 307 B_HID_UID_CON_AC_SUPERSCRIPT, 308 B_HID_UID_CON_AC_ALL_CAPS, 309 B_HID_UID_CON_AC_ROTATE, 310 B_HID_UID_CON_AC_RESIZE, 311 B_HID_UID_CON_AC_FLIP_HORIZONTAL, 312 B_HID_UID_CON_AC_FLIP_VERTICAL, 313 B_HID_UID_CON_AC_MIRROR_HORIZONTAL, 314 B_HID_UID_CON_AC_MIRROR_VERTICAL, 315 B_HID_UID_CON_AC_FONT_SELECT, 316 B_HID_UID_CON_AC_FONT_COLOR, 317 B_HID_UID_CON_AC_FONT_SIZE, 318 B_HID_UID_CON_AC_JUSTIFY_LEFT, 319 B_HID_UID_CON_AC_JUSTIFY_CENTER_H, 320 B_HID_UID_CON_AC_JUSTIFY_RIGHT, 321 B_HID_UID_CON_AC_JUSTIFY_BLOCK_H, 322 B_HID_UID_CON_AC_JUSTIFY_TOP, 323 B_HID_UID_CON_AC_JUSTIFY_CENTER_V, 324 B_HID_UID_CON_AC_JUSTIFY_BOTTOM, 325 B_HID_UID_CON_AC_JUSTIFY_BLOCK_V, 326 B_HID_UID_CON_AC_INDENT_DECREASE, 327 B_HID_UID_CON_AC_INDENT_INCREASE, 328 B_HID_UID_CON_AC_NUMBERED_LIST, 329 B_HID_UID_CON_AC_RESTART_NUMBERING, 330 B_HID_UID_CON_AC_BULLETED_LIST, 331 B_HID_UID_CON_AC_PROMOTE, 332 B_HID_UID_CON_AC_DEMOTE, 333 B_HID_UID_CON_AC_YES, 334 B_HID_UID_CON_AC_NO, 335 B_HID_UID_CON_AC_CANCEL, 336 B_HID_UID_CON_AC_CATALOG, 337 B_HID_UID_CON_AC_BUY_CHECKOUT, 338 B_HID_UID_CON_AC_ADD_TO_CART, 339 B_HID_UID_CON_AC_EXPAND, 340 B_HID_UID_CON_AC_EXPAND_ALL, 341 B_HID_UID_CON_AC_COLLAPSE, 342 B_HID_UID_CON_AC_COLLAPSE_ALL, 343 B_HID_UID_CON_AC_PRINT_PREVIEW, 344 B_HID_UID_CON_AC_PASTE_SPECIAL, 345 B_HID_UID_CON_AC_INSERT_MODE, 346 B_HID_UID_CON_AC_DELETE, 347 B_HID_UID_CON_AC_LOCK, 348 B_HID_UID_CON_AC_UNLOCK, 349 B_HID_UID_CON_AC_PROTECT, 350 B_HID_UID_CON_AC_UNPROTECT, 351 B_HID_UID_CON_AC_ATTACH_COMMENT, 352 B_HID_UID_CON_AC_DELETE_COMMENT, 353 B_HID_UID_CON_AC_VIEW_COMMENT, 354 B_HID_UID_CON_AC_SELECT_WORD, 355 B_HID_UID_CON_AC_SELECT_SENTENCE, 356 B_HID_UID_CON_AC_SELECT_PARAGRAPH, 357 B_HID_UID_CON_AC_SELECT_COLUMN, 358 B_HID_UID_CON_AC_SELECT_ROW, 359 B_HID_UID_CON_AC_SELECT_TABLE, 360 B_HID_UID_CON_AC_SELECT_OBJECT, 361 B_HID_UID_CON_AC_REDO_REPEAT, 362 B_HID_UID_CON_AC_SORT, 363 B_HID_UID_CON_AC_SORT_ASCENDING, 364 B_HID_UID_CON_AC_SORT_DESCENDING, 365 B_HID_UID_CON_AC_FILTER, 366 B_HID_UID_CON_AC_SET_CLOCK, 367 B_HID_UID_CON_AC_VIEW_CLOCK, 368 B_HID_UID_CON_AC_SELECT_TIME_ZONE, 369 B_HID_UID_CON_AC_EDIT_TIME_ZONES, 370 B_HID_UID_CON_AC_SET_ALARM, 371 B_HID_UID_CON_AC_CLEAR_ALARM, 372 B_HID_UID_CON_AC_SNOOZE_ALARM, 373 B_HID_UID_CON_AC_RESET_ALARM, 374 B_HID_UID_CON_AC_SYNCHRONIZE, 375 B_HID_UID_CON_AC_SEND_RECEIVE, 376 B_HID_UID_CON_AC_SEND_TO, 377 B_HID_UID_CON_AC_REPLY, 378 B_HID_UID_CON_AC_REPLY_ALL, 379 B_HID_UID_CON_AC_FORWARD_MSG, 380 B_HID_UID_CON_AC_SEND, 381 B_HID_UID_CON_AC_ATTACH_FILE, 382 B_HID_UID_CON_AC_UPLOAD, 383 B_HID_UID_CON_AC_DOWNLOAD, 384 B_HID_UID_CON_AC_SET_BORDERS, 385 B_HID_UID_CON_AC_INSERT_ROW, 386 B_HID_UID_CON_AC_INSERT_COLUMN, 387 B_HID_UID_CON_AC_INSERT_FILE, 388 B_HID_UID_CON_AC_INSERT_PICTURE, 389 B_HID_UID_CON_AC_INSERT_OBJECT, 390 B_HID_UID_CON_AC_INSERT_SYMBOL, 391 B_HID_UID_CON_AC_SAVE_AND_CLOSE, 392 B_HID_UID_CON_AC_RENAME, 393 B_HID_UID_CON_AC_MERGE, 394 B_HID_UID_CON_AC_SPLIT, 395 B_HID_UID_CON_AC_DISTRIBUTE_HORIZONTALLY, 396 B_HID_UID_CON_AC_DISTRIBUTE_VERTICALLY 397 }; 398 399 400 #endif // _USB_HID_PAGE_CONSUMER_H 401