[][src]Type Definition wlroots::input::manager::KeyboardAdded

type KeyboardAdded = fn(compositor_handle: Handle, keyboard_handle: Handle) -> Option<Box<dyn Handler>>;

Callback triggered when a keyboard device is added.

Panics

Any panic in this function will cause the process to abort.