Skip to main content

ConsumerControl

Enum ConsumerControl 

Source
#[repr(u16)]
pub enum ConsumerControl {
Show 333 variants _10 = 32, _100 = 33, AMPM = 34, Power = 48, Reset = 49, Sleep = 50, SleepAfter = 51, SleepMode = 52, Illumination = 53, Menu = 64, MenuPick = 65, MenuUp = 66, MenuDown = 67, MenuLeft = 68, MenuRight = 69, MenuEscape = 70, MenuValueIncrease = 71, MenuValueDecrease = 72, DataOnScreen = 96, ClosedCaption = 97, ClosedCaptionSelect = 98, VCRTV = 99, BroadcastMode = 100, Snapshot = 101, Still = 102, BrightnessIncrement = 111, BrightnessDecrement = 112, BacklightToggle = 114, BrightnessMin = 115, BrightnessMax = 116, BrightnessAuto = 117, AssignSelection = 129, ModeStep = 130, RecallLast = 131, EnterChannel = 132, OrderMovie = 133, MediaComputer = 136, MediaTV = 137, MediaWWW = 138, MediaDVD = 139, MediaTelephone = 140, MediaProgramGuide = 141, MediaVideoPhone = 142, MediaSelectGames = 143, MediaSelectMessages = 144, MediaSelectCD = 145, MediaSelectVCR = 146, MediaSelectTuner = 147, Quit = 148, Help = 149, MediaSelectTape = 150, MediaSelectCable = 151, MediaSelectSatellite = 152, MediaSelectSecurity = 153, MediaSelectHome = 154, MediaSelectCall = 155, ChannelIncrement = 156, CahnnelDecrement = 157, MediaSelectSAP = 158, VCRPlus = 160, Once = 161, Daily = 162, Weekly = 163, Monthly = 164, Play = 176, Pause = 177, Record = 178, FastForward = 179, Rewind = 180, ScanNextTrack = 181, ScanPreviousTrack = 182, Stop = 183, Eject = 184, RandomPlay = 185, Repeat = 188, TrackNormal = 190, FrameForward = 192, FrameBack = 193, Mark = 194, ClearMark = 195, RepeatFromMark = 196, ReturnToMark = 197, SearchMarkForwards = 198, SearchMarkBackwards = 199, CounterReset = 200, ShowCounter = 201, TrackingIncrement = 202, TrackingDecrement = 203, StopEject = 204, PausePlay = 205, PlaySkip = 206, Mute = 226, BassBoost = 229, SurroundMode = 230, Loudness = 231, Mpx = 232, VolumeUp = 233, VolumeDown = 234, SpeedSelect = 240, StandardPlay = 242, LongPlay = 243, ExtendedPlay = 244, Slow = 245, FanEnable = 256, LightEnable = 258, ClimateControlEnable = 260, SecurityEnable = 262, FireAlarm = 263, Motion = 266, DuressAlarm = 267, HoldupAlarm = 268, MedicalAlarm = 269, BalanceRight = 336, BalanceLeft = 337, BassIncrement = 338, BassDecrement = 339, TrebleIncrement = 340, TrebleDecrement = 341, SubChannelIncrement = 369, SubChannelDecrement = 370, AltAudioIncrement = 371, AltAudioDecrement = 372, LaunchButtonConfigTool = 385, ProgrammableButtonConfig = 386, ConsumerControlConfig = 387, WordProcessor = 388, TextEditor = 389, Spreadsheet = 390, GraphicsEditor = 391, PresentationApp = 392, DatabaseApp = 393, EmailReader = 394, Newsreader = 395, Voicemail = 396, ContactsAddressBook = 397, CalendarSchedule = 398, TaskProjectManager = 399, LogJournalTimecard = 400, CheckbookFinance = 401, Calculator = 402, AVCapturePlayback = 403, LocalMachineBrowser = 404, LANWANBrowser = 405, InternetBrowser = 406, RemoteNetworkingISPConnect = 407, NetworkConference = 408, NetworkChat = 409, TelephonyDialer = 410, Logon = 411, Logoff = 412, LogonLogoff = 413, TerminalLockScreensaver = 414, ControlPanel = 415, CommandLineProcessorRun = 416, ProcessTaskManager = 417, SelectTastApplication = 418, NextTaskApplication = 419, PreviousTaskApplication = 420, PreemptiveHaltTaskApplication = 421, IntegratedHelpCenter = 422, Documents = 423, Thesaurus = 424, Dictionary = 425, Desktop = 426, SpellCheck = 427, GrammarCheck = 428, WirelessStatus = 429, KeyboardLayout = 430, VirusProtection = 431, Encryption = 432, ScreenSaver = 433, Alarms = 434, Clock = 435, FileBrowser = 436, PowerStatus = 437, ImageBrowser = 438, AudioBrowser = 439, MovieBrowser = 440, DigitalRightsManager = 441, DigitalWallet = 442, InstantMessaging = 444, OEMFeaturesTipsTutorial = 445, OEMHelp = 446, OnlineCommunity = 447, EntertainmentContent = 448, OnlineShopping = 449, SmartcardInfoHelp = 450, MarketMonitor = 451, CustomizedCorpNews = 452, OnlineActivity = 453, SearchBrowser = 454, AudioPlayer = 455, New = 513, Open = 514, Close = 515, Exit = 516, Maximize = 517, Minimize = 518, Save = 519, Print = 520, Properties = 521, Undo = 538, Copy = 539, Cut = 540, Paste = 541, SelectAll = 542, Find = 543, FindAndReplace = 544, Search = 545, GoTo = 546, Home = 547, Back = 548, Forward = 549, StopWeb = 550, Refresh = 551, PreviousLink = 552, NextLink = 553, Bookmarks = 554, History = 555, Subscriptions = 556, ZoomIn = 557, ZoomOut = 558, Zoom = 559, FullScreenView = 560, NormalView = 561, ViewToggle = 562, ScrollUp = 563, ScrollDown = 564, Scroll = 565, PanLeft = 566, PanRight = 567, Pan = 568, NewWindow = 569, TileHorizontally = 570, TileVertically = 571, Format = 572, Edit = 573, Bold = 574, Italics = 575, Underline = 576, Strikethrough = 577, Subscript = 578, Superscript = 579, AllCaps = 580, Rotate = 581, Resize = 582, FilpHorizontal = 583, FilpVertical = 584, MirrorHorizontal = 585, MirrorVertical = 586, FontSelect = 587, FontColor = 588, FontSize = 589, JustifyLeft = 590, JustifyCenterH = 591, JustifyRight = 592, JustifyBlockH = 593, JustifyTop = 594, JustifyCenterV = 595, JustifyBottom = 596, JustifyBlockV = 597, IndentDecrease = 598, IndentIncrease = 599, NumberedList = 600, RestartNumbering = 601, BulletedList = 602, Promote = 603, Demote = 604, Yes = 605, No = 606, Cancel = 607, Catalog = 608, BuyCheckout = 609, AddToCart = 610, Expand = 611, ExpandAll = 612, Collapse = 613, CollapseAll = 614, PrintPreview = 615, PasteSpecial = 616, InsertMode = 617, Delete = 618, Lock = 619, Unlock = 620, Protect = 621, Unprotect = 622, AttachComment = 623, DeleteComment = 624, ViewComment = 625, SelectWord = 626, SelectSentence = 627, SelectParagraph = 628, SelectColumn = 629, SelectRow = 630, SelectTable = 631, SelectObject = 632, RedoRepeat = 633, Sort = 634, SortAscending = 635, SortDescending = 636, Filter = 637, SetClock = 638, ViewClock = 639, SelectTimeZone = 640, EditTimeZone = 641, SetAlarm = 642, ClearAlarm = 643, SnoozeAlarm = 644, ResetAlarm = 645, Synchronize = 646, SendReceive = 647, SendTo = 648, Reply = 649, ReplyAll = 650, ForwardMsg = 651, Send = 652, AttachFile = 653, Upload = 654, Download = 655, SetBorders = 656, InsertRow = 657, InsertColumn = 658, InsertFile = 659, InsertPicture = 660, InsertObject = 661, InsertSymbol = 662, SaveAndClose = 663, Rename = 664, Merge = 665, Split = 666, DistributeHorizontally = 667, DistributeVertically = 668, NextKeyboardLayoutSel = 669,
}
Expand description

