GNOME Bugzilla – Bug 704269
evdev: add a way for applications to tweak how devices are opened
Last modified: 2013-08-13 07:42:18 UTC
In some cases, applications (or actually, wayland compositors) don't have the required permissions to access evdev directly, but can do so with an external helper like weston-launch. Allow them to do so with a custom callback that replaces the regular open() path.
Created attachment 249217 [details] [review] evdev: add a way for applications to tweak how devices are opened
Created attachment 249222 [details] [review] evdev: add a way for applications to tweak how devices are opened In some cases, applications (or actually, wayland compositors) don't have the required permissions to access evdev directly, but can do so with an external helper like weston-launch. Allow them to do so with a custom callback that replaces the regular open() path. Now with more callback data!
Review of attachment 249222 [details] [review]: holy ad hoc API, Batman! anyway, looks generally okay to me.
Attachment 249222 [details] pushed as 26b2852 - evdev: add a way for applications to tweak how devices are opened