diff options
author | Marcel Dejean <Doodle777@gmail.com> | 2009-02-13 19:00:07 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-20 11:32:46 +1000 |
commit | 3ddc067c873479d886d6bc576db9dcb6318c88af (patch) | |
tree | 2ed4e945bac31d55b6e24a1b9f7f96ef06c904d4 /include | |
parent | b0704a9d3c7a25e0b160414983025db9d14be496 (diff) |
two-finger emulation through fingerWidth
Signed-off-by: Christoph Brill <egore911@egore911.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/synaptics-properties.h | 3 | ||||
-rw-r--r-- | include/synaptics.h | 1 |
2 files changed, 4 insertions, 0 deletions
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 */ |