pub trait KeyboardEventTrait: AsRaw<libinput_event_keyboard> + Context {
    fn time(&self) -> u32 { ... }
    fn time_usec(&self) -> u64 { ... }
    fn key(&self) -> u32 { ... }
    fn key_state(&self) -> KeyState { ... }
    fn into_keyboard_event(self) -> KeyboardEvent
    where
        Self: Sized
, { ... } }
Expand description

Common functions for all Keyboard-Events implement.

Provided Methods

The event time for this event

The event time for this event in microseconds

The keycode that triggered this key event

The state change of the key

Convert into a general KeyboardEvent again

Implementors