Enum input_linux::MiscKind
source · #[repr(u16)]
pub enum MiscKind {
Serial,
PulseLed,
Gesture,
Raw,
Scancode,
Timestamp,
Unknown6,
Unknown7,
}
Expand description
Miscellaneous events.
Variants§
Serial
Serial number, only exported for tablets (“Transducer Serial Number”)
PulseLed
Only used by the PowerMate driver, right now.
Gesture
Completely unused
Raw
“Raw” event, rarely used.
Scancode
Key scancode
Timestamp
Completely unused
Unknown6
Unknown7
Implementations§
Trait Implementations§
source§impl BitmaskTrait for MiscKind
impl BitmaskTrait for MiscKind
source§fn array_default() -> Self::Array
fn array_default() -> Self::Array
The default empty state of the bitmask.
source§fn array_slice(array: &Self::Array) -> &[u8] ⓘ
fn array_slice(array: &Self::Array) -> &[u8] ⓘ
A representation of the bitmask as a slice of bytes.
source§impl<'de> Deserialize<'de> for MiscKind
impl<'de> Deserialize<'de> for MiscKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl IterableEnum for MiscKind
impl IterableEnum for MiscKind
source§impl Ord for MiscKind
impl Ord for MiscKind
source§impl PartialEq<MiscKind> for MiscKind
impl PartialEq<MiscKind> for MiscKind
source§impl PartialOrd<MiscKind> for MiscKind
impl PartialOrd<MiscKind> for MiscKind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more