On 18 February 2014 07:09, Peter Hutterer <peter.hutte...@who-t.net> wrote: > libevdev wraps the various peculiarities of the evdev kernel API into a > type-safe API. It also buffers the device so checking for specific features at > a later time is easier than re-issuing the ioctls. Plus, it gives us almost > free support for SYN_DROPPED events (in the following patch). > > This patch switches all the bit checks over to libevdev and leaves the event > processing as-is. Makes it easier to review.
This looks fine to me. Can we also add a libevdev_set_clock_id(device->evdev, CLOCK_MONOTONIC); on device creation? CLOCK_MONOTONIC is already a hard dependency in configure.ac and it's required for good interoperability between xwayland (which uses it for its time stamps) and mutter. Rui _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel