No description
Find a file
2022-07-31 13:26:13 -07:00
src Consistent _cap suffixes 2022-07-31 12:05:26 -07:00
.gitignore Initial c2nim translation and cleaning 2022-07-30 20:31:54 -07:00
LICENSE Initial c2nim translation and cleaning 2022-07-30 20:31:54 -07:00
README.md Create README 2022-07-31 13:26:13 -07:00
xkb.nimble Initial c2nim translation and cleaning 2022-07-30 20:31:54 -07:00

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