On 8/11/2014 08:07 , Bill Spitzak wrote:
Nevermind, it sounds like this is in *addition* to an api that lets you
get the set of all keys on the device. So it is just a convenience for
the (probably common) case where the caller is only testing for a
particular key.

if you're talking about libinput_device_get_keys(), you'll have noticed that it's deprecated and slated for removal.

again: what's the point of providing a set of all keys to the caller? What will the caller do with that set, other than checking the set for certain keys? (i.e. exactly what has_key() does, with error checking, type safety, no custom bit macros, etc.)

Cheers,
  Peter

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to