Skip to content

Kn4ughty/wlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wlib

A simple library for creating a wayland window and manipulating its raw pixel buffer.

crates.io, docs.rs

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-headers installed to get the named raw key codes.

Example

main.rs outputs:

image

About

Easy window creation for wayland. (Like Xlib)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages