rockbox/firmware/usbstack/usb_hid_usage_tables.h
Frank Gevaerts 2bc6b7c5cd Add usb_hid_usage_tables.h for HID to actually compile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20963 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 15:30:39 +00:00

394 lines
11 KiB
C

/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
* $Id$
*
* Copyright (C) 2009 by Tomer Shalev
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
****************************************************************************/
#ifndef USB_HID_USAGE_TABLES_H
#define USB_HID_USAGE_TABLES_H
typedef enum consumer_usage_page
{
UNASSIGNED = 0x00,
CONSUMER_CONTROL = 0x1,
NUMERIC_KEY_PAD = 0x2,
PROGRAMMABLE_BUTTONS = 0x3,
MICROPHONE = 0x4,
HEADPHONE = 0x5,
GRAPHIC_EQUALIZER = 0x6,
PLUS_10 = 0x20,
PLUS_100 = 0x21,
AM_PM = 0x22,
POWER = 0x30,
RESET = 0x31,
SLEEP = 0x32,
SLEEP_AFTER = 0x33,
SLEEP_MODE = 0x34,
ILLUMINATION = 0x35,
FUNCTION_BUTTONS = 0x36,
MENU = 0x40,
MENU_PICK = 0x41,
MENU_UP = 0x42,
MENU_DOWN = 0x43,
MENU_LEFT = 0x44,
MENU_RIGHT = 0x45,
MENU_ESCAPE = 0x46,
MENU_VALUE_INCREASE = 0x47,
MENU_VALUE_DECREASE = 0x48,
DATA_ON_SCREEN = 0x60,
CLOSED_CAPTION = 0x61,
CLOSED_CAPTION_SELECT = 0x62,
VCR_TV = 0x63,
BROADCAST_MODE = 0x64,
SNAPSHOT = 0x65,
STILL = 0x66,
SELECTION = 0x80,
ASSIGN_SELECTION = 0x81,
MODE_STEP = 0x82,
RECALL_LAST = 0x83,
ENTER_CHANNEL = 0x84,
ORDER_MOVIE = 0x85,
CHANNEL = 0x86,
MEDIA_SELECTION = 0x87,
MEDIA_SELECT_COMPUTER = 0x88,
MEDIA_SELECT_TV = 0x89,
MEDIA_SELECT_WWW = 0x8A,
MEDIA_SELECT_DVD = 0x8B,
MEDIA_SELECT_TELEPHONE = 0x8C,
MEDIA_SELECT_PROGRAM_GUIDE = 0x8D,
MEDIA_SELECT_VIDEO_PHONE = 0x8E,
MEDIA_SELECT_GAMES = 0x8F,
MEDIA_SELECT_MESSAGES = 0x90,
MEDIA_SELECT_CD = 0x91,
MEDIA_SELECT_VCR = 0x92,
MEDIA_SELECT_TUNER = 0x93,
QUIT = 0x94,
HELP = 0x95,
MEDIA_SELECT_TAPE = 0x96,
MEDIA_SELECT_CABLE = 0x97,
MEDIA_SELECT_SATELLITE = 0x98,
MEDIA_SELECT_SECURITY = 0x99,
MEDIA_SELECT_HOME = 0x9A,
MEDIA_SELECT_CALL = 0x9B,
CHANNEL_INCREMENT = 0x9C,
CHANNEL_DECREMENT = 0x9D,
MEDIA_SELECT_SAP = 0x9E,
VCR_PLUS = 0xA0,
ONCE = 0xA1,
DAILY = 0xA2,
WEEKLY = 0xA3,
MONTHLY = 0xA4,
PLAY = 0xB0,
PAUSE = 0xB1,
RECORD = 0xB2,
FAST_FORWARD = 0xB3,
REWIND = 0xB4,
SCAN_NEXT_TRACK = 0xB5,
SCAN_PREVIOUS_TRACK = 0xB6,
STOP = 0xB7,
EJECT = 0xB8,
RANDOM_PLAY = 0xB9,
SELECT_DISC = 0xBA,
ENTER_DISC = 0xBB,
REPEAT = 0xBC,
TRACKING = 0xBD,
TRACK_NORMAL = 0xBE,
SLOW_TRACKING = 0xBF,
FRAME_FORWARD = 0xC0,
FRAME_BACK = 0xC1,
MARK = 0xC2,
CLEAR_MARK = 0xC3,
REPEAT_FROM_MARK = 0xC4,
RETURN_TO_MARK = 0xC5,
SEARCH_MARK_FORWARD = 0xC6,
SEARCH_MARK_BACKWARDS = 0xC7,
COUNTER_RESET = 0xC8,
SHOW_COUNTER = 0xC9,
TRACKING_INCREMENT = 0xCA,
TRACKING_DECREMENT = 0xCB,
STOP_EJECT = 0xCC,
PLAY_PAUSE = 0xCD,
PLAY_SKIP = 0xCE,
VOLUME = 0xE0,
BALANCE = 0xE1,
MUTE = 0xE2,
BASS = 0xE3,
TREBLE = 0xE4,
BASS_BOOST = 0xE5,
SURROUND_MODE = 0xE6,
LOUDNESS = 0xE7,
MPX = 0xE8,
VOLUME_INCREMENT = 0xE9,
VOLUME_DECREMENT = 0xEA,
SPEED_SELECT = 0xF0,
PLAYBACK_SPEED = 0xF1,
STANDARD_PLAY = 0xF2,
LONG_PLAY = 0xF3,
EXTENDED_PLAY = 0xF4,
SLOW = 0xF5,
FAN_ENABLE = 0x100,
FAN_SPEED = 0x101,
LIGHT_ENABLE = 0x102,
LIGHT_ILLUMINATION_LEVEL = 0x103,
CLIMATE_CONTROL_ENABLE = 0x104,
ROOM_TEMPERATURE = 0x105,
SECURITY_ENABLE = 0x106,
FIRE_ALARM = 0x107,
POLICE_ALARM = 0x108,
PROXIMITY = 0x109,
MOTION = 0x10A,
DURESS_ALARM = 0x10B,
HOLDUP_ALARM = 0x10C,
MEDICAL_ALARM = 0x10D,
BALANCE_RIGHT = 0x150,
BALANCE_LEFT = 0x151,
BASS_INCREMENT = 0x152,
BASS_DECREMENT = 0x153,
TREBLE_INCREMENT = 0x154,
TREBLE_DECREMENT = 0x155,
SPEAKER_SYSTEM = 0x160,
CHANNEL_LEFT = 0x161,
CHANNEL_RIGHT = 0x162,
CHANNEL_CENTER = 0x163,
CHANNEL_FRONT = 0x164,
CHANNEL_CENTER_FRONT = 0x165,
CHANNEL_SIDE = 0x166,
CHANNEL_SURROUND = 0x167,
CHANNEL_LOW_FREQUENCY_ENHANCEMENT = 0x168,
CHANNEL_TOP = 0x169,
CHANNEL_UNKNOWN = 0x16A,
SUB_CHANNEL = 0x170,
SUB_CHANNEL_INCREMENT = 0x171,
SUB_CHANNEL_DECREMENT = 0x172,
ALTERNATE_AUDIO_INCREMENT = 0x173,
ALTERNATE_AUDIO_DECREMENT = 0x174,
APPLICATION_LAUNCH_BUTTONS = 0x180,
AL_LAUNCH_BUTTON_CONFIGURATION_TOOL = 0x181,
AL_PROGRAMMABLE_BUTTON_CONFIGUARTION = 0x182,
AL_CONSUMER_CONTROL_CONFIGURATION = 0x183,
AL_WORD_PROCESSOR = 0x184,
AL_TEXT_EDITOR = 0x185,
AL_SPREADSHEET = 0x186,
AL_GRAPHICS_EDITOR = 0x187,
AL_PRESENTATION_APP = 0x188,
AL_DATABASE_APP = 0x189,
AL_EMAIL_READER = 0x18A,
AL_NEWSREADER = 0x18B,
AL_VOICEMAIL = 0x18C,
AL_CONTACTS_ADDRESS_BOOK = 0x18D,
AL_CALENDAR_SCHEDULE = 0x18E,
AL_TASK_PROJECT_MANAGER = 0x18F,
AL_LOG_JOURNAL_TIMECARD = 0x190,
AL_CHECKBOOK_FINANCE = 0x191,
AL_CALCULATOR = 0x192,
AL_A_V_CAPTURE_PLAYBACK = 0x193,
AL_LOCAL_MACHINE_BROWSER = 0x194,
AL_LAN_WAN_BROWSER = 0x195,
AL_INTERNET_BROWSER = 0x196,
AL_REMOTE_NETWORKING_ISP_CONNECT = 0x197,
AL_NETWORK_CONFERENCE = 0x198,
AL_NETWORK_CHAT = 0x199,
AL_TELEPHONY_DIALER = 0x19A,
AL_LOGON = 0x19B,
AL_LOGOFF = 0x19C,
AL_LOGON_LOGOFF = 0x19D,
AL_TERMINAL_LOCK_SCREENSAVER = 0x19E,
AL_CONTROL_PANEL = 0x19F,
AL_COMMAND_LINE_PROCESSOR_RUN = 0x1A0,
AL_PROCESS_TASK_MANAGER = 0x1A1,
AL_SELECT_TASK_APPLICATION = 0x1A2,
AL_NEXT_TASK_APPLICATION = 0x1A3,
AL_PREVIOUS_TASK_APPLICATION = 0x1A4,
AL_PREEMPTIVE_HALT_TASK_APPLICATION = 0x1A5,
AL_INTEGRATED_HELP_CENTER = 0x1A6,
AL_DOCUMENTS = 0x1A7,
AL_THESAURUS = 0x1A8,
AL_DICTIONARY = 0x1A9,
AL_DESKTOP = 0x1AA,
AL_SPELL_CHECK = 0x1AB,
AL_GRAMMAR_CHECK = 0x1AC,
AL_WIRELESS_STATUS = 0x1AD,
AL_KEYBOARD_LAYOUT = 0x1AE,
AL_VIRUS_PROTECTION = 0x1AF,
AL_ENCRYPTION = 0x1B0,
AL_SCREEN_SAVER = 0x1B1,
AL_ALARMS = 0x1B2,
AL_CLOCK = 0x1B3,
AL_FILE_BROWSER = 0x1B4,
AL_POWER_STATUS = 0x1B5,
AL_IMAGE_BROWSER = 0x1B6,
AL_AUDIO_BROWSER = 0x1B7,
AL_MOVIE_BROWSER = 0x1B8,
AL_DIGITAL_RIGHTS_MANAGER = 0x1B9,
AL_DIGITAL_WALLET = 0x1BA,
AL_INSTANT_MESSAGING = 0x1BC,
AL_OEM_FEATURES_TIPS_TUTORIAL_BROWSER = 0x1BD,
AL_OEM_HELP = 0x1BE,
AL_ONLINE_COMMUNITY = 0x1BF,
AL_ENTERTAINMENT_CONTENT_BROWSER = 0x1C0,
AL_ONLINE_SHOPPING_BROWSER = 0x1C1,
AL_SMARTCARD_INFORMATION_HELP = 0x1C2,
AL_MARKET_MONITOR_FINANCE_BROWSER = 0x1C3,
AL_CUSTOMIZED_CORPORATE_NEWS_BROWSER = 0x1C4,
AL_ONLINE_ACTIVITY_BROWSER = 0x1C5,
AL_RESEARCH_SEARCH_BROWSER = 0x1C6,
AL_AUDIO_PLAYER = 0x1C7,
GENERIC_GUI_APPLICATION_CONTROLS = 0x200,
AC_NEW = 0x201,
AC_OPEN = 0x202,
AC_CLOSE = 0x203,
AC_EXIT = 0x204,
AC_MAXIMIZE = 0x205,
AC_MINIMIZE = 0x206,
AC_SAVE = 0x207,
AC_PRINT = 0x208,
AC_PROPERTIES = 0x209,
AC_UNDO = 0x21A,
AC_COPY = 0x21B,
AC_CUT = 0x21C,
AC_PASTE = 0x21D,
AC_SELECT_ALL = 0x21E,
AC_FIND = 0x21F,
AC_FIND_AND_REPLACE = 0x220,
AC_SEARCH = 0x221,
AC_GO_TO = 0x222,
AC_HOME = 0x223,
AC_BACK = 0x224,
AC_FORWARD = 0x225,
AC_STOP = 0x226,
AC_REFRESH = 0x227,
AC_PREVIOUS_LINK = 0x228,
AC_NEXT_LINK = 0x229,
AC_BOOKMARKS = 0x22A,
AC_HISTORY = 0x22B,
AC_SUBSCRIPTIONS = 0x22C,
AC_ZOOM_IN = 0x22D,
AC_ZOOM_OUT = 0x22E,
AC_ZOOM = 0x22F,
AC_FULL_SCREEN_VIEW = 0x230,
AC_NORMAL_VIEW = 0x231,
AC_VIEW_TOGGLE = 0x232,
AC_SCROLL_UP = 0x233,
AC_SCROLL_DOWN = 0x234,
AC_SCROLL = 0x235,
AC_PAN_LEFT = 0x236,
AC_PAN_RIGHT = 0x237,
AC_PAN = 0x238,
AC_NEW_WINDOW = 0x239,
AC_TILE_HORIZONTALLY = 0x23A,
AC_TILE_VERTICALLY = 0x23B,
AC_FORMAT = 0x23C,
AC_EDIT = 0x23D,
AC_BOLD = 0x23E,
AC_ITALICS = 0x23F,
AC_UNDERLINE = 0x240,
AC_STRIKETHROUGH = 0x241,
AC_SUBSCRIPT = 0x242,
AC_SUPERSCRIPT = 0x243,
AC_ALL_CAPS = 0x244,
AC_ROTATE = 0x245,
AC_RESIZE = 0x246,
AC_FLIP_HORIZONTAL = 0x247,
AC_FLIP_VERTICAL = 0x248,
AC_MIRROR_HORIZONTAL = 0x249,
AC_MIRROR_VERTICAL = 0x24A,
AC_FONT_SELECT = 0x24B,
AC_FONT_COLOR = 0x24C,
AC_FONT_SIZE = 0x24D,
AC_JUSTIFY_LEFT = 0x24E,
AC_JUSTIFY_CENTER_H = 0x24F,
AC_JUSTIFY_RIGHT = 0x250,
AC_JUSTIFY_BLOCK_H = 0x251,
AC_JUSTIFY_TOP = 0x252,
AC_JUSTIFY_CENTER_V = 0x253,
AC_JUSTIFY_BOTTOM = 0x254,
AC_JUSTIFY_BLOCK_V = 0x255,
AC_INDENT_DECREASE = 0x256,
AC_INDENT_INCREASE = 0x257,
AC_NUMBERED_LIST = 0x258,
AC_RESTART_NUMBERING = 0x259,
AC_BULLETED_LIST = 0x25A,
AC_PROMOTE = 0x25B,
AC_DEMOTE = 0x25C,
AC_YES = 0x25D,
AC_NO = 0x25E,
AC_CANCEL = 0x25F,
AC_CATALOG = 0x260,
AC_BUY_CHECKOUT = 0x261,
AC_ADD_TO_CART = 0x262,
AC_EXPAND = 0x263,
AC_EXPAND_ALL = 0x264,
AC_COLLAPSE = 0x265,
AC_COLLAPSE_ALL = 0x266,
AC_PRINT_PREVIEW = 0x267,
AC_PASTE_SPECIAL = 0x268,
AC_INSERT_MODE = 0x269,
AC_DELETE = 0x26A,
AC_LOCK = 0x26B,
AC_UNLOCK = 0x26C,
AC_PROTECT = 0x26D,
AC_UNPROTECT = 0x26E,
AC_ATTACH_COMMENT = 0x26F,
AC_DELETE_COMMENT = 0x270,
AC_VIEW_COMMENT = 0x271,
AC_SELECT_WORD = 0x272,
AC_SELECT_SENTENCE = 0x273,
AC_SELECT_PARAGRAPH = 0x274,
AC_SELECT_COLUMN = 0x275,
AC_SELECT_ROW = 0x276,
AC_SELECT_TABLE = 0x277,
AC_SELECT_OBJECT = 0x278,
AC_REDO_REPEAT = 0x279,
AC_SORT = 0x27A,
AC_SORT_ASCENDING = 0x27B,
AC_SORT_DESCENDING = 0x27C,
AC_FILTER = 0x27D,
AC_SET_CLOCK = 0x27E,
AC_VIEW_CLOCK = 0x27F,
AC_SELECT_TIME_ZONE = 0x280,
AC_EDIT_TIME_ZONES = 0x281,
AC_SET_ALARM = 0x282,
AC_CLEAR_ALARM = 0x283,
AC_SNOOZE_ALARM = 0x284,
AC_RESET_ALARM = 0x285,
AC_SYNCHRONIZE = 0x286,
AC_SEND_RECEIVE = 0x287,
AC_SEND_TO = 0x288,
AC_REPLY = 0x289,
AC_REPLY_ALL = 0x28A,
AC_FORWARD_MSG = 0x28B,
AC_SEND = 0x28C,
AC_ATTACH_FILE = 0x28D,
AC_UPLOAD = 0x28E,
AC_DOWNLOAD_SAVE_TARGET_AS = 0x28F,
AC_SET_BORDERS = 0x290,
AC_INSERT_ROW = 0x291,
AC_INSERT_COLUMN = 0x292,
AC_INSERT_FILE = 0x293,
AC_INSERT_PICTURE = 0x294,
AC_INSERT_OBJECT = 0x295,
AC_INSERT_SYMBOL = 0x296,
AC_SAVE_AND_CLOSE = 0x297,
AC_RENAME = 0x298,
AC_MERGE = 0x299,
AC_SPLIT = 0x29A,
AC_DISRIBUTE_HORIZONTALLY = 0x29B,
AC_DISTRIBUTE_VERTICALLY = 0x29C,
} consumer_usage_page_t;
#endif