GNOME Bugzilla – Bug 784341
Fixes to touchscreen mapping on wayland
Last modified: 2017-07-12 21:23:08 UTC
Attaching a couple of patches. The first one unbreaks the input/output physical size heuristics that are necessary if there's more than one output. I found the second patch helping with some touchscreens I've got for testing, as those apparently don't get the udev vendor/model properties that we expect here.
Created attachment 354691 [details] [review] common: Fix typo in udev GsdDeviceManager implementation This would yield the wrong size, specially harmful for touchscreens as there's no other backing heuristic here. This may result in touchscreens being assigned the wrong output if there's several of them.
Created attachment 354692 [details] [review] common: Try harder to get devices' vendor/product from udev If the device has no ID_VENDOR_ID/ID_MODEL_ID udev properties, resort to reading those from sysfs attributes.
Review of attachment 354691 [details] [review]: oops ++
Review of attachment 354692 [details] [review]: ok
Both are pushed now, thanks! Attachment 354691 [details] pushed as d0ff814 - common: Fix typo in udev GsdDeviceManager implementation Attachment 354692 [details] pushed as b1d12b0 - common: Try harder to get devices' vendor/product from udev