diff options
author | Clinton Sprain <clintonsprain@gmail.com> | 2014-04-29 19:47:17 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-04-30 11:41:03 +1000 |
commit | efa424b5c9c084c1c1136a68329709c7dc9ddfda (patch) | |
tree | eb510fe1691fca94d50ca1a7ef3e82cced7fbcc0 | |
parent | 7bf27568417691e772e715f8fc6c30ea7ec892d6 (diff) |
Fix product ID cutoff for MODEL_APPLETOUCH/MODEL_UNIBODY_MACBOOK
Some Macbooks are being tagged as MODEL_UNIBODY_MACBOOKs when they should not
be. This causes the default sensitivity to be very low for them, making the
touchpad almost unusable. This change puts those devices into the correct
bucket again.
Signed-off-by: Clinton Sprain <clintonsprain@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/eventcomm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c index 0a6ea48..37de38a 100644 --- a/src/eventcomm.c +++ b/src/eventcomm.c @@ -337,7 +337,9 @@ static struct model_lookup_t model_lookup_table[] = { {0x0002, 0x0007, 0x0007, MODEL_SYNAPTICS}, {0x0002, 0x0008, 0x0008, MODEL_ALPS}, {0x05ac, PRODUCT_ANY, 0x222, MODEL_APPLETOUCH}, - {0x05ac, 0x223, PRODUCT_ANY, MODEL_UNIBODY_MACBOOK}, + {0x05ac, 0x223, 0x228, MODEL_UNIBODY_MACBOOK}, + {0x05ac, 0x229, 0x22b, MODEL_APPLETOUCH}, + {0x05ac, 0x22c, PRODUCT_ANY, MODEL_UNIBODY_MACBOOK}, {0x0002, 0x000e, 0x000e, MODEL_ELANTECH}, {0x0, 0x0, 0x0, 0x0} }; |