Commit 58ad34bf authored by Xianhan Yu's avatar Xianhan Yu Committed by Jiri Kosina

HID: multitouch: fix maxcontacts problem on GeneralTouch

Fix maxcontacts problem for PWT GeneralTouch multi-touchscreen.

Our device didn't contain HID_DG_CONTACTMAX usage. This usage use to describe
touchscreen's maxcontacts for hid-multitouch.c to get maxcontacts automatic. We
fix the device that driver can get maxcontact from our device, hence it doesn't
need .maxcontact=10. Now there is just one device class can fix all our PWT
touchscreen.
Signed-off-by: default avatarXianhan Yu <aroundight77@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 65b258e9
...@@ -210,8 +210,7 @@ static struct mt_class mt_classes[] = { ...@@ -210,8 +210,7 @@ static struct mt_class mt_classes[] = {
}, },
{ .name = MT_CLS_GENERALTOUCH_PWT_TENFINGERS, { .name = MT_CLS_GENERALTOUCH_PWT_TENFINGERS,
.quirks = MT_QUIRK_NOT_SEEN_MEANS_UP | .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP |
MT_QUIRK_SLOT_IS_CONTACTNUMBER, MT_QUIRK_SLOT_IS_CONTACTNUMBER
.maxcontacts = 10
}, },
{ .name = MT_CLS_FLATFROG, { .name = MT_CLS_FLATFROG,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment