26 releases (12 breaking)

Uses old Rust 2015

0.13.1 Jan 2, 2018
0.13.0 Oct 29, 2017
0.12.0 Oct 17, 2017
0.9.1 Jun 2, 2017
0.2.0 Jun 23, 2015

#903 in GUI

Download history 2144/week @ 2024-06-17 2256/week @ 2024-06-24 296/week @ 2024-07-01 1150/week @ 2024-07-08 2400/week @ 2024-07-15 1865/week @ 2024-07-22 1936/week @ 2024-07-29 1717/week @ 2024-08-05 3477/week @ 2024-08-12 1932/week @ 2024-08-19 2056/week @ 2024-08-26 2177/week @ 2024-09-02 1738/week @ 2024-09-09 1816/week @ 2024-09-16 2220/week @ 2024-09-23 1828/week @ 2024-09-30

7,894 downloads per month
Used in 103 crates (via wc-lock)

MIT license

270KB
3K SLoC

wayland-kbd

Keyboard utilities for the wayland-client library. Mainly handling keymaps with the help of libxkbcommon.

Documentation

Available on docs.rs

Documentation for the master branch is also hosted on https://smithay.github.io/wayland-kbd


lib.rs:

Keyboard mapping utility for wayland-client using libxkbcommon.

This library provide a simple implemenation for wl_keyboard objects that use libxkbcommon to interpret the keyboard input according to the keymap provided by the compositor.

Usage

To intialize a wl_keyboard with this crate, simply use the provided register_kbd function. See its documentation for details.

Dependencies

~380–650KB