HID Consumer Controls List of Consumer Codes - USB HID 1.12v2 NKRO HID Supports 0x020 - 0x29C 0x023 - 0x02F Reserved 0x037 - 0x03F Reserved 0x049 - 0x05F Reserved 0x067 - 0x06E Reserved? 0x076 - 0x07F Reserved 0x09F Reserved 0x0A5 - 0x0AF Reserved 0x0CF - 0x0DF Reserved 0x0EB - 0x0EF Reserved 0x0F6 - 0x0FF 0x10E - 0x14F Reserved 0x156 - 0x15F Reserved Application Launch Buttons pg 79 Generic GUI Application Controls pg 82 TODO: Where does 0x29D come from?

Variants§

§

_10 = 32

§

_100 = 33

§

AMPM = 34

§

Power = 48

§

Reset = 49

§

Sleep = 50

§

SleepAfter = 51

§

SleepMode = 52

§

Illumination = 53

§

Menu = 64

§

MenuPick = 65

§

MenuUp = 66

§

MenuDown = 67

§

MenuLeft = 68

§

MenuRight = 69

§

MenuEscape = 70

§

MenuValueIncrease = 71

§

MenuValueDecrease = 72

§

DataOnScreen = 96

§

ClosedCaption = 97

§

ClosedCaptionSelect = 98

