Lines Matching full:uinput
50 #include "uinput.h"
174 int uinput;
189 uint16_t uinput;
392 send_key(control->uinput, key_map[i].uinput, 1);
393 send_key(control->uinput, key_map[i].uinput, 0);
397 send_key(control->uinput, key_map[i].uinput, pressed);
428 if (control->uinput >= 0) {
432 DBG("AVRCP: closing uinput for %s", address);
434 ioctl(control->uinput, UI_DEV_DESTROY);
435 close(control->uinput);
436 control->uinput = -1;
598 fd = open("/dev/uinput", O_RDWR);
600 fd = open("/dev/input/uinput", O_RDWR);
602 fd = open("/dev/misc/uinput", O_RDWR);
636 ioctl(fd, UI_SET_KEYBIT, key_map[i].uinput);
640 error("Can't create uinput device: %s (%d)",
670 control->uinput = uinput_create(uinput_dev_name);
671 if (control->uinput < 0)
672 error("AVRCP: failed to init uinput for %s", address);
674 DBG("AVRCP: uinput initialized for %s", address);
1170 control->uinput = -1;