xkbcommon/libxkbcommon
关于
keymap handling library for toolkits and window systems
开发工具实测星标增长
- 24小时
- +1
- 7天
- +1
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文xkbcommon
xkbcommon is a keyboard keymap compiler and support library which processes keymaps as defined by the XKB (X Keyboard Extension) specification (minus some legacy features). It also contains a module for handling Compose and dead keys, a separate registry library for listing available keyboard layouts and a fair set of CLI tools to support keyboard layouts development.
xkbcommon is the standard keymap handling library on Wayland and is used by compositors, toolkits, and applications to handle keyboard state and translate key events into characters and actions.
Quick Guide
Introduction to XKB
See Introduction to XKB for the essentials of XKB concepts and how a keymap is built.
Features
xkbcommon implements most of the XKB specification, except for some obscure features. xkbcommon has notable additions that lift hard-coded limitation of the X11 Protocol (e.g. keycodes and modifiers).
See the Compatibility page for further details.
Using the library
- Introduction on how to use this library
-
Full API reference.
While libxkbcommon’s API is somewhat derived from the classic XKB API as found in
X11/extensions/XKB.hand friends, it has been substantially reworked to expose fewer internal details to clients. - History of the xkbcommon changes by version
- Frequently Asked Questions
Developing keyboard layouts
- Quick start for adding a *custom layout* or option
- Documentation of keymap components and keymap text syntax
-
xkbcommon offers a set of CLI
tools, grouped under the
xkbcliapplication. - Frequently Asked Questions
Building
xkbcommon is built with Meson:
meson setup build
meson compile -C build
meson test -C build
See the building guide for dependencies and configuration options.
Layouts database
xkbcommon does not distribute a keyboard layout dataset itself, other than for testing purposes. The most common dataset is xkeyboard-config, which is used by all current distributions for their XKB data. Further information on xkeyboard-config is available at its homepage and at its repository.
The dataset for Compose is distributed in libX11, as part of the X locale data.
Development
- Project’s homepage
- https://xkbcommon.org
- Repository
- https://github.com/xkbcommon/libxkbcommon
- Contributions
Patches are always welcome, and may be filed at:
- GitHub pull request (preferred)
- [email protected]
- Bug reports, questions
Bug reports and questions are also welcome, and may be filed at GitHub.
For general topics, prefer opening a discussion.
- Maintainers
License
See the LICENSE file.
Credits
Many thanks are due to Dan Nicholson for his heroic work in getting xkbcommon off the ground initially.
探索相关项目
加载中…