In scan_device(), the returned device name was computed wrongly. It is opened a device, then if it was found as touchscreen it is computed the name again in a different way.
It is better (and simpler) to return a strdup() of the last successfully opened device.
I suspect that in may setup I faced the bug because I have a number of entries > 9 and this create an arrangement of entries where
In scan_device(), the returned device name was computed wrongly. It is opened a device, then if it was found as touchscreen it is computed the name again in a different way. It is better (and simpler) to return a strdup() of the last successfully opened device.
I suspect that in may setup I faced the bug because I have a number of entries > 9 and this create an arrangement of entries where