• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

.github/workflows/23-Nov-2023-9590

bench/23-Nov-2023-585333

config/23-Nov-2023-3,4932,679

doc/23-Nov-2023-1,058774

fuzz/23-Nov-2023-305268

scripts/23-Nov-2023-212154

src/23-Nov-2023-30,12423,827

test/23-Nov-2023-56,84751,890

tools/23-Nov-2023-3,3142,640

xkbcommon/23-Nov-2023-6,6363,033

.editorconfigD23-Nov-2023214 1512

.uncrustify.cfgD23-Nov-20235.4 KiB229228

Android.bpD23-Nov-20233.2 KiB9894

LICENSED23-Nov-20239.9 KiB216158

METADATAD23-Nov-2023658 2120

MODULE_LICENSE_MITD23-Nov-20230

NEWSD23-Nov-202321.7 KiB686446

OWNERSD23-Nov-2023135 76

PACKAGINGD23-Nov-20232.7 KiB7756

README.mdD23-Nov-20232.2 KiB7449

config.hD23-Nov-20231 KiB6228

meson.buildD23-Nov-202324.3 KiB759721

meson_options.txtD23-Nov-20231.4 KiB7069

xkbcommon-x11.mapD23-Nov-2023165 109

xkbcommon.mapD23-Nov-20232.6 KiB112107

xkbregistry.mapD23-Nov-20231.8 KiB6261

README.md

1# libxkbcommon
2
3libxkbcommon is a keyboard keymap compiler and support library which
4processes a reduced subset of keymaps as defined by the XKB (X Keyboard
5Extension) specification.  It also contains a module for handling Compose
6and dead keys and a separate library for listing available keyboard layouts.
7
8## Quick Guide
9
10See [Quick Guide](doc/quick-guide.md).
11
12## Building
13
14libxkbcommon is built with [Meson](http://mesonbuild.com/):
15
16    meson setup build
17    ninja -C build
18
19To build for use with Wayland, you can disable X11 support while still
20using the X11 keyboard configuration resource files thusly:
21
22    meson setup build \
23        -Denable-x11=false \
24        -Dxkb-config-root=/usr/share/X11/xkb \
25        -Dx-locale-root=/usr/share/X11/locale
26    ninja -C build
27
28## API
29
30While libxkbcommon's API is somewhat derived from the classic XKB API as found
31in X11/extensions/XKB.h and friends, it has been substantially reworked to
32expose fewer internal details to clients.
33
34See the [API Documentation](https://xkbcommon.org/doc/current/modules.html).
35
36## Dataset
37
38libxkbcommon does not distribute a keymap dataset itself, other than for
39testing purposes.  The most common dataset is xkeyboard-config, which is used
40by all current distributions for their X11 XKB data.  More information on
41xkeyboard-config is available here:
42    https://www.freedesktop.org/wiki/Software/XKeyboardConfig
43
44The dataset for Compose is distributed in libX11, as part of the X locale
45data.
46
47## Relation to X11
48
49See [Compatibility](doc/compat.md) notes.
50
51## Development
52
53An extremely rudimentary homepage can be found at
54    https://xkbcommon.org
55
56xkbcommon is maintained in git at
57    https://github.com/xkbcommon/libxkbcommon
58
59Patches are always welcome, and may be sent to either
60    <xorg-devel@lists.x.org> or <wayland-devel@lists.freedesktop.org>
61or in a [GitHub](https://github.com/xkbcommon/libxkbcommon) pull request.
62
63Bug reports (and usage questions) are also welcome, and may be filed at
64[GitHub](https://github.com/xkbcommon/libxkbcommon/issues).
65
66The maintainers are
67- Daniel Stone <daniel@fooishbar.org>
68- Ran Benita <ran@unusedvar.com>
69
70## Credits
71
72Many thanks are due to Dan Nicholson for his heroic work in getting xkbcommon
73off the ground initially.
74