diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-05-07 18:17:55 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-08 14:14:12 +1000 |
commit | c3ab0ae4f3f04da7018173662ede174c97710c8a (patch) | |
tree | c224e3f79e55a4e75c74f37179dbdf9c5f26d6d4 /src/synapticsstr.h | |
parent | c50dba0b04f2115a5d23ed4a785c101f9b26900b (diff) |
Add model-specific edges for appletouch.
Needs around 8.5% to be useable.
I created a table to iterate through the different products rather than
using if/else branches. I can enumerate the appletouch product_ids, but I
suspect they will all be around the same range (hence the PRODUCT_ANY). If
another product id shows different behavior, we can just add an entry to
the table as appropriate.
I also changed the default eheight to be 5.4% to match the spec.
Reported-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/synapticsstr.h')
-rw-r--r-- | src/synapticsstr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synapticsstr.h b/src/synapticsstr.h index ca3d26e..945aa0d 100644 --- a/src/synapticsstr.h +++ b/src/synapticsstr.h @@ -82,7 +82,8 @@ enum TapButtonState { enum TouchpadModel { MODEL_UNKNOWN = 0, MODEL_SYNAPTICS, - MODEL_ALPS + MODEL_ALPS, + MODEL_APPLETOUCH }; typedef struct _SynapticsParameters |