§

VCRTV = 99

§

BroadcastMode = 100

§

Snapshot = 101

§

Still = 102

§

BrightnessIncrement = 111

§

BrightnessDecrement = 112

§

BacklightToggle = 114

§

BrightnessMin = 115

§

BrightnessMax = 116

§

BrightnessAuto = 117

§

AssignSelection = 129

§

ModeStep = 130

§

RecallLast = 131

§

EnterChannel = 132

§

OrderMovie = 133

§

MediaComputer = 136

§

MediaTV = 137

§

MediaWWW = 138

§

MediaDVD = 139

§

MediaTelephone = 140

§

MediaProgramGuide = 141

§

MediaVideoPhone = 142

§

MediaSelectGames = 143

§

MediaSelectMessages = 144

§

MediaSelectCD = 145

§

MediaSelectVCR = 146

§

MediaSelectTuner = 147

§

Quit = 148

§

Help = 149

§

MediaSelectTape = 150

§

MediaSelectCable = 151

§

MediaSelectSatellite = 152

§

MediaSelectSecurity = 153

§

MediaSelectHome = 154

§

MediaSelectCall = 155

§

ChannelIncrement = 156

§

CahnnelDecrement = 157

§

MediaSelectSAP = 158

§

VCRPlus = 160

§

Once = 161

§

Daily = 162

§

Weekly = 163

§

Monthly = 164

§

Play = 176

§

Pause = 177

§

Record = 178

§

FastForward = 179

§

Rewind = 180

§

ScanNextTrack = 181

§

ScanPreviousTrack = 182

§

Stop = 183

§

Eject = 184

§

RandomPlay = 185

§

Repeat = 188

§

TrackNormal = 190

§

FrameForward = 192

§

FrameBack = 193

§

Mark = 194

§

ClearMark = 195

§

RepeatFromMark = 196

§

ReturnToMark = 197

§

SearchMarkForwards = 198

