theobserver 0.2.0

A library to read pen pressure using evdev
Documentation
1
2
3
4
5
6
7
8
9
10
11
```rust
fn main() {
    let device = theobserver::get_device();
    let mut pen = theobserver::watch_device(device);

    loop {
        pen.process_events();
        println!("pressure: {}", pen.pressure());
    }
}
```