pub enum Usages {
Show 110 variants
HidUsageKeyErrorRollover = 1,
HidUsageKeyPostFail = 2,
HidUsageKeyErrorUndef = 3,
HidUsageKeyA = 4,
HidUsageKeyB = 5,
HidUsageKeyC = 6,
HidUsageKeyD = 7,
HidUsageKeyE = 8,
HidUsageKeyF = 9,
HidUsageKeyG = 10,
HidUsageKeyH = 11,
HidUsageKeyI = 12,
HidUsageKeyJ = 13,
HidUsageKeyK = 14,
HidUsageKeyL = 15,
HidUsageKeyM = 16,
HidUsageKeyN = 17,
HidUsageKeyO = 18,
HidUsageKeyP = 19,
HidUsageKeyQ = 20,
HidUsageKeyR = 21,
HidUsageKeyS = 22,
HidUsageKeyT = 23,
HidUsageKeyU = 24,
HidUsageKeyV = 25,
HidUsageKeyW = 26,
HidUsageKeyX = 27,
HidUsageKeyY = 28,
HidUsageKeyZ = 29,
HidUsageKey1 = 30,
HidUsageKey2 = 31,
HidUsageKey3 = 32,
HidUsageKey4 = 33,
HidUsageKey5 = 34,
HidUsageKey6 = 35,
HidUsageKey7 = 36,
HidUsageKey8 = 37,
HidUsageKey9 = 38,
HidUsageKey0 = 39,
HidUsageKeyEnter = 40,
HidUsageKeyEsc = 41,
HidUsageKeyBackspace = 42,
HidUsageKeyTab = 43,
HidUsageKeySpace = 44,
HidUsageKeyMinus = 45,
HidUsageKeyEqual = 46,
HidUsageKeyLeftbrace = 47,
HidUsageKeyRightbrace = 48,
HidUsageKeyBackslash = 49,
HidUsageKeyNonUsOctothorpe = 50,
HidUsageKeySemicolon = 51,
HidUsageKeyApostrophe = 52,
HidUsageKeyGrave = 53,
HidUsageKeyComma = 54,
HidUsageKeyDot = 55,
HidUsageKeySlash = 56,
HidUsageKeyCapslock = 57,
HidUsageKeyF1 = 58,
HidUsageKeyF2 = 59,
HidUsageKeyF3 = 60,
HidUsageKeyF4 = 61,
HidUsageKeyF5 = 62,
HidUsageKeyF6 = 63,
HidUsageKeyF7 = 64,
HidUsageKeyF8 = 65,
HidUsageKeyF9 = 66,
HidUsageKeyF10 = 67,
HidUsageKeyF11 = 68,
HidUsageKeyF12 = 69,
HidUsageKeyPrintscreen = 70,
HidUsageKeyScrolllock = 71,
HidUsageKeyPause = 72,
HidUsageKeyInsert = 73,
HidUsageKeyHome = 74,
HidUsageKeyPageup = 75,
HidUsageKeyDelete = 76,
HidUsageKeyEnd = 77,
HidUsageKeyPagedown = 78,
HidUsageKeyRight = 79,
HidUsageKeyLeft = 80,
HidUsageKeyDown = 81,
HidUsageKeyUp = 82,
HidUsageKeyNumlock = 83,
HidUsageKeyKpSlash = 84,
HidUsageKeyKpAsterisk = 85,
HidUsageKeyKpMinus = 86,
HidUsageKeyKpPlus = 87,
HidUsageKeyKpEnter = 88,
HidUsageKeyKp1 = 89,
HidUsageKeyKp2 = 90,
HidUsageKeyKp3 = 91,
HidUsageKeyKp4 = 92,
HidUsageKeyKp5 = 93,
HidUsageKeyKp6 = 94,
HidUsageKeyKp7 = 95,
HidUsageKeyKp8 = 96,
HidUsageKeyKp9 = 97,
HidUsageKeyKp0 = 98,
HidUsageKeyKpDot = 99,
HidUsageKeyNonUsBackslash = 100,
HidUsageKeyLeftCtrl = 224,
HidUsageKeyLeftShift = 225,
HidUsageKeyLeftAlt = 226,
HidUsageKeyLeftGui = 227,
HidUsageKeyRightCtrl = 228,
HidUsageKeyRightShift = 229,
HidUsageKeyRightAlt = 230,
HidUsageKeyRightGui = 231,
HidUsageKeyVolUp = 232,
HidUsageKeyVolDown = 233,
}
Expand description
Standard USB HID usages.
Variants§
HidUsageKeyErrorRollover = 1
HidUsageKeyPostFail = 2
HidUsageKeyErrorUndef = 3
HidUsageKeyA = 4
HidUsageKeyB = 5
HidUsageKeyC = 6
HidUsageKeyD = 7
HidUsageKeyE = 8
HidUsageKeyF = 9
HidUsageKeyG = 10
HidUsageKeyH = 11
HidUsageKeyI = 12
HidUsageKeyJ = 13
HidUsageKeyK = 14
HidUsageKeyL = 15
HidUsageKeyM = 16
HidUsageKeyN = 17
HidUsageKeyO = 18
HidUsageKeyP = 19
HidUsageKeyQ = 20
HidUsageKeyR = 21
HidUsageKeyS = 22
HidUsageKeyT = 23
HidUsageKeyU = 24
HidUsageKeyV = 25
HidUsageKeyW = 26
HidUsageKeyX = 27
HidUsageKeyY = 28
HidUsageKeyZ = 29
HidUsageKey1 = 30
HidUsageKey2 = 31
HidUsageKey3 = 32
HidUsageKey4 = 33
HidUsageKey5 = 34
HidUsageKey6 = 35
HidUsageKey7 = 36
HidUsageKey8 = 37
HidUsageKey9 = 38
HidUsageKey0 = 39
HidUsageKeyEnter = 40
HidUsageKeyEsc = 41
HidUsageKeyBackspace = 42
HidUsageKeyTab = 43
HidUsageKeySpace = 44
HidUsageKeyMinus = 45
HidUsageKeyEqual = 46
HidUsageKeyLeftbrace = 47
HidUsageKeyRightbrace = 48
HidUsageKeyBackslash = 49
HidUsageKeyNonUsOctothorpe = 50
HidUsageKeySemicolon = 51
HidUsageKeyApostrophe = 52
HidUsageKeyGrave = 53
HidUsageKeyComma = 54
HidUsageKeyDot = 55
HidUsageKeySlash = 56
HidUsageKeyCapslock = 57
HidUsageKeyF1 = 58
HidUsageKeyF2 = 59
HidUsageKeyF3 = 60
HidUsageKeyF4 = 61
HidUsageKeyF5 = 62
HidUsageKeyF6 = 63
HidUsageKeyF7 = 64
HidUsageKeyF8 = 65
HidUsageKeyF9 = 66
HidUsageKeyF10 = 67
HidUsageKeyF11 = 68
HidUsageKeyF12 = 69
HidUsageKeyPrintscreen = 70
HidUsageKeyScrolllock = 71
HidUsageKeyPause = 72
HidUsageKeyInsert = 73
HidUsageKeyHome = 74
HidUsageKeyPageup = 75
HidUsageKeyDelete = 76
HidUsageKeyEnd = 77
HidUsageKeyPagedown = 78
HidUsageKeyRight = 79
HidUsageKeyLeft = 80
HidUsageKeyDown = 81
HidUsageKeyUp = 82
HidUsageKeyNumlock = 83
HidUsageKeyKpSlash = 84
HidUsageKeyKpAsterisk = 85
HidUsageKeyKpMinus = 86
HidUsageKeyKpPlus = 87
HidUsageKeyKpEnter = 88
HidUsageKeyKp1 = 89
HidUsageKeyKp2 = 90
HidUsageKeyKp3 = 91
HidUsageKeyKp4 = 92
HidUsageKeyKp5 = 93
HidUsageKeyKp6 = 94
HidUsageKeyKp7 = 95
HidUsageKeyKp8 = 96
HidUsageKeyKp9 = 97
HidUsageKeyKp0 = 98
HidUsageKeyKpDot = 99
HidUsageKeyNonUsBackslash = 100
HidUsageKeyLeftCtrl = 224
HidUsageKeyLeftShift = 225
HidUsageKeyLeftAlt = 226
HidUsageKeyLeftGui = 227
HidUsageKeyRightCtrl = 228
HidUsageKeyRightShift = 229
HidUsageKeyRightAlt = 230
HidUsageKeyRightGui = 231
HidUsageKeyVolUp = 232
HidUsageKeyVolDown = 233
Trait Implementations§
impl Copy for Usages
impl Eq for Usages
impl StructuralPartialEq for Usages
Auto Trait Implementations§
impl Freeze for Usages
impl RefUnwindSafe for Usages
impl Send for Usages
impl Sync for Usages
impl Unpin for Usages
impl UnwindSafe for Usages
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)