[][src]Trait wlroots::input::keyboard::Handler

pub trait Handler {
    fn on_key(
        &mut self,
        compositor_handle: Handle,
        keyboard_handle: Handle,
        event: &Key
    ) { ... }
fn modifiers(&mut self, compositor_handle: Handle, keyboard_handle: Handle) { ... }
fn keymap(&mut self, compositor_handle: Handle, keyboard_handle: Handle) { ... }
fn repeat_info(
        &mut self,
        compositor_handle: Handle,
        keyboard_handle: Handle
    ) { ... }
fn destroyed(&mut self, compositor_handle: Handle, keyboard_handle: Handle) { ... } }

Provided Methods

Callback that is triggered when a key is pressed.

Callback that is triggered when modifiers are pressed.

Callback that is triggered when the keymap is updated.

Callback that is triggered when repeat info is updated.

Callback that is triggered when the keyboard is destroyed.

Implementors