[−][src]Enum beryllium::Scancode
Different "scancode" values that can come in.
A scancode is a "physical" key value, and which key on the keyboard counts as which scancode is fixed for each particular keyboard model. Note that not all keyboard models can produce all Scancode values given here.
Some names have abbreviations:
- AC = Application Control
- Kbd = Keyboard
- KP = Keypad
Variants
_0
_1
_2
_3
_4
_5
_6
_7
_8
_9
A
AC_Back
AC_Bookmarks
AC_Forward
AC_Home
AC_Refresh
AC_Search
AC_Stop
Again
AltErase
Apostrophe
App1
App2
Application
AudioFastForward
AudioMute
AudioNext
AudioPlay
AudioPrev
AudioRewind
AudioStop
B
Backslash
Backspace
BrightnessDown
BrightnessUp
C
Calculator
Cancel
CapsLock
Clear
ClearAgain
Comma
Computer
Copy
CrSel
CurrencySubUnit
CurrencyUnit
Cut
D
DecimalSeparator
Delete
DisplaySwitch
Down
E
Eject
End
Equals
Escape
Execute
ExSel
F
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
F13
F14
F15
F16
F17
F18
F19
F20
F21
F22
F23
F24
Find
G
Grave
H
Help
Home
I
Insert
International1
International2
International3
International4
International5
International6
International7
International8
International9
J
K
KbdIlluminationDown
KbdIlluminationToggle
KbdIlluminationUp
KP_0
KP_00
KP_000
KP_1
KP_2
KP_3
KP_4
KP_5
KP_6
KP_7
KP_8
KP_9
KP_A
KP_Ampersand
KP_At
KP_B
KP_Backspace
KP_Binary
KP_C
KP_Clear
KP_ClearEntry
KP_Colon
KP_Comma
KP_D
KP_DblAmpersand
KP_DblVerticalBar
KP_Decimal
KP_Divide
KP_E
KP_Enter
KP_Equals
KP_EqualsAs400
KP_Exclamation
KP_F
KP_Greater
KP_Hash
KP_Hexadecimal
KP_LeftBrace
KP_LeftParen
KP_Less
KP_MemAdd
KP_MemClear
KP_MemDivide
KP_MemMultiply
KP_MemRecall
KP_MemStore
KP_MemSubtract
KP_Minus
KP_Multiply
KP_Octal
KP_Percent
KP_Period
KP_Plus
KP_PlusMinus
KP_Power
KP_RightBrace
KP_RightParen
KP_Space
KP_Tab
KP_VerticalBar
KP_Xor
L
LeftAlt
Lang1
Lang2
Lang3
Lang4
Lang5
Lang6
Lang7
Lang8
Lang9
LeftCtrl
Left
LeftBracket
LeftGUI
LeftShift
M
Mail
Mediaselect
Menu
Minus
Mode
Mute
N
NonUSBackslash
NonUSHash
NumLockClear
O
Oper
Out
P
PageDown
PageUp
Paste
Pause
Period
Power
PrintScreen
Prior
Q
R
RightAlt
RightCtrl
Return
Return2
RightGUI
Right
RightBracket
RightShift
S
ScrollLock
Select
Semicolon
Separator
Slash
Sleep
Space
Stop
SysReq
T
Tab
ThousandsSeparator
U
Undo
Unknown
Up
V
VolumeDown
VolumeUp
W
WWW
X
Y
Z
Trait Implementations
impl Eq for Scancode
[src]
impl Clone for Scancode
[src]
fn clone(&self) -> Scancode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Scancode> for Scancode
[src]
fn eq(&self, other: &Scancode) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Copy for Scancode
[src]
impl Debug for Scancode
[src]
impl TryFrom<i32> for Scancode
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,