mirror of
https://github.com/Astatin3/CC2.git
synced 2026-06-09 00:18:00 -06:00
get touch control example working through /dev/input/event0
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# touch
|
||||
|
||||
Simple touch input reader for Linux evdev devices.
|
||||
|
||||
By default it reads `/dev/input/event0` and prints touch-related events in an
|
||||
`evtest`-style format:
|
||||
|
||||
```sh
|
||||
sudo cargo run
|
||||
```
|
||||
|
||||
To read another input device, pass the device path:
|
||||
|
||||
```sh
|
||||
sudo cargo run -- /dev/input/event1
|
||||
```
|
||||
Reference in New Issue
Block a user