Enum renderdoc::InputButton
source · #[repr(u32)]pub enum InputButton {
Show 64 variants
Key0 = 48,
Key1 = 49,
Key2 = 50,
Key3 = 51,
Key4 = 52,
Key5 = 53,
Key6 = 54,
Key7 = 55,
Key8 = 56,
Key9 = 57,
A = 65,
B = 66,
C = 67,
D = 68,
E = 69,
F = 70,
G = 71,
H = 72,
I = 73,
J = 74,
K = 75,
L = 76,
M = 77,
N = 78,
O = 79,
P = 80,
Q = 81,
R = 82,
S = 83,
T = 84,
U = 85,
V = 86,
W = 87,
X = 88,
Y = 89,
Z = 90,
NonPrintable = 256,
Divide = 257,
Multiply = 258,
Subtract = 259,
Plus = 260,
F1 = 261,
F2 = 262,
F3 = 263,
F4 = 264,
F5 = 265,
F6 = 266,
F7 = 267,
F8 = 268,
F9 = 269,
F10 = 270,
F11 = 271,
F12 = 272,
Home = 273,
End = 274,
Insert = 275,
Delete = 276,
PageUp = 277,
PageDn = 278,
Backspace = 279,
Tab = 280,
PrtScrn = 281,
Pause = 282,
Max = 283,
}
Expand description
User input key codes.
Variants§
Key0 = 48
The ‘0’ key over the letters.
Key1 = 49
The ‘1’ key over the letters.
Key2 = 50
The ‘2’ key over the letters.
Key3 = 51
The ‘3’ key over the letters.
Key4 = 52
The ‘4’ key over the letters.
Key5 = 53
The ‘5’ key over the letters.
Key6 = 54
The ‘6’ key over the letters.
Key7 = 55
The ‘7’ key over the letters.
Key8 = 56
The ‘8’ key over the letters.
Key9 = 57
The ‘9’ key over the letters.
A = 65
B = 66
C = 67
D = 68
E = 69
F = 70
G = 71
H = 72
I = 73
J = 74
K = 75
L = 76
M = 77
N = 78
O = 79
P = 80
Q = 81
R = 82
S = 83
T = 84
U = 85
V = 86
W = 87
X = 88
Y = 89
Z = 90
NonPrintable = 256
Leave the rest of the ASCII range free, in case the RenderDoc developers decide to use it later.
Divide = 257
Division key on the numpad.
Multiply = 258
Multiplication key on the numpad.
Subtract = 259
Subtraction key on the numpad.
Plus = 260
Addition key on the numpad.
F1 = 261
F2 = 262
F3 = 263
F4 = 264
F5 = 265
F6 = 266
F7 = 267
F8 = 268
F9 = 269
F10 = 270
F11 = 271
F12 = 272
Home = 273
End = 274
Insert = 275
Delete = 276
PageUp = 277
PageDn = 278
Backspace = 279
Tab = 280
PrtScrn = 281
Pause = 282
Max = 283
Trait Implementations§
source§impl Clone for InputButton
impl Clone for InputButton
source§fn clone(&self) -> InputButton
fn clone(&self) -> InputButton
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InputButton
impl Debug for InputButton
source§impl From<VirtualKeyCode> for InputButton
impl From<VirtualKeyCode> for InputButton
source§fn from(code: VirtualKeyCode) -> InputButton
fn from(code: VirtualKeyCode) -> InputButton
Converts to this type from the input type.
source§impl Hash for InputButton
impl Hash for InputButton
source§impl PartialEq for InputButton
impl PartialEq for InputButton
source§fn eq(&self, other: &InputButton) -> bool
fn eq(&self, other: &InputButton) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InputButton
impl Eq for InputButton
impl StructuralPartialEq for InputButton
Auto Trait Implementations§
impl RefUnwindSafe for InputButton
impl Send for InputButton
impl Sync for InputButton
impl Unpin for InputButton
impl UnwindSafe for InputButton
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