HID: multitouch: Get the contact ID from HID_DG_TRANSDUCER_INDEX fields in case of...
authorKerem Karabay <kekrby@gmail.com>
Tue, 27 May 2025 16:43:13 +0000 (22:13 +0530)
committerJiri Kosina <jkosina@suse.com>
Wed, 11 Jun 2025 09:25:26 +0000 (11:25 +0200)
commitf41d736acc039d86512951f4e874b0f5e666babf
tree997486383bf8a2c69386bb3c8d2e14fb9c0dec96
parent2043ae9019e0f75c7785048230586c3f3ca0a2a4
HID: multitouch: Get the contact ID from HID_DG_TRANSDUCER_INDEX fields in case of Apple Touch Bar

In Apple Touch Bar, the contact ID is contained in fields with the
HID_DG_TRANSDUCER_INDEX usage rather than HID_DG_CONTACTID, thus differing
from the HID spec. Add a quirk for the same.

Acked-by: Benjamin Tissoires <bentiss@kernel.org>
Signed-off-by: Kerem Karabay <kekrby@gmail.com>
Co-developed-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-multitouch.c