pub enum DeviceButton {
Show 29 variants
DpadLeft,
DpadDown,
DpadRight,
DpadUp,
Start,
Select,
Guide,
Quaternary,
A,
B,
X,
Y,
L1,
R1,
L2,
R2,
L3,
R3,
L4,
L5,
R4,
R5,
LeftStickTouch,
RightStickTouch,
LeftPadTouch,
RightPadTouch,
LeftGrip,
RightGrip,
Unknown,
}Expand description
Device buttons not specific to any one device.
Variants§
DpadLeft
Directional pad Left
DpadDown
Directional pad Down
DpadRight
Directional pad Right
DpadUp
Directional pad Up
Start
Start, options, etc.
Select
Select, share, etc.
Guide
PS button, steam button, etc.
Quaternary
QAM, Mic, etc.
A
XB layout A
B
XB layout B
X
XB layout X
Y
XB layout Y
L1
L1, Left Bumper
R1
R1, Right Bumper
L2
L2, Left Trigger
R2
R2, Right Trigger
L3
L3, Left stick click
R3
R3, Right stick click
L4
Triton only
L5
Triton only
R4
Triton only
R5
Triton only
LeftStickTouch
Triton only
RightStickTouch
Triton only
LeftPadTouch
Triton only
RightPadTouch
Triton only
LeftGrip
Triton only
RightGrip
Triton only
Unknown
Unknown button
Trait Implementations§
Source§impl Clone for DeviceButton
impl Clone for DeviceButton
Source§fn clone(&self) -> DeviceButton
fn clone(&self) -> DeviceButton
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeviceButton
impl Debug for DeviceButton
Source§impl Display for DeviceButton
impl Display for DeviceButton
Auto Trait Implementations§
impl Freeze for DeviceButton
impl RefUnwindSafe for DeviceButton
impl Send for DeviceButton
impl Sync for DeviceButton
impl Unpin for DeviceButton
impl UnsafeUnpin for DeviceButton
impl UnwindSafe for DeviceButton
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