Add touch gestures for mouse emulation

Add several single and multitouch gestures to simulate various mouse
actions that would otherwise be impossible to perform.

This replaces the old system where you could select which mouse button
a single touch would generate.
This commit is contained in:
Pierre Ossman
2020-05-18 15:17:06 +02:00
committed by Samuel Mannehed
parent 440ec8a0b6
commit 8be924c9d9
14 changed files with 2562 additions and 602 deletions

View File

@@ -26,12 +26,6 @@ protocol stream.
moved to the remote session when a `mousedown` or `touchstart`
event is received. Enabled by default.
`touchButton`
- Is a `long` controlling the button mask that should be simulated
when a touch event is recieved. Uses the same values as
[`MouseEvent.button`](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button).
Is set to `1` by default.
`clipViewport`
- Is a `boolean` indicating if the remote session should be clipped
to its container. When disabled scrollbars will be shown to handle