Searched refs:uinput_dev (Results 1 – 2 of 2) sorted by relevance
52 struct libevdev_uinput *uinput_dev; in alloc_uinput_device() local54 uinput_dev = calloc(1, sizeof(struct libevdev_uinput)); in alloc_uinput_device()55 if (uinput_dev) { in alloc_uinput_device()56 uinput_dev->name = strdup(name); in alloc_uinput_device()57 uinput_dev->fd = -1; in alloc_uinput_device()60 return uinput_dev; in alloc_uinput_device()178 libevdev_uinput_get_fd(const struct libevdev_uinput *uinput_dev) in libevdev_uinput_get_fd() argument180 return uinput_dev->fd; in libevdev_uinput_get_fd()191 fetch_syspath_and_devnode(struct libevdev_uinput *uinput_dev) in fetch_syspath_and_devnode() argument197 rc = ioctl(uinput_dev->fd, in fetch_syspath_and_devnode()[all …]
155 struct libevdev_uinput **uinput_dev);168 void libevdev_uinput_destroy(struct libevdev_uinput *uinput_dev);183 int libevdev_uinput_get_fd(const struct libevdev_uinput *uinput_dev);209 const char* libevdev_uinput_get_syspath(struct libevdev_uinput *uinput_dev);231 const char* libevdev_uinput_get_devnode(struct libevdev_uinput *uinput_dev);247 int libevdev_uinput_write_event(const struct libevdev_uinput *uinput_dev,