2 unstable releases
0.2.0 | Oct 19, 2023 |
---|---|
0.1.0 | Oct 18, 2023 |
#1599 in Game dev
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
~102K SLoC