CHICKEN Scheme bindings for libxkbcommon.
Building
Dependencies:
- CHICKEN 5
- libxkbcommon
Run chicken-install
in this directory to build and install the
bindings. You may need to manually copy the file
xkb-common-keysyms.scm
into your CHICKEN include path as
chicken-install
does not seem to install includes properly (at
least for me.
(import (xkbcommon))
(import (xkbcommon compose))
(include "xkbcommon-keysyms.scm")
Note that xkbcommon-keysyms should be included, rather than imported. This is due to the large number of symbols that would have to be exported by a module.
Procedures use the usual kebab-case
convention.
Struct members are available as SRFI-17 getters/setters named
struct-name-member-name
, e.g.
xkb-rule-names-rules
.
Enums use the convention enum-prefix/kind
, e.g.
xkb-mod-name/shift
.