#[non_exhaustive]pub enum Consumer {
Show 450 variants
ConsumerControl,
NumericKeyPad,
ProgrammableButtons,
Microphone,
Headphone,
GraphicEqualizer,
Plus10,
Plus100,
AMPM,
Power,
Reset,
Sleep,
SleepAfter,
SleepMode,
Illumination,
FunctionButtons,
Menu,
MenuPick,
MenuUp,
MenuDown,
MenuLeft,
MenuRight,
MenuEscape,
MenuValueIncrease,
MenuValueDecrease,
DataOnScreen,
ClosedCaption,
ClosedCaptionSelect,
VCRTV,
BroadcastMode,
Snapshot,
Still,
PictureinPictureToggle,
PictureinPictureSwap,
RedMenuButton,
GreenMenuButton,
BlueMenuButton,
YellowMenuButton,
Aspect,
ThreeDModeSelect,
DisplayBrightnessIncrement,
DisplayBrightnessDecrement,
DisplayBrightness,
DisplayBacklightToggle,
DisplaySetBrightnesstoMinimum,
DisplaySetBrightnesstoMaximum,
DisplaySetAutoBrightness,
CameraAccessEnabled,
CameraAccessDisabled,
CameraAccessToggle,
KeyboardBrightnessIncrement,
KeyboardBrightnessDecrement,
KeyboardBacklightSetLevel,
KeyboardBacklightOOC,
KeyboardBacklightSetMinimum,
KeyboardBacklightSetMaximum,
KeyboardBacklightAuto,
Selection,
AssignSelection,
ModeStep,
RecallLast,
EnterChannel,
OrderMovie,
Channel,
MediaSelection,
MediaSelectComputer,
MediaSelectTV,
MediaSelectWWW,
MediaSelectDVD,
MediaSelectTelephone,
MediaSelectProgramGuide,
MediaSelectVideoPhone,
MediaSelectGames,
MediaSelectMessages,
MediaSelectCD,
MediaSelectVCR,
MediaSelectTuner,
Quit,
Help,
MediaSelectTape,
MediaSelectCable,
MediaSelectSatellite,
MediaSelectSecurity,
MediaSelectHome,
MediaSelectCall,
ChannelIncrement,
ChannelDecrement,
MediaSelectSAP,
VCRPlus,
Once,
Daily,
Weekly,
Monthly,
Play,
Pause,
Record,
FastForward,
Rewind,
ScanNextTrack,
ScanPreviousTrack,
Stop,
Eject,
RandomPlay,
SelectDisc,
EnterDisc,
Repeat,
Tracking,
TrackNormal,
SlowTracking,
FrameForward,
FrameBack,
Mark,
ClearMark,
RepeatFromMark,
ReturnToMark,
SearchMarkForward,
SearchMarkBackwards,
CounterReset,
ShowCounter,
TrackingIncrement,
TrackingDecrement,
StopEject,
PlayPause,
PlaySkip,
VoiceCommand,
InvokeCaptureInterface,
StartorStopGameRecording,
HistoricalGameCapture,
CaptureGameScreenshot,
ShoworHideRecordingIndicator,
StartorStopMicrophoneCapture,
StartorStopCameraCapture,
StartorStopGameBroadcast,
StartorStopVoiceDictationSession,
InvokeDismissEmojiPicker,
Volume,
Balance,
Mute,
Bass,
Treble,
BassBoost,
SurroundMode,
Loudness,
MPX,
VolumeIncrement,
VolumeDecrement,
SpeedSelect,
PlaybackSpeed,
StandardPlay,
LongPlay,
ExtendedPlay,
Slow,
FanEnable,
FanSpeed,
LightEnable,
LightIlluminationLevel,
ClimateControlEnable,
RoomTemperature,
SecurityEnable,
FireAlarm,
PoliceAlarm,
Proximity,
Motion,
DuressAlarm,
HoldupAlarm,
MedicalAlarm,
BalanceRight,
BalanceLeft,
BassIncrement,
BassDecrement,
TrebleIncrement,
TrebleDecrement,
SpeakerSystem,
ChannelLeft,
ChannelRight,
ChannelCenter,
ChannelFront,
ChannelCenterFront,
ChannelSide,
ChannelSurround,
ChannelLowFrequencyEnhancement,
ChannelTop,
ChannelUnknown,
Subchannel,
SubchannelIncrement,
SubchannelDecrement,
AlternateAudioIncrement,
AlternateAudioDecrement,
ApplicationLaunchButtons,
ALLaunchButtonConfigurationTool,
ALProgrammableButtonConfiguration,
ALConsumerControlConfiguration,
ALWordProcessor,
ALTextEditor,
ALSpreadsheet,
ALGraphicsEditor,
ALPresentationApp,
ALDatabaseApp,
ALEmailReader,
ALNewsreader,
ALVoicemail,
ALContactsAddressBook,
ALCalendarSchedule,
ALTaskProjectManager,
ALLogJournalTimecard,
ALCheckbookFinance,
ALCalculator,
ALAVCapturePlayback,
ALLocalMachineBrowser,
ALLANWANBrowser,
ALInternetBrowser,
ALRemoteNetworkingISPConnect,
ALNetworkConference,
ALNetworkChat,
ALTelephonyDialer,
ALLogon,
ALLogoff,
ALLogonLogoff,
ALTerminalLockScreensaver,
ALControlPanel,
ALCommandLineProcessorRun,
ALProcessTaskManager,
ALSelectTaskApplication,
ALNextTaskApplication,
ALPreviousTaskApplication,
ALPreemptiveHaltTaskApplication,
ALIntegratedHelpCenter,
ALDocuments,
ALThesaurus,
ALDictionary,
ALDesktop,
ALSpellCheck,
ALGrammarCheck,
ALWirelessStatus,
ALKeyboardLayout,
ALVirusProtection,
ALEncryption,
ALScreenSaver,
ALAlarms,
ALClock,
ALFileBrowser,
ALPowerStatus,
ALImageBrowser,
ALAudioBrowser,
ALMovieBrowser,
ALDigitalRightsManager,
ALDigitalWallet,
ALInstantMessaging,
ALOEMFeaturesTipsTutorialBrowser,
ALOEMHelp,
ALOnlineCommunity,
ALEntertainmentContentBrowser,
ALOnlineShoppingBrowser,
ALSmartCardInformationHelp,
ALMarketMonitorFinanceBrowser,
ALCustomizedCorporateNewsBrowser,
ALOnlineActivityBrowser,
ALResearchSearchBrowser,
ALAudioPlayer,
ALMessageStatus,
ALContactSync,
ALNavigation,
ALContextawareDesktopAssistant,
GenericGUIApplicationControls,
ACNew,
ACOpen,
ACClose,
ACExit,
ACMaximize,
ACMinimize,
ACSave,
ACPrint,
ACProperties,
ACUndo,
ACCopy,
ACCut,
ACPaste,
ACSelectAll,
ACFind,
ACFindandReplace,
ACSearch,
ACGoTo,
ACHome,
ACBack,
ACForward,
ACStop,
ACRefresh,
ACPreviousLink,
ACNextLink,
ACBookmarks,
ACHistory,
ACSubscriptions,
ACZoomIn,
ACZoomOut,
ACZoom,
ACFullScreenView,
ACNormalView,
ACViewToggle,
ACScrollUp,
ACScrollDown,
ACScroll,
ACPanLeft,
ACPanRight,
ACPan,
ACNewWindow,
ACTileHorizontally,
ACTileVertically,
ACFormat,
ACEdit,
ACBold,
ACItalics,
ACUnderline,
ACStrikethrough,
ACSubscript,
ACSuperscript,
ACAllCaps,
ACRotate,
ACResize,
ACFlipHorizontal,
ACFlipVertical,
ACMirrorHorizontal,
ACMirrorVertical,
ACFontSelect,
ACFontColor,
ACFontSize,
ACJustifyLeft,
ACJustifyCenterH,
ACJustifyRight,
ACJustifyBlockH,
ACJustifyTop,
ACJustifyCenterV,
ACJustifyBottom,
ACJustifyBlockV,
ACIndentDecrease,
ACIndentIncrease,
ACNumberedList,
ACRestartNumbering,
ACBulletedList,
ACPromote,
ACDemote,
ACYes,
ACNo,
ACCancel,
ACCatalog,
ACBuyCheckout,
ACAddtoCart,
ACExpand,
ACExpandAll,
ACCollapse,
ACCollapseAll,
ACPrintPreview,
ACPasteSpecial,
ACInsertMode,
ACDelete,
ACLock,
ACUnlock,
ACProtect,
ACUnprotect,
ACAttachComment,
ACDeleteComment,
ACViewComment,
ACSelectWord,
ACSelectSentence,
ACSelectParagraph,
ACSelectColumn,
ACSelectRow,
ACSelectTable,
ACSelectObject,
ACRedoRepeat,
ACSort,
ACSortAscending,
ACSortDescending,
ACFilter,
ACSetClock,
ACViewClock,
ACSelectTimeZone,
ACEditTimeZones,
ACSetAlarm,
ACClearAlarm,
ACSnoozeAlarm,
ACResetAlarm,
ACSynchronize,
ACSendReceive,
ACSendTo,
ACReply,
ACReplyAll,
ACForwardMsg,
ACSend,
ACAttachFile,
ACUpload,
ACDownloadSaveTargetAs,
ACSetBorders,
ACInsertRow,
ACInsertColumn,
ACInsertFile,
ACInsertPicture,
ACInsertObject,
ACInsertSymbol,
ACSaveandClose,
ACRename,
ACMerge,
ACSplit,
ACDisributeHorizontally,
ACDistributeVertically,
ACNextKeyboardLayoutSelect,
ACNavigationGuidance,
ACDesktopShowAllWindows,
ACSoftKeyLeft,
ACSoftKeyRight,
ACDesktopShowAllApplications,
ACIdleKeepAlive,
ExtendedKeyboardAttributesCollection,
KeyboardFormFactor,
KeyboardKeyType,
KeyboardPhysicalLayout,
VendorSpecificKeyboardPhysicalLayout,
KeyboardIETFLanguageTagIndex,
ImplementedKeyboardInputAssistControls,
KeyboardInputAssistPrevious,
KeyboardInputAssistNext,
KeyboardInputAssistPreviousGroup,
KeyboardInputAssistNextGroup,
KeyboardInputAssistAccept,
KeyboardInputAssistCancel,
PrivacyScreenToggle,
PrivacyScreenLevelDecrement,
PrivacyScreenLevelIncrement,
PrivacyScreenLevelMinimum,
PrivacyScreenLevelMaximum,
ContactEdited,
ContactAdded,
ContactRecordActive,
ContactIndex,
ContactNickname,
ContactFirstName,
ContactLastName,
ContactFullName,
ContactPhoneNumberPersonal,
ContactPhoneNumberBusiness,
ContactPhoneNumberMobile,
ContactPhoneNumberPager,
ContactPhoneNumberFax,
ContactPhoneNumberOther,
ContactEmailPersonal,
ContactEmailBusiness,
ContactEmailOther,
ContactEmailMain,
ContactSpeedDialNumber,
ContactStatusFlag,
ContactMisc,
}
Expand description
Usage Page 0xC
: “Consumer”
This enum is autogenerated from the HID Usage Tables.
let u1 = Usage::Consumer(Consumer::NumericKeyPad);
let u2 = Usage::new_from_page_and_id(0xC, 0x2).unwrap();
let u3 = Usage::from(Consumer::NumericKeyPad);
let u4: Usage = Consumer::NumericKeyPad.into();
assert_eq!(u1, u2);
assert_eq!(u1, u3);
assert_eq!(u1, u4);
assert!(matches!(u1.usage_page(), UsagePage::Consumer));
assert_eq!(0xC, u1.usage_page_value());
assert_eq!(0x2, u1.usage_id_value());
assert_eq!((0xC << 16) | 0x2, u1.usage_value());
assert_eq!("Numeric Key Pad", u1.name());
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ConsumerControl
Usage ID 0x1
: “Consumer Control”
NumericKeyPad
Usage ID 0x2
: “Numeric Key Pad”
ProgrammableButtons
Usage ID 0x3
: “Programmable Buttons”
Microphone
Usage ID 0x4
: “Microphone”
Headphone
Usage ID 0x5
: “Headphone”
GraphicEqualizer
Usage ID 0x6
: “Graphic Equalizer”
Plus10
Usage ID 0x20
: “+10”
Plus100
Usage ID 0x21
: “+100”
AMPM
Usage ID 0x22
: “AM/PM”
Power
Usage ID 0x30
: “Power”
Reset
Usage ID 0x31
: “Reset”
Sleep
Usage ID 0x32
: “Sleep”
SleepAfter
Usage ID 0x33
: “Sleep After”
SleepMode
Usage ID 0x34
: “Sleep Mode”
Illumination
Usage ID 0x35
: “Illumination”
FunctionButtons
Usage ID 0x36
: “Function Buttons”
Menu
Usage ID 0x40
: “Menu”
MenuPick
Usage ID 0x41
: “Menu Pick”
MenuUp
Usage ID 0x42
: “Menu Up”
MenuDown
Usage ID 0x43
: “Menu Down”
MenuLeft
Usage ID 0x44
: “Menu Left”
MenuRight
Usage ID 0x45
: “Menu Right”
MenuEscape
Usage ID 0x46
: “Menu Escape”
MenuValueIncrease
Usage ID 0x47
: “Menu Value Increase”
MenuValueDecrease
Usage ID 0x48
: “Menu Value Decrease”
DataOnScreen
Usage ID 0x60
: “Data On Screen”
ClosedCaption
Usage ID 0x61
: “Closed Caption”
ClosedCaptionSelect
Usage ID 0x62
: “Closed Caption Select”
VCRTV
Usage ID 0x63
: “VCR/TV”
BroadcastMode
Usage ID 0x64
: “Broadcast Mode”
Snapshot
Usage ID 0x65
: “Snapshot”
Still
Usage ID 0x66
: “Still”
PictureinPictureToggle
Usage ID 0x67
: “Picture-in-Picture Toggle”
PictureinPictureSwap
Usage ID 0x68
: “Picture-in-Picture Swap”
RedMenuButton
Usage ID 0x69
: “Red Menu Button”
GreenMenuButton
Usage ID 0x6A
: “Green Menu Button”
BlueMenuButton
Usage ID 0x6B
: “Blue Menu Button”
YellowMenuButton
Usage ID 0x6C
: “Yellow Menu Button”
Aspect
Usage ID 0x6D
: “Aspect”
ThreeDModeSelect
Usage ID 0x6E
: “3D Mode Select”
DisplayBrightnessIncrement
Usage ID 0x6F
: “Display Brightness Increment”
DisplayBrightnessDecrement
Usage ID 0x70
: “Display Brightness Decrement”
DisplayBrightness
Usage ID 0x71
: “Display Brightness”
DisplayBacklightToggle
Usage ID 0x72
: “Display Backlight Toggle”
DisplaySetBrightnesstoMinimum
Usage ID 0x73
: “Display Set Brightness to Minimum”
DisplaySetBrightnesstoMaximum
Usage ID 0x74
: “Display Set Brightness to Maximum”
DisplaySetAutoBrightness
Usage ID 0x75
: “Display Set Auto Brightness”
CameraAccessEnabled
Usage ID 0x76
: “Camera Access Enabled”
CameraAccessDisabled
Usage ID 0x77
: “Camera Access Disabled”
CameraAccessToggle
Usage ID 0x78
: “Camera Access Toggle”
KeyboardBrightnessIncrement
Usage ID 0x79
: “Keyboard Brightness Increment”
KeyboardBrightnessDecrement
Usage ID 0x7A
: “Keyboard Brightness Decrement”
KeyboardBacklightSetLevel
Usage ID 0x7B
: “Keyboard Backlight Set Level”
KeyboardBacklightOOC
Usage ID 0x7C
: “Keyboard Backlight OOC”
KeyboardBacklightSetMinimum
Usage ID 0x7D
: “Keyboard Backlight Set Minimum”
KeyboardBacklightSetMaximum
Usage ID 0x7E
: “Keyboard Backlight Set Maximum”
KeyboardBacklightAuto
Usage ID 0x7F
: “Keyboard Backlight Auto”
Selection
Usage ID 0x80
: “Selection”
AssignSelection
Usage ID 0x81
: “Assign Selection”
ModeStep
Usage ID 0x82
: “Mode Step”
RecallLast
Usage ID 0x83
: “Recall Last”
EnterChannel
Usage ID 0x84
: “Enter Channel”
OrderMovie
Usage ID 0x85
: “Order Movie”
Channel
Usage ID 0x86
: “Channel”
MediaSelection
Usage ID 0x87
: “Media Selection”
MediaSelectComputer
Usage ID 0x88
: “Media Select Computer”
MediaSelectTV
Usage ID 0x89
: “Media Select TV”
MediaSelectWWW
Usage ID 0x8A
: “Media Select WWW”
MediaSelectDVD
Usage ID 0x8B
: “Media Select DVD”
MediaSelectTelephone
Usage ID 0x8C
: “Media Select Telephone”
MediaSelectProgramGuide
Usage ID 0x8D
: “Media Select Program Guide”
MediaSelectVideoPhone
Usage ID 0x8E
: “Media Select Video Phone”
MediaSelectGames
Usage ID 0x8F
: “Media Select Games”
MediaSelectMessages
Usage ID 0x90
: “Media Select Messages”
MediaSelectCD
Usage ID 0x91
: “Media Select CD”
MediaSelectVCR
Usage ID 0x92
: “Media Select VCR”
MediaSelectTuner
Usage ID 0x93
: “Media Select Tuner”
Quit
Usage ID 0x94
: “Quit”
Help
Usage ID 0x95
: “Help”
MediaSelectTape
Usage ID 0x96
: “Media Select Tape”
MediaSelectCable
Usage ID 0x97
: “Media Select Cable”
MediaSelectSatellite
Usage ID 0x98
: “Media Select Satellite”
MediaSelectSecurity
Usage ID 0x99
: “Media Select Security”
MediaSelectHome
Usage ID 0x9A
: “Media Select Home”
MediaSelectCall
Usage ID 0x9B
: “Media Select Call”
ChannelIncrement
Usage ID 0x9C
: “Channel Increment”
ChannelDecrement
Usage ID 0x9D
: “Channel Decrement”
MediaSelectSAP
Usage ID 0x9E
: “Media Select SAP”
VCRPlus
Usage ID 0xA0
: “VCR Plus”
Once
Usage ID 0xA1
: “Once”
Daily
Usage ID 0xA2
: “Daily”
Weekly
Usage ID 0xA3
: “Weekly”
Monthly
Usage ID 0xA4
: “Monthly”
Play
Usage ID 0xB0
: “Play”
Pause
Usage ID 0xB1
: “Pause”
Record
Usage ID 0xB2
: “Record”
FastForward
Usage ID 0xB3
: “Fast Forward”
Rewind
Usage ID 0xB4
: “Rewind”
ScanNextTrack
Usage ID 0xB5
: “Scan Next Track”
ScanPreviousTrack
Usage ID 0xB6
: “Scan Previous Track”
Stop
Usage ID 0xB7
: “Stop”
Eject
Usage ID 0xB8
: “Eject”
RandomPlay
Usage ID 0xB9
: “Random Play”
SelectDisc
Usage ID 0xBA
: “Select Disc”
EnterDisc
Usage ID 0xBB
: “Enter Disc”
Repeat
Usage ID 0xBC
: “Repeat”
Tracking
Usage ID 0xBD
: “Tracking”
TrackNormal
Usage ID 0xBE
: “Track Normal”
SlowTracking
Usage ID 0xBF
: “Slow Tracking”
FrameForward
Usage ID 0xC0
: “Frame Forward”
FrameBack
Usage ID 0xC1
: “Frame Back”
Mark
Usage ID 0xC2
: “Mark”
ClearMark
Usage ID 0xC3
: “Clear Mark”
RepeatFromMark
Usage ID 0xC4
: “Repeat From Mark”
ReturnToMark
Usage ID 0xC5
: “Return To Mark”
SearchMarkForward
Usage ID 0xC6
: “Search Mark Forward”
SearchMarkBackwards
Usage ID 0xC7
: “Search Mark Backwards”
CounterReset
Usage ID 0xC8
: “Counter Reset”
ShowCounter
Usage ID 0xC9
: “Show Counter”
TrackingIncrement
Usage ID 0xCA
: “Tracking Increment”
TrackingDecrement
Usage ID 0xCB
: “Tracking Decrement”
StopEject
Usage ID 0xCC
: “Stop/Eject”
PlayPause
Usage ID 0xCD
: “Play/Pause”
PlaySkip
Usage ID 0xCE
: “Play/Skip”
VoiceCommand
Usage ID 0xCF
: “Voice Command”
InvokeCaptureInterface
Usage ID 0xD0
: “Invoke Capture Interface”
StartorStopGameRecording
Usage ID 0xD1
: “Start or Stop Game Recording”
HistoricalGameCapture
Usage ID 0xD2
: “Historical Game Capture”
CaptureGameScreenshot
Usage ID 0xD3
: “Capture Game Screenshot”
ShoworHideRecordingIndicator
Usage ID 0xD4
: “Show or Hide Recording Indicator”
StartorStopMicrophoneCapture
Usage ID 0xD5
: “Start or Stop Microphone Capture”
StartorStopCameraCapture
Usage ID 0xD6
: “Start or Stop Camera Capture”
StartorStopGameBroadcast
Usage ID 0xD7
: “Start or Stop Game Broadcast”
StartorStopVoiceDictationSession
Usage ID 0xD8
: “Start or Stop Voice Dictation Session”
InvokeDismissEmojiPicker
Usage ID 0xD9
: “Invoke/Dismiss Emoji Picker”
Volume
Usage ID 0xE0
: “Volume”
Balance
Usage ID 0xE1
: “Balance”
Mute
Usage ID 0xE2
: “Mute”
Bass
Usage ID 0xE3
: “Bass”
Treble
Usage ID 0xE4
: “Treble”
BassBoost
Usage ID 0xE5
: “Bass Boost”
SurroundMode
Usage ID 0xE6
: “Surround Mode”
Loudness
Usage ID 0xE7
: “Loudness”
MPX
Usage ID 0xE8
: “MPX”
VolumeIncrement
Usage ID 0xE9
: “Volume Increment”
VolumeDecrement
Usage ID 0xEA
: “Volume Decrement”
SpeedSelect
Usage ID 0xF0
: “Speed Select”
PlaybackSpeed
Usage ID 0xF1
: “Playback Speed”
StandardPlay
Usage ID 0xF2
: “Standard Play”
LongPlay
Usage ID 0xF3
: “Long Play”
ExtendedPlay
Usage ID 0xF4
: “Extended Play”
Slow
Usage ID 0xF5
: “Slow”
FanEnable
Usage ID 0x100
: “Fan Enable”
FanSpeed
Usage ID 0x101
: “Fan Speed”
LightEnable
Usage ID 0x102
: “Light Enable”
LightIlluminationLevel
Usage ID 0x103
: “Light Illumination Level”
ClimateControlEnable
Usage ID 0x104
: “Climate Control Enable”
RoomTemperature
Usage ID 0x105
: “Room Temperature”
SecurityEnable
Usage ID 0x106
: “Security Enable”
FireAlarm
Usage ID 0x107
: “Fire Alarm”
PoliceAlarm
Usage ID 0x108
: “Police Alarm”
Proximity
Usage ID 0x109
: “Proximity”
Motion
Usage ID 0x10A
: “Motion”
DuressAlarm
Usage ID 0x10B
: “Duress Alarm”
HoldupAlarm
Usage ID 0x10C
: “Holdup Alarm”
MedicalAlarm
Usage ID 0x10D
: “Medical Alarm”
BalanceRight
Usage ID 0x150
: “Balance Right”
BalanceLeft
Usage ID 0x151
: “Balance Left”
BassIncrement
Usage ID 0x152
: “Bass Increment”
BassDecrement
Usage ID 0x153
: “Bass Decrement”
TrebleIncrement
Usage ID 0x154
: “Treble Increment”
TrebleDecrement
Usage ID 0x155
: “Treble Decrement”
SpeakerSystem
Usage ID 0x160
: “Speaker System”
ChannelLeft
Usage ID 0x161
: “Channel Left”
ChannelRight
Usage ID 0x162
: “Channel Right”
ChannelCenter
Usage ID 0x163
: “Channel Center”
ChannelFront
Usage ID 0x164
: “Channel Front”
ChannelCenterFront
Usage ID 0x165
: “Channel Center Front”
ChannelSide
Usage ID 0x166
: “Channel Side”
ChannelSurround
Usage ID 0x167
: “Channel Surround”
ChannelLowFrequencyEnhancement
Usage ID 0x168
: “Channel Low Frequency Enhancement”
ChannelTop
Usage ID 0x169
: “Channel Top”
ChannelUnknown
Usage ID 0x16A
: “Channel Unknown”
Subchannel
Usage ID 0x170
: “Sub-channel”
SubchannelIncrement
Usage ID 0x171
: “Sub-channel Increment”
SubchannelDecrement
Usage ID 0x172
: “Sub-channel Decrement”
AlternateAudioIncrement
Usage ID 0x173
: “Alternate Audio Increment”
AlternateAudioDecrement
Usage ID 0x174
: “Alternate Audio Decrement”
ApplicationLaunchButtons
Usage ID 0x180
: “Application Launch Buttons”
ALLaunchButtonConfigurationTool
Usage ID 0x181
: “AL Launch Button Configuration Tool”
ALProgrammableButtonConfiguration
Usage ID 0x182
: “AL Programmable Button Configuration”
ALConsumerControlConfiguration
Usage ID 0x183
: “AL Consumer Control Configuration”
ALWordProcessor
Usage ID 0x184
: “AL Word Processor”
ALTextEditor
Usage ID 0x185
: “AL Text Editor”
ALSpreadsheet
Usage ID 0x186
: “AL Spreadsheet”
ALGraphicsEditor
Usage ID 0x187
: “AL Graphics Editor”
ALPresentationApp
Usage ID 0x188
: “AL Presentation App”
ALDatabaseApp
Usage ID 0x189
: “AL Database App”
ALEmailReader
Usage ID 0x18A
: “AL Email Reader”
ALNewsreader
Usage ID 0x18B
: “AL Newsreader”
ALVoicemail
Usage ID 0x18C
: “AL Voicemail”
ALContactsAddressBook
Usage ID 0x18D
: “AL Contacts/Address Book”
ALCalendarSchedule
Usage ID 0x18E
: “AL Calendar/Schedule”
ALTaskProjectManager
Usage ID 0x18F
: “AL Task/Project Manager”
ALLogJournalTimecard
Usage ID 0x190
: “AL Log/Journal/Timecard”
ALCheckbookFinance
Usage ID 0x191
: “AL Checkbook/Finance”
ALCalculator
Usage ID 0x192
: “AL Calculator”
ALAVCapturePlayback
Usage ID 0x193
: “AL A/V Capture/Playback”
ALLocalMachineBrowser
Usage ID 0x194
: “AL Local Machine Browser”
ALLANWANBrowser
Usage ID 0x195
: “AL LAN/WAN Browser”
ALInternetBrowser
Usage ID 0x196
: “AL Internet Browser”
ALRemoteNetworkingISPConnect
Usage ID 0x197
: “AL Remote Networking/ISP Connect”
ALNetworkConference
Usage ID 0x198
: “AL Network Conference”
ALNetworkChat
Usage ID 0x199
: “AL Network Chat”
ALTelephonyDialer
Usage ID 0x19A
: “AL Telephony/Dialer”
ALLogon
Usage ID 0x19B
: “AL Logon”
ALLogoff
Usage ID 0x19C
: “AL Logoff”
ALLogonLogoff
Usage ID 0x19D
: “AL Logon/Logoff”
ALTerminalLockScreensaver
Usage ID 0x19E
: “AL Terminal Lock/Screensaver”
ALControlPanel
Usage ID 0x19F
: “AL Control Panel”
ALCommandLineProcessorRun
Usage ID 0x1A0
: “AL Command Line Processor/Run”
ALProcessTaskManager
Usage ID 0x1A1
: “AL Process/Task Manager”
ALSelectTaskApplication
Usage ID 0x1A2
: “AL Select Task/Application”
ALNextTaskApplication
Usage ID 0x1A3
: “AL Next Task/Application”
ALPreviousTaskApplication
Usage ID 0x1A4
: “AL Previous Task/Application”
ALPreemptiveHaltTaskApplication
Usage ID 0x1A5
: “AL Preemptive Halt Task/Application”
ALIntegratedHelpCenter
Usage ID 0x1A6
: “AL Integrated Help Center”
ALDocuments
Usage ID 0x1A7
: “AL Documents”
ALThesaurus
Usage ID 0x1A8
: “AL Thesaurus”
ALDictionary
Usage ID 0x1A9
: “AL Dictionary”
ALDesktop
Usage ID 0x1AA
: “AL Desktop”
ALSpellCheck
Usage ID 0x1AB
: “AL Spell Check”
ALGrammarCheck
Usage ID 0x1AC
: “AL Grammar Check”
ALWirelessStatus
Usage ID 0x1AD
: “AL Wireless Status”
ALKeyboardLayout
Usage ID 0x1AE
: “AL Keyboard Layout”
ALVirusProtection
Usage ID 0x1AF
: “AL Virus Protection”
ALEncryption
Usage ID 0x1B0
: “AL Encryption”
ALScreenSaver
Usage ID 0x1B1
: “AL Screen Saver”
ALAlarms
Usage ID 0x1B2
: “AL Alarms”
ALClock
Usage ID 0x1B3
: “AL Clock”
ALFileBrowser
Usage ID 0x1B4
: “AL File Browser”
ALPowerStatus
Usage ID 0x1B5
: “AL Power Status”
ALImageBrowser
Usage ID 0x1B6
: “AL Image Browser”
ALAudioBrowser
Usage ID 0x1B7
: “AL Audio Browser”
ALMovieBrowser
Usage ID 0x1B8
: “AL Movie Browser”
ALDigitalRightsManager
Usage ID 0x1B9
: “AL Digital Rights Manager”
ALDigitalWallet
Usage ID 0x1BA
: “AL Digital Wallet”
ALInstantMessaging
Usage ID 0x1BC
: “AL Instant Messaging”
ALOEMFeaturesTipsTutorialBrowser
Usage ID 0x1BD
: “AL OEM Features/ Tips/Tutorial Browser”
ALOEMHelp
Usage ID 0x1BE
: “AL OEM Help”
ALOnlineCommunity
Usage ID 0x1BF
: “AL Online Community”
ALEntertainmentContentBrowser
Usage ID 0x1C0
: “AL Entertainment Content Browser”
ALOnlineShoppingBrowser
Usage ID 0x1C1
: “AL Online Shopping Browser”
ALSmartCardInformationHelp
Usage ID 0x1C2
: “AL SmartCard Information/Help”
ALMarketMonitorFinanceBrowser
Usage ID 0x1C3
: “AL Market Monitor/Finance Browser”
ALCustomizedCorporateNewsBrowser
Usage ID 0x1C4
: “AL Customized Corporate News Browser”
ALOnlineActivityBrowser
Usage ID 0x1C5
: “AL Online Activity Browser”
ALResearchSearchBrowser
Usage ID 0x1C6
: “AL Research/Search Browser”
ALAudioPlayer
Usage ID 0x1C7
: “AL Audio Player”
ALMessageStatus
Usage ID 0x1C8
: “AL Message Status”
ALContactSync
Usage ID 0x1C9
: “AL Contact Sync”
Usage ID 0x1CA
: “AL Navigation”
ALContextawareDesktopAssistant
Usage ID 0x1CB
: “AL Context‐aware Desktop Assistant”
GenericGUIApplicationControls
Usage ID 0x200
: “Generic GUI Application Controls”
ACNew
Usage ID 0x201
: “AC New”
ACOpen
Usage ID 0x202
: “AC Open”
ACClose
Usage ID 0x203
: “AC Close”
ACExit
Usage ID 0x204
: “AC Exit”
ACMaximize
Usage ID 0x205
: “AC Maximize”
ACMinimize
Usage ID 0x206
: “AC Minimize”
ACSave
Usage ID 0x207
: “AC Save”
ACPrint
Usage ID 0x208
: “AC Print”
ACProperties
Usage ID 0x209
: “AC Properties”
ACUndo
Usage ID 0x21A
: “AC Undo”
ACCopy
Usage ID 0x21B
: “AC Copy”
ACCut
Usage ID 0x21C
: “AC Cut”
ACPaste
Usage ID 0x21D
: “AC Paste”
ACSelectAll
Usage ID 0x21E
: “AC Select All”
ACFind
Usage ID 0x21F
: “AC Find”
ACFindandReplace
Usage ID 0x220
: “AC Find and Replace”
ACSearch
Usage ID 0x221
: “AC Search”
ACGoTo
Usage ID 0x222
: “AC Go To”
ACHome
Usage ID 0x223
: “AC Home”
ACBack
Usage ID 0x224
: “AC Back”
ACForward
Usage ID 0x225
: “AC Forward”
ACStop
Usage ID 0x226
: “AC Stop”
ACRefresh
Usage ID 0x227
: “AC Refresh”
ACPreviousLink
Usage ID 0x228
: “AC Previous Link”
ACNextLink
Usage ID 0x229
: “AC Next Link”
ACBookmarks
Usage ID 0x22A
: “AC Bookmarks”
ACHistory
Usage ID 0x22B
: “AC History”
ACSubscriptions
Usage ID 0x22C
: “AC Subscriptions”
ACZoomIn
Usage ID 0x22D
: “AC Zoom In”
ACZoomOut
Usage ID 0x22E
: “AC Zoom Out”
ACZoom
Usage ID 0x22F
: “AC Zoom”
ACFullScreenView
Usage ID 0x230
: “AC Full Screen View”
ACNormalView
Usage ID 0x231
: “AC Normal View”
ACViewToggle
Usage ID 0x232
: “AC View Toggle”
ACScrollUp
Usage ID 0x233
: “AC Scroll Up”
ACScrollDown
Usage ID 0x234
: “AC Scroll Down”
ACScroll
Usage ID 0x235
: “AC Scroll”
ACPanLeft
Usage ID 0x236
: “AC Pan Left”
ACPanRight
Usage ID 0x237
: “AC Pan Right”
ACPan
Usage ID 0x238
: “AC Pan”
ACNewWindow
Usage ID 0x239
: “AC New Window”
ACTileHorizontally
Usage ID 0x23A
: “AC Tile Horizontally”
ACTileVertically
Usage ID 0x23B
: “AC Tile Vertically”
ACFormat
Usage ID 0x23C
: “AC Format”
ACEdit
Usage ID 0x23D
: “AC Edit”
ACBold
Usage ID 0x23E
: “AC Bold”
ACItalics
Usage ID 0x23F
: “AC Italics”
ACUnderline
Usage ID 0x240
: “AC Underline”
ACStrikethrough
Usage ID 0x241
: “AC Strikethrough”
ACSubscript
Usage ID 0x242
: “AC Subscript”
ACSuperscript
Usage ID 0x243
: “AC Superscript”
ACAllCaps
Usage ID 0x244
: “AC All Caps”
ACRotate
Usage ID 0x245
: “AC Rotate”
ACResize
Usage ID 0x246
: “AC Resize”
ACFlipHorizontal
Usage ID 0x247
: “AC Flip Horizontal”
ACFlipVertical
Usage ID 0x248
: “AC Flip Vertical”
ACMirrorHorizontal
Usage ID 0x249
: “AC Mirror Horizontal”
ACMirrorVertical
Usage ID 0x24A
: “AC Mirror Vertical”
ACFontSelect
Usage ID 0x24B
: “AC Font Select”
ACFontColor
Usage ID 0x24C
: “AC Font Color”
ACFontSize
Usage ID 0x24D
: “AC Font Size”
ACJustifyLeft
Usage ID 0x24E
: “AC Justify Left”
ACJustifyCenterH
Usage ID 0x24F
: “AC Justify Center H”
ACJustifyRight
Usage ID 0x250
: “AC Justify Right”
ACJustifyBlockH
Usage ID 0x251
: “AC Justify Block H”
ACJustifyTop
Usage ID 0x252
: “AC Justify Top”
ACJustifyCenterV
Usage ID 0x253
: “AC Justify Center V”
ACJustifyBottom
Usage ID 0x254
: “AC Justify Bottom”
ACJustifyBlockV
Usage ID 0x255
: “AC Justify Block V”
ACIndentDecrease
Usage ID 0x256
: “AC Indent Decrease”
ACIndentIncrease
Usage ID 0x257
: “AC Indent Increase”
ACNumberedList
Usage ID 0x258
: “AC Numbered List”
ACRestartNumbering
Usage ID 0x259
: “AC Restart Numbering”
ACBulletedList
Usage ID 0x25A
: “AC Bulleted List”
ACPromote
Usage ID 0x25B
: “AC Promote”
ACDemote
Usage ID 0x25C
: “AC Demote”
ACYes
Usage ID 0x25D
: “AC Yes”
ACNo
Usage ID 0x25E
: “AC No”
ACCancel
Usage ID 0x25F
: “AC Cancel”
ACCatalog
Usage ID 0x260
: “AC Catalog”
ACBuyCheckout
Usage ID 0x261
: “AC Buy/Checkout”
ACAddtoCart
Usage ID 0x262
: “AC Add to Cart”
ACExpand
Usage ID 0x263
: “AC Expand”
ACExpandAll
Usage ID 0x264
: “AC Expand All”
ACCollapse
Usage ID 0x265
: “AC Collapse”
ACCollapseAll
Usage ID 0x266
: “AC Collapse All”
ACPrintPreview
Usage ID 0x267
: “AC Print Preview”
ACPasteSpecial
Usage ID 0x268
: “AC Paste Special”
ACInsertMode
Usage ID 0x269
: “AC Insert Mode”
ACDelete
Usage ID 0x26A
: “AC Delete”
ACLock
Usage ID 0x26B
: “AC Lock”
ACUnlock
Usage ID 0x26C
: “AC Unlock”
ACProtect
Usage ID 0x26D
: “AC Protect”
ACUnprotect
Usage ID 0x26E
: “AC Unprotect”
ACAttachComment
Usage ID 0x26F
: “AC Attach Comment”
ACDeleteComment
Usage ID 0x270
: “AC Delete Comment”
ACViewComment
Usage ID 0x271
: “AC View Comment”
ACSelectWord
Usage ID 0x272
: “AC Select Word”
ACSelectSentence
Usage ID 0x273
: “AC Select Sentence”
ACSelectParagraph
Usage ID 0x274
: “AC Select Paragraph”
ACSelectColumn
Usage ID 0x275
: “AC Select Column”
ACSelectRow
Usage ID 0x276
: “AC Select Row”
ACSelectTable
Usage ID 0x277
: “AC Select Table”
ACSelectObject
Usage ID 0x278
: “AC Select Object”
ACRedoRepeat
Usage ID 0x279
: “AC Redo/Repeat”
ACSort
Usage ID 0x27A
: “AC Sort”
ACSortAscending
Usage ID 0x27B
: “AC Sort Ascending”
ACSortDescending
Usage ID 0x27C
: “AC Sort Descending”
ACFilter
Usage ID 0x27D
: “AC Filter”
ACSetClock
Usage ID 0x27E
: “AC Set Clock”
ACViewClock
Usage ID 0x27F
: “AC View Clock”
ACSelectTimeZone
Usage ID 0x280
: “AC Select Time Zone”
ACEditTimeZones
Usage ID 0x281
: “AC Edit Time Zones”
ACSetAlarm
Usage ID 0x282
: “AC Set Alarm”
ACClearAlarm
Usage ID 0x283
: “AC Clear Alarm”
ACSnoozeAlarm
Usage ID 0x284
: “AC Snooze Alarm”
ACResetAlarm
Usage ID 0x285
: “AC Reset Alarm”
ACSynchronize
Usage ID 0x286
: “AC Synchronize”
ACSendReceive
Usage ID 0x287
: “AC Send/Receive”
ACSendTo
Usage ID 0x288
: “AC Send To”
ACReply
Usage ID 0x289
: “AC Reply”
ACReplyAll
Usage ID 0x28A
: “AC Reply All”
ACForwardMsg
Usage ID 0x28B
: “AC Forward Msg”
ACSend
Usage ID 0x28C
: “AC Send”
ACAttachFile
Usage ID 0x28D
: “AC Attach File”
ACUpload
Usage ID 0x28E
: “AC Upload”
ACDownloadSaveTargetAs
Usage ID 0x28F
: “AC Download (Save Target As)”
ACSetBorders
Usage ID 0x290
: “AC Set Borders”
ACInsertRow
Usage ID 0x291
: “AC Insert Row”
ACInsertColumn
Usage ID 0x292
: “AC Insert Column”
ACInsertFile
Usage ID 0x293
: “AC Insert File”
ACInsertPicture
Usage ID 0x294
: “AC Insert Picture”
ACInsertObject
Usage ID 0x295
: “AC Insert Object”
ACInsertSymbol
Usage ID 0x296
: “AC Insert Symbol”
ACSaveandClose
Usage ID 0x297
: “AC Save and Close”
ACRename
Usage ID 0x298
: “AC Rename”
ACMerge
Usage ID 0x299
: “AC Merge”
ACSplit
Usage ID 0x29A
: “AC Split”
ACDisributeHorizontally
Usage ID 0x29B
: “AC Disribute Horizontally”
ACDistributeVertically
Usage ID 0x29C
: “AC Distribute Vertically”
ACNextKeyboardLayoutSelect
Usage ID 0x29D
: “AC Next Keyboard Layout Select”
Usage ID 0x29E
: “AC Navigation Guidance”
ACDesktopShowAllWindows
Usage ID 0x29F
: “AC Desktop Show All Windows”
ACSoftKeyLeft
Usage ID 0x2A0
: “AC Soft Key Left”
ACSoftKeyRight
Usage ID 0x2A1
: “AC Soft Key Right”
ACDesktopShowAllApplications
Usage ID 0x2A2
: “AC Desktop Show All Applications”
ACIdleKeepAlive
Usage ID 0x2B0
: “AC Idle Keep Alive”
ExtendedKeyboardAttributesCollection
Usage ID 0x2C0
: “Extended Keyboard Attributes Collection”
KeyboardFormFactor
Usage ID 0x2C1
: “Keyboard Form Factor”
KeyboardKeyType
Usage ID 0x2C2
: “Keyboard Key Type”
KeyboardPhysicalLayout
Usage ID 0x2C3
: “Keyboard Physical Layout”
VendorSpecificKeyboardPhysicalLayout
Usage ID 0x2C4
: “Vendor‐Specific Keyboard Physical Layout”
KeyboardIETFLanguageTagIndex
Usage ID 0x2C5
: “Keyboard IETF Language Tag Index”
ImplementedKeyboardInputAssistControls
Usage ID 0x2C6
: “Implemented Keyboard Input Assist Controls”
KeyboardInputAssistPrevious
Usage ID 0x2C7
: “Keyboard Input Assist Previous”
KeyboardInputAssistNext
Usage ID 0x2C8
: “Keyboard Input Assist Next”
KeyboardInputAssistPreviousGroup
Usage ID 0x2C9
: “Keyboard Input Assist Previous Group”
KeyboardInputAssistNextGroup
Usage ID 0x2CA
: “Keyboard Input Assist Next Group”
KeyboardInputAssistAccept
Usage ID 0x2CB
: “Keyboard Input Assist Accept”
KeyboardInputAssistCancel
Usage ID 0x2CC
: “Keyboard Input Assist Cancel”
PrivacyScreenToggle
Usage ID 0x2D0
: “Privacy Screen Toggle”
PrivacyScreenLevelDecrement
Usage ID 0x2D1
: “Privacy Screen Level Decrement”
PrivacyScreenLevelIncrement
Usage ID 0x2D2
: “Privacy Screen Level Increment”
PrivacyScreenLevelMinimum
Usage ID 0x2D3
: “Privacy Screen Level Minimum”
PrivacyScreenLevelMaximum
Usage ID 0x2D4
: “Privacy Screen Level Maximum”
ContactEdited
Usage ID 0x500
: “Contact Edited”
ContactAdded
Usage ID 0x501
: “Contact Added”
ContactRecordActive
Usage ID 0x502
: “Contact Record Active”
ContactIndex
Usage ID 0x503
: “Contact Index”
ContactNickname
Usage ID 0x504
: “Contact Nickname”
ContactFirstName
Usage ID 0x505
: “Contact First Name”
ContactLastName
Usage ID 0x506
: “Contact Last Name”
ContactFullName
Usage ID 0x507
: “Contact Full Name”
ContactPhoneNumberPersonal
Usage ID 0x508
: “Contact Phone Number Personal”
ContactPhoneNumberBusiness
Usage ID 0x509
: “Contact Phone Number Business”
ContactPhoneNumberMobile
Usage ID 0x50A
: “Contact Phone Number Mobile”
ContactPhoneNumberPager
Usage ID 0x50B
: “Contact Phone Number Pager”
ContactPhoneNumberFax
Usage ID 0x50C
: “Contact Phone Number Fax”
ContactPhoneNumberOther
Usage ID 0x50D
: “Contact Phone Number Other”
ContactEmailPersonal
Usage ID 0x50E
: “Contact Email Personal”
ContactEmailBusiness
Usage ID 0x50F
: “Contact Email Business”
ContactEmailOther
Usage ID 0x510
: “Contact Email Other”
ContactEmailMain
Usage ID 0x511
: “Contact Email Main”
ContactSpeedDialNumber
Usage ID 0x512
: “Contact Speed Dial Number”
ContactStatusFlag
Usage ID 0x513
: “Contact Status Flag”
ContactMisc
Usage ID 0x514
: “Contact Misc.”
Implementations§
Trait Implementations§
Source§impl AsUsage for Consumer
impl AsUsage for Consumer
Source§fn usage_value(&self) -> u32
fn usage_value(&self) -> u32
Returns the 32 bit Usage value of this Usage
Source§fn usage_id_value(&self) -> u16
fn usage_id_value(&self) -> u16
Returns the 16 bit Usage ID value of this Usage
Source§fn usage(&self) -> Usage
fn usage(&self) -> Usage
Returns this usage as Usage::Consumer(self)
This is a convenience function to avoid having
to implement From
for every used type in the caller.
let gd_x = GenericDesktop::X;
let usage = Usage::from(GenericDesktop::X);
assert!(matches!(gd_x.usage(), usage));
Source§impl AsUsagePage for Consumer
impl AsUsagePage for Consumer
Source§fn usage_page_value(&self) -> u16
fn usage_page_value(&self) -> u16
Returns the 16 bit value of this UsagePage
This value is 0xC
for Consumer
Source§fn usage_page(&self) -> UsagePage
fn usage_page(&self) -> UsagePage
Returns UsagePage::Consumer]
Source§impl BitOr<u16> for Consumer
impl BitOr<u16> for Consumer
Source§impl From<&Consumer> for UsagePage
impl From<&Consumer> for UsagePage
Source§fn from(_: &Consumer) -> UsagePage
fn from(_: &Consumer) -> UsagePage
Always returns UsagePage::Consumer and is identical to Consumer::usage_page().
Source§impl From<Consumer> for UsagePage
impl From<Consumer> for UsagePage
Source§fn from(_: Consumer) -> UsagePage
fn from(_: Consumer) -> UsagePage
Always returns UsagePage::Consumer and is identical to Consumer::usage_page().