[−][src]Trait wlroots::input::keyboard::Handler
Provided Methods
fn on_key(
&mut self,
compositor_handle: Handle,
keyboard_handle: Handle,
event: &Key
)
&mut self,
compositor_handle: Handle,
keyboard_handle: Handle,
event: &Key
)
Callback that is triggered when a key is pressed.
fn modifiers(&mut self, compositor_handle: Handle, keyboard_handle: Handle)
Callback that is triggered when modifiers are pressed.
fn keymap(&mut self, compositor_handle: Handle, keyboard_handle: Handle)
Callback that is triggered when the keymap is updated.
fn repeat_info(&mut self, compositor_handle: Handle, keyboard_handle: Handle)
Callback that is triggered when repeat info is updated.
fn destroyed(&mut self, compositor_handle: Handle, keyboard_handle: Handle)
Callback that is triggered when the keyboard is destroyed.