9 releases
Uses new Rust 2024
| 0.2.5 | Feb 21, 2026 |
|---|---|
| 0.2.3 | Feb 13, 2026 |
| 0.1.3 | Feb 8, 2026 |
#1055 in Hardware support
36KB
807 lines
Wlib
A simple library for creating a wayland window and manipulating its raw pixel buffer.
Use case
If you want to create a CPU rendered application, and have wayland support. For example, a doomlike game or a software rasteriser.
Features
- Keyboard and mouse input
- Custom window sizing
- Confirm close
Requirements
- Building needs
linux-headersinstalled to get the named raw key codes.
Example
main.rs outputs:
Dependencies
~11–18MB
~282K SLoC