Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/omentic/nim-xkbcommon
A light wrapper over libxkbcommon.so.
https://github.com/omentic/nim-xkbcommon
nim wrapper xkb xkbcommon
Last synced: 2 days ago
JSON representation
A light wrapper over libxkbcommon.so.
- Host: GitHub
- URL: https://github.com/omentic/nim-xkbcommon
- Owner: omentic
- License: mit
- Created: 2022-07-31T05:27:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-31T20:26:17.000Z (over 2 years ago)
- Last Synced: 2024-11-02T12:42:39.633Z (about 2 months ago)
- Topics: nim, wrapper, xkb, xkbcommon
- Language: Nim
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nim-xkbcommon
A 1:1 Nim wrapper for [libxkbcommon](https://xkbcommon.org/).
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](https://github.com/ifreund/zig-xkbcommon) and [xkbcommon-rs](https://github.com/rust-x-bindings/xkbcommon-rs)