On Wed, Jul 01, 2015 at 04:08:49PM +1000, Peter Hutterer wrote: > Only firmware v4 (and probably whatever comes in the future) have resolution > set, for the first couple of touchpads we need size hints. Add a callout that > looks at the properties on the touchpad and decides the firmware version. > > The udev/hwdb is two-stage: the callout sets LIBINPUT_MODEL_FIRMWARE_VERSION > which is then used in the hwdb to look up the actual size hint. This way we > can keep the code relatively stable, the actual database of entries is just a > text file. > > Size for the touchpads is pretty much arbitrary at this point. The v1, v2 > sizes are the ones from a Lenovo T61 which is a Synaptics touchpad but > probably the same vintage. > > Signed-off-by: Peter Hutterer <[email protected]>
we got information from elantech that all the touchpads pre-v4 have the same resolution. I've sent a patch for systemd to fix this at the lowest level https://github.com/systemd/systemd/pull/467 and this will change this patchset too. still waiting on ALPS for comments. no urgency for review at this point. Cheers, Peter _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
