Multiple touchscreen support using identical hardware
I am in the POS industry and have come across hardware with two touchscreens.
When those touchscreen hardware attached to the same machine are different, it's easy to use MatchProduct
in two InputClass
sections.
But when they are identical, there seems to be no way to distinguish between them. Product name is identical, USB ID is identical. Obviously the device path is different but /dev/input/eventX
is not stable, as other devices may be plugged in that would make the event device numbers change.
BusID
only exists for Device
sections but there is no equivalent MatchBusID
for InputClass
.
Is there a way to match a device exactly today in this situation, or should I implement MatchBusID
?