[][src]Struct wlroots::input::keyboard::Keyboard

pub struct Keyboard { /* fields omitted */ }

Methods

impl Keyboard
[src]

Gets the wlr_input_device associated with this keyboard::Handle

Set the keymap for this Keyboard.

Get the XKB keymap associated with this Keyboard.

Get the keycodes for this keyboard as reported by XKB.

Limitations

wlroots limits this list to WLR_KEYBOARD_KEYS_CAP elements, which at the time of writing is 32.

Get the list of LEDs for this keyboard as reported by XKB.

Get the list of modifiers for this keyboard as reported by XKB.

Get the size of the keymap.

Get the XKB state associated with this Keyboard.

Get the repeat info for this keyboard.

Update the LED lights using the provided bitmap.

1 means one, 0 means off.

Get the modifiers that are currently pressed on the keyboard.

Get the modifier masks for each group.

Trait Implementations

impl Handleable<*mut wlr_input_device, wlr_keyboard> for Keyboard
[src]

Creates a weak reference to the resource.

impl Drop for Keyboard
[src]

Executes the destructor for this type. Read more

impl Debug for Keyboard
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for Keyboard

impl !Sync for Keyboard

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more