pub enum Event {
Show 60 variants
Steering,
SteeringFine,
Throttle,
Brake,
Clutch,
DpadUpPressed,
DpadUpReleased,
DpadTopRightPressed,
DpadTopRightReleased,
DpadRightPressed,
DpadRightReleased,
DpadBottomRightPressed,
DpadBottomRightReleased,
DpadBottomPressed,
DpadBottomReleased,
DpadBottomLeftPressed,
DpadBottomLeftReleased,
DpadLeftPressed,
DpadLeftReleased,
DpadTopLeftPressed,
DpadTopLeftReleased,
XButtonPressed,
XButtonReleased,
SquareButtonPressed,
SquareButtonReleased,
CircleButtonPressed,
CircleButtonReleased,
TriangleButtonPressed,
TriangleButtonReleased,
RightShifterPressed,
RightShifterReleased,
LeftShifterPressed,
LeftShifterReleased,
R2ButtonPressed,
R2ButtonReleased,
L2ButtonPressed,
L2ButtonReleased,
ShareButtonPressed,
ShareButtonReleased,
OptionsButtonPressed,
OptionsButtonReleased,
R3ButtonPressed,
R3ButtonReleased,
L3ButtonPressed,
L3ButtonReleased,
PlusButtonPressed,
PlusButtonReleased,
MinusButtonPressed,
MinusButtonReleased,
SpinnerRight,
SpinnerLeft,
SpinnerButtonPressed,
SpinnerButtonReleased,
PlaystationButtonPressed,
PlaystationButtonReleased,
ShifterX,
ShifterY,
ShifterPressed,
ShifterReleased,
GearChanged,
}Variants§
Steering
Steering wheel is turned
SteeringFine
Steering wheel is turned finely
Throttle
Throttle changed
Brake
Brake changed
Clutch
Clutch changed
DpadUpPressed
DpadUpReleased
DpadTopRightPressed
DpadTopRightReleased
DpadRightPressed
DpadRightReleased
DpadBottomRightPressed
DpadBottomRightReleased
DpadBottomPressed
DpadBottomReleased
DpadBottomLeftPressed
DpadBottomLeftReleased
DpadLeftPressed
DpadLeftReleased
DpadTopLeftPressed
DpadTopLeftReleased
XButtonPressed
XButtonReleased
SquareButtonPressed
SquareButtonReleased
CircleButtonPressed
CircleButtonReleased
TriangleButtonPressed
TriangleButtonReleased
RightShifterPressed
RightShifterReleased
LeftShifterPressed
LeftShifterReleased
R2ButtonPressed
R2ButtonReleased
L2ButtonPressed
L2ButtonReleased
OptionsButtonPressed
OptionsButtonReleased
R3ButtonPressed
R3ButtonReleased
L3ButtonPressed
L3ButtonReleased
PlusButtonPressed
PlusButtonReleased
MinusButtonPressed
MinusButtonReleased
SpinnerRight
SpinnerLeft
SpinnerButtonPressed
SpinnerButtonReleased
PlaystationButtonPressed
PlaystationButtonReleased
ShifterX
Shifter X axis changed
ShifterY
Shifter Y axis changed
ShifterPressed
ShifterReleased
GearChanged
Gear selector changed
Trait Implementations§
impl Copy for Event
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more