Lines Matching refs:uinput
2 uinput module
8 uinput is a kernel module that makes it possible to emulate input devices
9 from userspace. By writing to /dev/uinput (or /dev/input/uinput) device, a
19 linux/uinput.h
21 The uinput header defines ioctls to create, set up, and destroy virtual
28 create uinput devices and send events. libevdev is less error-prone than
29 accessing uinput directly, and should be considered for new software.
46 #include <linux/uinput.h>
66 int fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK);
120 #include <linux/uinput.h>
129 int fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK);
178 uinput old interface
181 Before uinput version 5, there wasn't a dedicated ioctl to set up a virtual
182 device. Programs supporting older versions of uinput interface need to fill
183 a uinput_user_dev structure and write it to the uinput file descriptor to
184 configure the new uinput device. New code should not use the old interface
185 but interact with uinput via ioctl calls, or use libevdev.
189 #include <linux/uinput.h>
198 fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK);
214 snprintf(uud.name, UINPUT_MAX_NAME_SIZE, "uinput old interface");