diff options
author | Ingmar Ellenberger <ingmar@site42.com> | 2006-12-17 21:46:09 +0100 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-12-17 21:46:09 +0100 |
commit | 0b7cbc8b109e840b313e63c23e40cdffcfcbd445 (patch) | |
tree | 9633afad7f9c582de6ebeafb45ffed5201c8199f /synaptics.h | |
parent | e72e1c10e90f02c707e5ee28ff9c9e70be80e355 (diff) |
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.
Diffstat (limited to 'synaptics.h')
-rw-r--r-- | synaptics.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |