Lines Matching refs:uinput
47 #include "uinput.h"
162 fd = open("/dev/uinput", O_RDWR);
164 fd = open("/dev/input/uinput", O_RDWR);
166 fd = open("/dev/misc/uinput", O_RDWR);
205 error("Can't create uinput device: %s (%d)",
304 send_key(fake->uinput, key);
309 ioctl(fake->uinput, UI_DEV_DESTROY);
310 close(fake->uinput);
311 fake->uinput = -1;
335 fake->uinput = uinput_create(idev->name);
336 if (fake->uinput < 0) {
900 if (fake->uinput >= 0) {
901 ioctl(fake->uinput, UI_DEV_DESTROY);
902 close(fake->uinput);
903 fake->uinput = -1;