#[repr(u32)]pub enum ScePadButton {
Show 19 variants
Share = 1,
L3 = 2,
R3 = 4,
Options = 8,
Up = 16,
Right = 32,
Down = 64,
Left = 128,
L2 = 256,
R2 = 512,
L1 = 1_024,
R1 = 2_048,
Triangle = 4_096,
Circle = 8_192,
Cross = 16_384,
Square = 32_768,
Playstation = 65_536,
TouchPad = 1_048_576,
Intercepted = 2_147_483_648,
}
Expand description
PS4
Constants for SCE Pad buttons
Variants§
L3 = 2
R3 = 4
Options = 8
Up = 16
Right = 32
Down = 64
Left = 128
L2 = 256
R2 = 512
L1 = 1_024
R1 = 2_048
Triangle = 4_096
Circle = 8_192
Cross = 16_384
Square = 32_768
Playstation = 65_536
TouchPad = 1_048_576
Intercepted = 2_147_483_648
Implementations§
Source§impl ScePadButton
impl ScePadButton
Auto Trait Implementations§
impl Freeze for ScePadButton
impl RefUnwindSafe for ScePadButton
impl Send for ScePadButton
impl Sync for ScePadButton
impl Unpin for ScePadButton
impl UnwindSafe for ScePadButton
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