Add mouse emulation for touch devices (#2277)

This commit is contained in:
Simon Long 2024-10-29 19:22:01 +00:00 committed by GitHub
parent 4d3efb4339
commit 45a9bd95e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 24 additions and 3 deletions

View file

@ -690,7 +690,7 @@ extending outward from the snapped edge.
## TOUCH
```
<touch deviceName="" mapToOutput="" />
<touch deviceName="" mapToOutput="" mouseEmulation="no"/>
```
*<touch deviceName="" />*
@ -704,6 +704,10 @@ extending outward from the snapped edge.
Direct cursor movement to a specified output. If the compositor is
running in nested mode, this does not take effect.
*<touch mouseEmulation="" />*
If mouseEmulation is enabled, all touch up/down/motion events are
translated to mouse button and motion events.
## TABLET
```