Read /dev/input for touchscreen (#3)

This commit is contained in:
Jon Dough
2025-05-04 03:00:34 +00:00
committed by GitHub
parent dfe065d26a
commit 6cc8e06e89
5 changed files with 138 additions and 29 deletions

View File

@@ -51,7 +51,7 @@ Usage for most of the included windows and window-likes are included in `docs/wi
More or the less the same, but includes with an onscreen keyboard for touchscreens.
`evtest` needs to be installed. Currently, the input device is assumed to be at `/dev/input/by-path/first-touchscreen`, but this is easily editable (see `src/bin/wm.rs`). So, for touchscreen support, the user running `ming` needs to have read permissions for that `dev/input/` file.
Currently, the touchscreen input device is assumed to be at `/dev/input/by-path/first-touchscreen`, but this is easily editable (see `src/bin/wm.rs`). For touchscreen support, the user running `ming` needs to have read permissions for that `/dev/input/` file.
```
ming touch