mirror of
https://github.com/j-james/nim-xkbcommon
synced 2026-01-15 05:01:38 +00:00
No description
| src | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| xkb.nimble | ||
nim-xkbcommon
A 1:1 Nim wrapper for libxkbcommon.
These bindings are currently quite C-like, and subject to cleanup in the future (though they do follow Nim naming conventions).
The keysyms.nim file in particular is nasty: Constants describing specific keyboard keys are pretty much the antithesis to style insensitivity.
Installation and Usage
nimble install xkb
Todo
- Write some tests
- Replace all the
ptr Tparameters with ptr types init(t: typedesc[T])style init functions- Potential higher level bindings: look into zig-xkbcommon and xkbcommon-rs