Lines Matching refs:uinput_fd
206 static int uinput_fd = -1; variable
406 uinput_fd = uinput_create(name); in init_uinput()
407 if (uinput_fd < 0) { in init_uinput()
409 __FUNCTION__, name, uinput_fd); in init_uinput()
412 __FUNCTION__, name, uinput_fd); in init_uinput()
414 return uinput_fd; in init_uinput()
420 if (uinput_fd > 0) { in close_uinput()
421 ioctl(uinput_fd, UI_DEV_DESTROY); in close_uinput()
423 close(uinput_fd); in close_uinput()
424 uinput_fd = -1; in close_uinput()
768 send_key(uinput_fd, key_map[i].mapped_id, pressed); in handle_rc_passthrough_cmd()
774 send_key(uinput_fd, key_map[i].mapped_id, 0); in handle_rc_passthrough_cmd()