From 1fa320cb9937e1f1c28b22c1b0b688758ed661d5 Mon Sep 17 00:00:00 2001 From: Simon Long Date: Sun, 20 Oct 2024 11:51:43 +0100 Subject: [PATCH] Add mouseEmulation parameter to touch devices --- docs/labwc-config.5.scd | 6 +++++- docs/rc.xml.all | 5 ++++- include/config/touch.h | 1 + src/config/rcxml.c | 2 ++ src/input/cursor.c | 1 + src/seat.c | 10 +++++++++- 6 files changed, 22 insertions(+), 3 deletions(-) diff --git a/docs/labwc-config.5.scd b/docs/labwc-config.5.scd index f2088771..9a0fe7c0 100644 --- a/docs/labwc-config.5.scd +++ b/docs/labwc-config.5.scd @@ -622,7 +622,7 @@ extending outward from the snapped edge. ## TOUCH ``` - + ``` ** @@ -636,6 +636,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. +** + If mouseEmulation is enabled, all touch up/down/motion events are + translated to mouse button and motion events. + ## TABLET ``` diff --git a/docs/rc.xml.all b/docs/rc.xml.all index 35e5c91b..566f9249 100644 --- a/docs/rc.xml.all +++ b/docs/rc.xml.all @@ -484,8 +484,11 @@ Direct cursor movement to a specified output. If the compositor is running in nested mode, this does not take effect. + + If mouseEmulation is enabled, all touch up/down/motion events are + translated to mouse button and motion events. --> - +