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

#956 in GUI

Download history 2203/week @ 2024-09-21 1903/week @ 2024-09-28 518/week @ 2024-10-05 1251/week @ 2024-10-12 1392/week @ 2024-10-19 1729/week @ 2024-10-26 1729/week @ 2024-11-02 221/week @ 2024-11-09 882/week @ 2024-11-16 1861/week @ 2024-11-23 1831/week @ 2024-11-30 2737/week @ 2024-12-07 3454/week @ 2024-12-14 1055/week @ 2024-12-21 360/week @ 2024-12-28 1782/week @ 2025-01-04

7,148 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

~385–650KB