Crates.io | linuxfb |
lib.rs | linuxfb |
version | 0.3.1 |
source | src |
created_at | 2020-05-10 12:33:56.347229 |
updated_at | 2023-09-21 09:23:47.551278 |
description | Interface to the Linux Framebuffer API |
homepage | |
repository | https://gitlab.com/nilclass/rust-linuxfb |
max_upload_size | |
id | 239618 |
size | 35,854 |
Provides a safe, rusty wrapper around the Linux Framebuffer API (linux/fb.h
).
&mut [u8]
slice to write to)This package does NOT deal with:
First of all, make sure you have access to your framebuffer device.
You can usually do that by running as root (definitely not recommended), or by adding yourself to the video
group.
There are two examples provided in the documentation:
linuxfb::Framebuffer documentation
linuxfb::double::Buffer documentation