theobserver

Crates.iotheobserver
lib.rstheobserver
version0.2.0
sourcesrc
created_at2023-10-18 20:31:43.884129
updated_at2023-10-19 11:47:27.311262
descriptionA library to read pen pressure using evdev
homepagehttps://codeberg.org/may/theobserver/src/branch/main
repositoryhttps://codeberg.org/may/theobserver/src/branch/main
max_upload_size
id1007167
size10,896
(jas-dzied)

documentation

https://codeberg.org/may/theobserver/src/branch/main

README

fn main() {
    let device = theobserver::get_device();
    let mut pen = theobserver::watch_device(device);

    loop {
        pen.process_events();
        println!("pressure: {}", pen.pressure());
    }
}
Commit count: 0

cargo fmt