A lot more obvious what it does, it creates a libinput context from a udev
handler (rather than creating the udev handler).
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
*/
struct libinput *
-libinput_create_udev(const struct libinput_interface *interface,
- void *user_data,
- struct udev *udev,
- const char *seat_id);
+libinput_create_from_udev(const struct libinput_interface *interface,
+ void *user_data,
+ struct udev *udev,
+ const char *seat_id);
int
libinput_get_fd(struct libinput *libinput);
}
LIBINPUT_EXPORT struct libinput *
-libinput_create_udev(const struct libinput_interface *interface,
- void *user_data,
- struct udev *udev,
- const char *seat_id)
+libinput_create_from_udev(const struct libinput_interface *interface,
+ void *user_data,
+ struct udev *udev,
+ const char *seat_id)
{
struct udev_input *input;