From 3ddc067c873479d886d6bc576db9dcb6318c88af Mon Sep 17 00:00:00 2001 From: Marcel Dejean Date: Fri, 13 Feb 2009 19:00:07 -0500 Subject: two-finger emulation through fingerWidth Signed-off-by: Christoph Brill Signed-off-by: Peter Hutterer --- include/synaptics-properties.h | 3 +++ include/synaptics.h | 1 + 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/synaptics-properties.h b/include/synaptics-properties.h index be8e3bf..0b8975c 100644 --- a/include/synaptics-properties.h +++ b/include/synaptics-properties.h @@ -57,6 +57,9 @@ /* 32 bit */ #define SYNAPTICS_PROP_TWOFINGER_PRESSURE "Synaptics Two-Finger Pressure" +/* 32 bit */ +#define SYNAPTICS_PROP_TWOFINGER_WIDTH "Synaptics Two-Finger Width" + /* 32 bit, 2 values, vert, horiz */ #define SYNAPTICS_PROP_SCROLL_DISTANCE "Synaptics Scrolling Distance" diff --git a/include/synaptics.h b/include/synaptics.h index 7e55293..28031d5 100644 --- a/include/synaptics.h +++ b/include/synaptics.h @@ -88,6 +88,7 @@ typedef struct _SynapticsSHM int emulate_mid_button_time; /* Max time between left and right button presses to emulate a middle button press. */ int emulate_twofinger_z; /* pressure threshold to emulate two finger touch (for Alps) */ + int emulate_twofinger_w; /* Finger width threshold to emulate two finger touch */ int scroll_dist_vert; /* Scrolling distance in absolute coordinates */ int scroll_dist_horiz; /* Scrolling distance in absolute coordinates */ Bool scroll_edge_vert; /* Enable/disable vertical scrolling on right edge */ -- cgit v1.2.3