Trait smithay::backend::input::KeyboardKeyEvent[][src]

pub trait KeyboardKeyEvent<B: InputBackend>: Event<B> {
    fn key_code(&self) -> u32;
fn state(&self) -> KeyState;
fn count(&self) -> u32; }
Expand description

Trait for keyboard event

Required methods

Code of the pressed key. See linux/input-event-codes.h

State of the key

Total number of keys pressed on all devices on the associated Seat

Implementations on Foreign Types

Implementors