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

#1020 in GUI

Download history 1615/week @ 2024-01-05 1988/week @ 2024-01-12 1545/week @ 2024-01-19 1355/week @ 2024-01-26 648/week @ 2024-02-02 2014/week @ 2024-02-09 2211/week @ 2024-02-16 1612/week @ 2024-02-23 1861/week @ 2024-03-01 2495/week @ 2024-03-08 1910/week @ 2024-03-15 2444/week @ 2024-03-22 2632/week @ 2024-03-29 1755/week @ 2024-04-05 2372/week @ 2024-04-12 1894/week @ 2024-04-19

9,006 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

~375–650KB