§

SearchMarkBackwards = 199

§

CounterReset = 200

§

ShowCounter = 201

§

TrackingIncrement = 202

§

TrackingDecrement = 203

§

StopEject = 204

§

PausePlay = 205

§

PlaySkip = 206

§

Mute = 226

§

BassBoost = 229

§

SurroundMode = 230

§

Loudness = 231

§

Mpx = 232

§

VolumeUp = 233

§

VolumeDown = 234

§

SpeedSelect = 240

§

StandardPlay = 242

§

LongPlay = 243

§

ExtendedPlay = 244

§

Slow = 245

§

FanEnable = 256

§

LightEnable = 258

§

ClimateControlEnable = 260

§

SecurityEnable = 262

§

FireAlarm = 263

§

Motion = 266

§

DuressAlarm = 267

§

HoldupAlarm = 268

§

MedicalAlarm = 269

§

BalanceRight = 336

§

BalanceLeft = 337

§

BassIncrement = 338

§

BassDecrement = 339

§

TrebleIncrement = 340

§

TrebleDecrement = 341

§

SubChannelIncrement = 369

§

SubChannelDecrement = 370

§

AltAudioIncrement = 371

§

AltAudioDecrement = 372

§

LaunchButtonConfigTool = 385

§

ProgrammableButtonConfig = 386

§

ConsumerControlConfig = 387

§

WordProcessor = 388

§

TextEditor = 389

§

Spreadsheet = 390

§

GraphicsEditor = 391

§

PresentationApp = 392

§

DatabaseApp = 393

§

EmailReader = 394

§

Newsreader = 395

§

Voicemail = 396

§

ContactsAddressBook = 397

§

CalendarSchedule = 398

§

TaskProjectManager = 399

§

LogJournalTimecard = 400

§

CheckbookFinance = 401

§

Calculator = 402

§

AVCapturePlayback = 403

§

LocalMachineBrowser = 404

§

LANWANBrowser = 405

§

InternetBrowser = 406

§

RemoteNetworkingISPConnect = 407

§

NetworkConference = 408

§

NetworkChat = 409

§

TelephonyDialer = 410

§

Logon = 411

§

Logoff = 412

§

LogonLogoff = 413

§

TerminalLockScreensaver = 414

§

ControlPanel = 415

§

CommandLineProcessorRun = 416

§

ProcessTaskManager = 417

§

SelectTastApplication = 418

§

NextTaskApplication = 419

§

PreviousTaskApplication = 420

§

PreemptiveHaltTaskApplication = 421

§

IntegratedHelpCenter = 422

§

Documents = 423

§

Thesaurus = 424

§

Dictionary = 425

§

Desktop = 426

§

SpellCheck = 427

§

GrammarCheck = 428

§

WirelessStatus = 429

§

KeyboardLayout = 430

§

VirusProtection = 431

§

Encryption = 432

§

ScreenSaver = 433

§

Alarms = 434

§

Clock = 435

§

FileBrowser = 436

§

PowerStatus = 437

§

ImageBrowser = 438

§

AudioBrowser = 439

§

MovieBrowser = 440

§

DigitalRightsManager = 441

§

DigitalWallet = 442

§

InstantMessaging = 444

§

OEMFeaturesTipsTutorial = 445

§

OEMHelp = 446

§

OnlineCommunity = 447

§

EntertainmentContent = 448

§

OnlineShopping = 449

§

SmartcardInfoHelp = 450

§

MarketMonitor = 451

§

CustomizedCorpNews = 452

§

OnlineActivity = 453

§

SearchBrowser = 454

§

AudioPlayer = 455

§

New = 513

§

Open = 514

§

Close = 515

§

Exit = 516

§

Maximize = 517

§

Minimize = 518

§

Save = 519

§

Print = 520

§

Properties = 521

§

Undo = 538

§

Copy = 539

§

Cut = 540

§

Paste = 541

