~apropos/xkbcommon

A light Nim wrapper over libxkbcommon.so.
4c0f36b4 — j-james 2 years ago
Create README
9d31dd24 — j-james 2 years ago
Consistent _cap suffixes
b4d50f4c — j-james 2 years ago
Get xkb compiling

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~apropos/xkbcommon
read/write
git@git.sr.ht:~apropos/xkbcommon

You can also use your local clone with git send-email.

#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 T parameters with ptr types
  • [ ] init(t: typedesc[T]) style init functions
  • [ ] Potential higher level bindings: look into zig-xkbcommon and xkbcommon-rs