OSDN Git Service

hid-multitouch: remove .maxcontacts field for eGalax
authorBenjamin Tissoires <benjamin.tissoires@enac.fr>
Tue, 22 Nov 2011 16:22:55 +0000 (17:22 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 25 Jun 2012 12:53:45 +0000 (20:53 +0800)
Some eGalax devices are 4 or 5 fingers touches, wereas others are 2.
This patch removes the limit in which all eGalax presents 2 touches.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
drivers/hid/hid-multitouch.c

index fd177c9..48c38d5 100644 (file)
@@ -171,7 +171,6 @@ struct mt_class mt_classes[] = {
        { .name = MT_CLS_EGALAX,
                .quirks =  MT_QUIRK_SLOT_IS_CONTACTID |
                        MT_QUIRK_VALID_IS_INRANGE,
-               .maxcontacts = 2,
                .sn_move = 4096,
                .sn_pressure = 32,
        },