§

SelectAll = 542

§

Find = 543

§

FindAndReplace = 544

§

Search = 545

§

GoTo = 546

§

Home = 547

§

Back = 548

§

Forward = 549

§

StopWeb = 550

§

Refresh = 551

§

Bookmarks = 554

§

History = 555

§

Subscriptions = 556

§

ZoomIn = 557

§

ZoomOut = 558

§

Zoom = 559

§

FullScreenView = 560

§

NormalView = 561

§

ViewToggle = 562

§

ScrollUp = 563

§

ScrollDown = 564

§

Scroll = 565

§

PanLeft = 566

§

PanRight = 567

§

Pan = 568

§

NewWindow = 569

§

TileHorizontally = 570

§

TileVertically = 571

§

Format = 572

§

Edit = 573

§

Bold = 574

§

Italics = 575

§

Underline = 576

§

Strikethrough = 577

§

Subscript = 578

§

Superscript = 579

§

AllCaps = 580

§

Rotate = 581

§

Resize = 582

§

FilpHorizontal = 583

§

FilpVertical = 584

§

MirrorHorizontal = 585

§

MirrorVertical = 586

§

FontSelect = 587

§

FontColor = 588

§

FontSize = 589

§

JustifyLeft = 590

§

JustifyCenterH = 591

§

JustifyRight = 592

§

JustifyBlockH = 593

§

JustifyTop = 594

§

JustifyCenterV = 595

§

JustifyBottom = 596

§

JustifyBlockV = 597

§

IndentDecrease = 598

§

IndentIncrease = 599

§

NumberedList = 600

§

RestartNumbering = 601

§

BulletedList = 602

§

Promote = 603

§

Demote = 604

§

Yes = 605

§

No = 606

§

Cancel = 607

§

Catalog = 608

§

BuyCheckout = 609

§

AddToCart = 610

§

Expand = 611

§

ExpandAll = 612

§

Collapse = 613

§

CollapseAll = 614

§

PrintPreview = 615

§

PasteSpecial = 616

§

InsertMode = 617

§

Delete = 618

§

Lock = 619

§

Unlock = 620

§

Protect = 621

§

Unprotect = 622

§

AttachComment = 623

§

DeleteComment = 624

§

ViewComment = 625

§

SelectWord = 626

§

SelectSentence = 627

§

SelectParagraph = 628

§

SelectColumn = 629

§

SelectRow = 630

§

SelectTable = 631

§

SelectObject = 632

§

RedoRepeat = 633

§

Sort = 634

§

SortAscending = 635

§

SortDescending = 636

§

Filter = 637

§

SetClock = 638

§

ViewClock = 639

§

SelectTimeZone = 640

§

EditTimeZone = 641

§

SetAlarm = 642

§

ClearAlarm = 643

§

SnoozeAlarm = 644

§

ResetAlarm = 645

§

Synchronize = 646

§

SendReceive = 647

§

SendTo = 648

§

Reply = 649

§

ReplyAll = 650

§

ForwardMsg = 651

§

Send = 652

§

AttachFile = 653

§

Upload = 654

§

Download = 655

§

SetBorders = 656

§

InsertRow = 657

§

InsertColumn = 658

§

InsertFile = 659

§

InsertPicture = 660

§

InsertObject = 661

§

InsertSymbol = 662

§

SaveAndClose = 663

§

Rename = 664

§

Merge = 665

§

Split = 666

§

DistributeHorizontally = 667

§

DistributeVertically = 668

§

NextKeyboardLayoutSel = 669

Trait Implementations§

Source§

impl Clone for ConsumerControl

Source§

fn clone(&self) -> ConsumerControl

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ConsumerControl

Source§

impl Debug for ConsumerControl

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for ConsumerControl

Source§

impl Hash for ConsumerControl

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for ConsumerControl

Source§

fn eq(&self, other: &ConsumerControl) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ConsumerControl

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.