On 02/16/2015 01:05 PM, Peter Hutterer wrote:

besides, this doesn't really help, you usually want to know if a device has
a specific button well before you get the first event. so the real source
to use here would be the capability. That could make sense, I'll have a look
at this, the API would be something like:

libinput_device_has_button(LIBINPUT_DEVICE_CAP_POINTER,
                            button);

Yes that sounds like what I was thinking of.

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to