2 unstable releases
0.2.0 | Oct 19, 2023 |
---|---|
0.1.0 | Oct 18, 2023 |
#1573 in Game dev
22 downloads per month
6KB
137 lines
fn main() {
let device = theobserver::get_device();
let mut pen = theobserver::watch_device(device);
loop {
pen.process_events();
println!("pressure: {}", pen.pressure());
}
}
Dependencies
~4.5MB
~100K SLoC