[−][src]Function smithay_client_toolkit::keyboard::map_keyboard_rmlvo
pub fn map_keyboard_rmlvo<Impl>(
seat: &WlSeat,
rmlvo: RMLVO,
implementation: Impl
) -> Result<WlKeyboard, Error> where
Impl: FnMut(Event<'a>, WlKeyboard) + 'static,
Implement a keyboard for a predefined keymap
This requires you to provide an implementation to receive the events after they have been interpreted with the keymap.
The keymap will be loaded from the provided RMLVO rules. Any keymap provided by the compositor will be ignored.
Returns an error if xkbcommon could not be initialized or the RMLVO specification contained invalid values.