From 0b7cbc8b109e840b313e63c23e40cdffcfcbd445 Mon Sep 17 00:00:00 2001 From: Ingmar Ellenberger Date: Sun, 17 Dec 2006 21:46:09 +0100 Subject: Implement 2-finger emulation for ALPS touchpads. A new parameter, EmulateTwoFingerMinZ, makes the driver emulate 2-finger scrolling (and tapping) when the finger pressure is big enough. This is no real multi-finger detection (the ALPS hardware can't do that), but seems to work quite well in practice. From Ingmar Ellenberger. --- synaptics.h | 1 + 1 file changed, 1 insertion(+) (limited to 'synaptics.h') diff --git a/synaptics.h b/synaptics.h index 12fe8dc..0f4cb14 100644 --- a/synaptics.h +++ b/synaptics.h @@ -59,6 +59,7 @@ typedef struct _SynapticsSHM Bool fast_taps; /* Faster reaction to single taps */ 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 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