Add new Consumer control keys from USB HID HUT v1.2

pull/915/head
Michael Richters 4 years ago committed by Jesse Vincent
parent eeb54c93eb
commit c846e1eee6
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -595,7 +595,7 @@
#define HID_CONSUMER_AL_DIGITAL_WALLET 0x1BA // Sel
// _Reserved 0x1BB
#define HID_CONSUMER_AL_INSTANT_MESSAGING 0x1BC // Sel
#define HID_CONSUMER_AL_OEM_FEATURES_SLASH__TIPS_SLASH_TUTORIAL_BROWSER \
#define HID_CONSUMER_AL_OEM_FEATURES_SLASH_TIPS_SLASH_TUTORIAL_BROWSER \
0x1BD // Sel
#define HID_CONSUMER_AL_OEM_HELP 0x1BE // Sel
#define HID_CONSUMER_AL_ONLINE_COMMUNITY 0x1BF // Sel

@ -52,6 +52,35 @@
#define Consumer_Snapshot CONSUMER_KEY(HID_CONSUMER_SNAPSHOT, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_Still CONSUMER_KEY(HID_CONSUMER_STILL, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_PictureInPictureToggle CONSUMER_KEY(HID_CONSUMER_PICTURE_IN_PICTURE_TOGGLE, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_PictureInPictureSwap CONSUMER_KEY(HID_CONSUMER_PICTURE_IN_PICTURE_SWAP, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_RedMenuButton CONSUMER_KEY(HID_CONSUMER_RED_MENU_BUTTON, KEY_FLAGS | HID_TYPE_MC )
#define Consumer_GreenMenuButton CONSUMER_KEY(HID_CONSUMER_GREEN_MENU_BUTTON, KEY_FLAGS | HID_TYPE_MC )
#define Consumer_BlueMenuButton CONSUMER_KEY(HID_CONSUMER_BLUE_MENU_BUTTON, KEY_FLAGS | HID_TYPE_MC )
#define Consumer_YellowMenuButton CONSUMER_KEY(HID_CONSUMER_YELLOW_MENU_BUTTON, KEY_FLAGS | HID_TYPE_MC )
#define Consumer_Aspect CONSUMER_KEY(HID_CONSUMER_ASPECT, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_3dModeSelect CONSUMER_KEY(HID_CONSUMER_3D_MODE_SELECT, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_DisplayBrightnessIncrement CONSUMER_KEY(HID_CONSUMER_DISPLAY_BRIGHTNESS_INCREMENT, KEY_FLAGS | HID_TYPE_RTC )
#define Consumer_DisplayBrightnessDecrement CONSUMER_KEY(HID_CONSUMER_DISPLAY_BRIGHTNESS_DECREMENT, KEY_FLAGS | HID_TYPE_RTC )
#define Consumer_DisplayBrightness CONSUMER_KEY(HID_CONSUMER_DISPLAY_BRIGHTNESS, KEY_FLAGS | HID_TYPE_LC )
#define Consumer_DisplayBacklightToggle CONSUMER_KEY(HID_CONSUMER_DISPLAY_BACKLIGHT_TOGGLE, KEY_FLAGS | HID_TYPE_OOC )
#define Consumer_DisplaySetBrightnessToMinimum CONSUMER_KEY(HID_CONSUMER_DISPLAY_SET_BRIGHTNESS_TO_MINIMUM, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_DisplaySetBrightnessToMaximum CONSUMER_KEY(HID_CONSUMER_DISPLAY_SET_BRIGHTNESS_TO_MAXIMUM, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_DisplaySetAutoBrightness CONSUMER_KEY(HID_CONSUMER_DISPLAY_SET_AUTO_BRIGHTNESS, KEY_FLAGS | HID_TYPE_OOC )
#define Consumer_CameraAccessEnabled CONSUMER_KEY(HID_CONSUMER_CAMERA_ACCESS_ENABLED, KEY_FLAGS | HID_TYPE_OOC )
#define Consumer_CameraAccessDisabled CONSUMER_KEY(HID_CONSUMER_CAMERA_ACCESS_DISABLED, KEY_FLAGS | HID_TYPE_OOC )
#define Consumer_CameraAccessToggle CONSUMER_KEY(HID_CONSUMER_CAMERA_ACCESS_TOGGLE, KEY_FLAGS | HID_TYPE_OOC )
#define Consumer_KeyboardBrightnessIncrement CONSUMER_KEY(HID_CONSUMER_KEYBOARD_BRIGHTNESS_INCREMENT, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_KeyboardBrightnessDecrement CONSUMER_KEY(HID_CONSUMER_KEYBOARD_BRIGHTNESS_DECREMENT, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_KeyboardBacklightSetLevel CONSUMER_KEY(HID_CONSUMER_KEYBOARD_BACKLIGHT_SET_LEVEL, KEY_FLAGS | HID_TYPE_LC )
#define Consumer_KeyboardBacklightOoc CONSUMER_KEY(HID_CONSUMER_KEYBOARD_BACKLIGHT_OOC, KEY_FLAGS | HID_TYPE_OOC )
#define Consumer_KeyboardBacklightSetMinimum CONSUMER_KEY(HID_CONSUMER_KEYBOARD_BACKLIGHT_SET_MINIMUM, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_KeyboardBacklightSetMaximum CONSUMER_KEY(HID_CONSUMER_KEYBOARD_BACKLIGHT_SET_MAXIMUM, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_KeyboardBacklightAuto CONSUMER_KEY(HID_CONSUMER_KEYBOARD_BACKLIGHT_AUTO, KEY_FLAGS | HID_TYPE_OOC )
#define Consumer_Selection CONSUMER_KEY(HID_CONSUMER_SELECTION, KEY_FLAGS | HID_TYPE_NARY )
#define Consumer_AssignSelection CONSUMER_KEY(HID_CONSUMER_ASSIGN_SELECTION, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_ModeStep CONSUMER_KEY(HID_CONSUMER_MODE_STEP, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_Selection CONSUMER_KEY(HID_CONSUMER_SELECTION, KEY_FLAGS | HID_TYPE_NARY )
#define Consumer_AssignSelection CONSUMER_KEY(HID_CONSUMER_ASSIGN_SELECTION, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_ModeStep CONSUMER_KEY(HID_CONSUMER_MODE_STEP, KEY_FLAGS | HID_TYPE_OSC )
@ -121,6 +150,16 @@
#define Consumer_StopSlashEject CONSUMER_KEY(HID_CONSUMER_STOP_SLASH_EJECT, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_PlaySlashPause CONSUMER_KEY(HID_CONSUMER_PLAY_SLASH_PAUSE, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_PlaySlashSkip CONSUMER_KEY(HID_CONSUMER_PLAY_SLASH_SKIP, KEY_FLAGS | HID_TYPE_OSC )
#define Consumer_VoiceCommand CONSUMER_KEY(HID_CONSUMER_VOICE_COMMAND, KEY_FLAGS | HID_TYPE_SEL )
#define Consumer_InvokeCaptureInterface CONSUMER_KEY(HID_CONSUMER_INVOKE_CAPTURE_INTERFACE, KEY_FLAGS | HID_TYPE_SEL )
#define Consumer_StartOrStopGameRecording CONSUMER_KEY(HID_CONSUMER_START_OR_STOP_GAME_RECORDING, KEY_FLAGS | HID_TYPE_SEL )
#define Consumer_HistoricalGameCapture CONSUMER_KEY(HID_CONSUMER_HISTORICAL_GAME_CAPTURE, KEY_FLAGS | HID_TYPE_SEL )
#define Consumer_CaptureGameScreenshot CONSUMER_KEY(HID_CONSUMER_CAPTURE_GAME_SCREENSHOT, KEY_FLAGS | HID_TYPE_SEL )
#define Consumer_ShowOrHideRecordingIndicator CONSUMER_KEY(HID_CONSUMER_SHOW_OR_HIDE_RECORDING_INDICATOR, KEY_FLAGS | HID_TYPE_SEL )
#define Consumer_StartOrStopMicrophoneCapture CONSUMER_KEY(HID_CONSUMER_START_OR_STOP_MICROPHONE_CAPTURE, KEY_FLAGS | HID_TYPE_SEL )
#define Consumer_StartOrStopCameraCapture CONSUMER_KEY(HID_CONSUMER_START_OR_STOP_CAMERA_CAPTURE, KEY_FLAGS | HID_TYPE_SEL )
#define Consumer_Volume CONSUMER_KEY(HID_CONSUMER_VOLUME, KEY_FLAGS | HID_TYPE_LC )
#define Consumer_Balance CONSUMER_KEY(HID_CONSUMER_BALANCE, KEY_FLAGS | HID_TYPE_LC )
#define Consumer_Mute CONSUMER_KEY(HID_CONSUMER_MUTE, KEY_FLAGS | HID_TYPE_OOC )
@ -243,7 +282,7 @@
#define Consumer_AL_DigitalWallet CONSUMER_KEY(HID_CONSUMER_AL_DIGITAL_WALLET, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AL_InstantMessaging CONSUMER_KEY(HID_CONSUMER_AL_INSTANT_MESSAGING, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AL_OemFeaturesSlashTipsSlashTutorialBrowser CONSUMER_KEY(HID_CONSUMER_AL_OEM_FEATURES_SLASH__TIPS_SLASH_TUTORIAL_BROWSER, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AL_OemFeaturesSlashTipsSlashTutorialBrowser CONSUMER_KEY(HID_CONSUMER_AL_OEM_FEATURES_SLASH_TIPS_SLASH_TUTORIAL_BROWSER, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AL_OemHelp CONSUMER_KEY(HID_CONSUMER_AL_OEM_HELP, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AL_OnlineCommunity CONSUMER_KEY(HID_CONSUMER_AL_ONLINE_COMMUNITY, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AL_Entertainment_Content_Browser CONSUMER_KEY(HID_CONSUMER_AL_ENTERTAINMENT_CONTENT_BROWSER, KEY_FLAGS | HID_TYPE_SEL)
@ -255,6 +294,10 @@
#define Consumer_AL_ResearchSlashSearchBrowser CONSUMER_KEY(HID_CONSUMER_AL_RESEARCH_SLASH_SEARCH_BROWSER, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AL_AudioPlayer CONSUMER_KEY(HID_CONSUMER_AL_AUDIO_PLAYER, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AlMessageStatus CONSUMER_KEY(HID_CONSUMER_AL_MESSAGE_STATUS, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AlContactSync CONSUMER_KEY(HID_CONSUMER_AL_CONTACT_SYNC, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AlNavigation CONSUMER_KEY(HID_CONSUMER_AL_NAVIGATION, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_GenericGuiApplicationControls CONSUMER_KEY(HID_CONSUMER_GENERIC_GUI_APPLICATION_CONTROLS, KEY_FLAGS | HID_TYPE_NARY)
#define Consumer_AC_New CONSUMER_KEY(HID_CONSUMER_AC_NEW, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_Open CONSUMER_KEY(HID_CONSUMER_AC_OPEN, KEY_FLAGS | HID_TYPE_SEL)
@ -397,3 +440,32 @@
#define Consumer_AC_Split CONSUMER_KEY(HID_CONSUMER_AC_SPLIT, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_Distribute_Horizontally CONSUMER_KEY(HID_CONSUMER_AC_DISTRIBUTE_HORIZONTALLY, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_Distribute_Vertically CONSUMER_KEY(HID_CONSUMER_AC_DISTRIBUTE_VERTICALLY, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_NextKeyboardLayoutSelect CONSUMER_KEY(HID_CONSUMER_AC_NEXT_KEYBOARD_LAYOUT_SELECT, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_NavigationGuidance CONSUMER_KEY(HID_CONSUMER_AC_NAVIGATION_GUIDANCE, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_DesktopShowAllWindows CONSUMER_KEY(HID_CONSUMER_AC_DESKTOP_SHOW_ALL_WINDOWS, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_SoftKeyLeft CONSUMER_KEY(HID_CONSUMER_AC_SOFT_KEY_LEFT, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_SoftKeyRight CONSUMER_KEY(HID_CONSUMER_AC_SOFT_KEY_RIGHT, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_DesktopShowAllApplications CONSUMER_KEY(HID_CONSUMER_AC_DESKTOP_SHOW_ALL_APPLICATIONS, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_IdleKeepAlive CONSUMER_KEY(HID_CONSUMER_AC_IDLE_KEEP_ALIVE, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_ExtendedKeyboardAttributesCollection CONSUMER_KEY(HID_CONSUMER_EXTENDED_KEYBOARD_ATTRIBUTES_COLLECTION, KEY_FLAGS | HID_TYPE_CL)
#define Consumer_KeyboardFormFactor CONSUMER_KEY(HID_CONSUMER_KEYBOARD_FORM_FACTOR, KEY_FLAGS | HID_TYPE_SV)
#define Consumer_KeyboardKeyType CONSUMER_KEY(HID_CONSUMER_KEYBOARD_KEY_TYPE, KEY_FLAGS | HID_TYPE_SV)
#define Consumer_KeyboardPhysicalLayout CONSUMER_KEY(HID_CONSUMER_KEYBOARD_PHYSICAL_LAYOUT, KEY_FLAGS | HID_TYPE_SV)
#define Consumer_VendorSpecificKeyboardPhysicalLayout CONSUMER_KEY(HID_CONSUMER_VENDOR_SPECIFIC_KEYBOARD_PHYSICAL_LAYOUT, KEY_FLAGS | HID_TYPE_SV)
#define Consumer_KeyboardIetfLanguageTagIndex CONSUMER_KEY(HID_CONSUMER_KEYBOARD_IETF_LANGUAGE_TAG_INDEX, KEY_FLAGS | HID_TYPE_SV)
#define Consumer_ImplementedKeyboardInputAssistControls CONSUMER_KEY(HID_CONSUMER_IMPLEMENTED_KEYBOARD_INPUT_ASSIST_CONTROLS, KEY_FLAGS | HID_TYPE_SV)
#define Consumer_KeyboardInputAssistPrevious CONSUMER_KEY(HID_CONSUMER_KEYBOARD_INPUT_ASSIST_PREVIOUS, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_KeyboardInputAssistNext CONSUMER_KEY(HID_CONSUMER_KEYBOARD_INPUT_ASSIST_NEXT, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_KeyboardInputAssistPreviousGroup CONSUMER_KEY(HID_CONSUMER_KEYBOARD_INPUT_ASSIST_PREVIOUS_GROUP, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_KeyboardInputAssistNextGroup CONSUMER_KEY(HID_CONSUMER_KEYBOARD_INPUT_ASSIST_NEXT_GROUP, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_KeyboardInputAssistAccept CONSUMER_KEY(HID_CONSUMER_KEYBOARD_INPUT_ASSIST_ACCEPT, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_KeyboardInputAssistCancel CONSUMER_KEY(HID_CONSUMER_KEYBOARD_INPUT_ASSIST_CANCEL, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_PrivacyScreenToggle CONSUMER_KEY(HID_CONSUMER_PRIVACY_SCREEN_TOGGLE, KEY_FLAGS | HID_TYPE_OOC)
#define Consumer_PrivacyScreenLevelDecrement CONSUMER_KEY(HID_CONSUMER_PRIVACY_SCREEN_LEVEL_DECREMENT, KEY_FLAGS | HID_TYPE_RTC)
#define Consumer_PrivacyScreenLevelIncrement CONSUMER_KEY(HID_CONSUMER_PRIVACY_SCREEN_LEVEL_INCREMENT, KEY_FLAGS | HID_TYPE_RTC)
#define Consumer_PrivacyScreenLevelMinimum CONSUMER_KEY(HID_CONSUMER_PRIVACY_SCREEN_LEVEL_MINIMUM, KEY_FLAGS | HID_TYPE_OSC)

Loading…
Cancel
Save