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

#958 in GUI

Download history 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 68/week @ 2024-10-07 1418/week @ 2024-10-14 1518/week @ 2024-10-21 1830/week @ 2024-10-28 1428/week @ 2024-11-04 577/week @ 2024-11-11 897/week @ 2024-11-18 1549/week @ 2024-11-25

4,650 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