Enum input_linux::AbsoluteAxis [−][src]
#[repr(u16)] pub enum AbsoluteAxis {}Show 64 variants
X, Y, Z, RX, RY, RZ, Throttle, Rudder, Wheel, Gas, Brake, UnknownB, UnknownC, UnknownD, UnknownE, UnknownF, Hat0X, Hat0Y, Hat1X, Hat1Y, Hat2X, Hat2Y, Hat3X, Hat3Y, Pressure, Distance, TiltX, TiltY, ToolWidth, Unknown1D, Unknown1E, Unknown1F, Volume, Unknown21, Unknown22, Unknown23, Unknown24, Unknown25, Unknown26, Unknown27, Misc, Unknown29, Unknown2A, Unknown2B, Unknown2C, Unknown2D, Reserved, MultitouchSlot, MultitouchTouchMajor, MultitouchTouchMinor, MultitouchWidthMajor, MultitouchWidthMinor, MultitouchOrientation, MultitouchPositionX, MultitouchPositionY, MultitouchToolType, MultitouchBlobId, MultitouchTrackingId, MultitouchPressure, MultitouchDistance, MultitouchToolX, MultitouchToolY, Unknown3E, Unknown3F,
Expand description
Absolute axes.
Variants
MT slot being modified
Major axis of touching ellipse
Minor axis (omit if circular)
Major axis of approaching ellipse
Minor axis (omit if circular)
Ellipse orientation
Center X touch position
Center Y touch position
Type of touching device
Group a set of packets as a blob
Unique ID of initiated contact
Pressure on contact area
Contact hover distance
Center X tool position
Center Y tool position
Implementations
pub fn iter() -> EnumIterator<Self>ⓘNotable traits for EnumIterator<T>impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
pub fn iter() -> EnumIterator<Self>ⓘNotable traits for EnumIterator<T>impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
An iterator over all values of the enum.
Instantiates the enum from a raw code value.
Trait Implementations
type Index = AbsoluteAxis
type Index = AbsoluteAxis
The type that the bitmask can be indexed by.
The default empty state of the bitmask.
A representation of the bitmask as a slice of bytes.
A mutable representation of the bitmask as a slice of bytes.
Performs the conversion.
Given an index into the iterator, return the value and the next index. Read more
fn iter() -> EnumIterator<Self>ⓘNotable traits for EnumIterator<T>impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
fn iter() -> EnumIterator<Self>ⓘNotable traits for EnumIterator<T>impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
Instantiates an EnumIterator
for an iterable type.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for AbsoluteAxis
impl Send for AbsoluteAxis
impl Sync for AbsoluteAxis
impl Unpin for AbsoluteAxis
impl UnwindSafe for AbsoluteAxis
Blanket Implementations
Mutably borrows from an owned value. Read more