mirror of
https://github.com/Astatin3/CC2.git
synced 2026-06-09 00:18:00 -06:00
17 lines
288 B
Markdown
17 lines
288 B
Markdown
|
|
# 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
|
||
|
|
```
|