diff options
author | Tero Saarni <tero.saarni@gmail.com> | 2009-07-12 19:24:40 +0300 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-07-16 14:54:15 +1000 |
commit | 0c3fbceb1b2a18f92166fe75c44b5aaada693c4b (patch) | |
tree | bb25e5b2285ad29da4ba293fcec9cca1271bef2e /include | |
parent | afb60a0b2497c5d08cbd1739fa8ae6585c428881 (diff) |
Add configurable x/y resolution to fix sensitivity on wide touchpads.
Synaptics uses anisotropic coordinate system. On some wide touchpads
vertical resolution can be twice as high as horizontal which causes
unequal sensitivity on x/y directions.
VertResolution and HorizResolution can be used to set the resolution.
The ratio of the values is used to compensate x/y sensitivity. The
properties are configured automatically if touchpad reports resolution
and if running on linux 2.6.31 or newer.
Fixes xorg bug #18351.
Signed-off-by: Tero Saarni <tero.saarni@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/synaptics-properties.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/synaptics-properties.h b/include/synaptics-properties.h index b944adb..3153d73 100644 --- a/include/synaptics-properties.h +++ b/include/synaptics-properties.h @@ -149,4 +149,7 @@ * has_double, has_triple */ #define SYNAPTICS_PROP_CAPABILITIES "Synaptics Capabilities" +/* 32 bit unsigned, 2 values, vertical, horizontal in units/millimeter */ +#define SYNAPTICS_PROP_RESOLUTION "Synaptics Pad Resolution" + #endif /* _SYNAPTICS_PROPERTIES_H_ */ |