mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 09:40:35 -04:00
Tools and bindings for kernel input event device emulation and data capture and replay. Evemu provides a programmatic API to access the kernel input event devices. The original and intended purpose is for supporting multi-touch input, especially with regard to the Ubuntu touch and gesture stack. WWW: http://www.freedesktop.org/wiki/Evemu PR: 218383 Approved by: bapt (mentor)
12 lines
363 B
C
12 lines
363 B
C
--- tools/evemu-record.c.orig 2016-03-01 14:10:40 UTC
|
|
+++ tools/evemu-record.c
|
|
@@ -209,6 +209,9 @@ out:
|
|
return rc;
|
|
}
|
|
|
|
+/* Fix broken linux/input.h ioctl define found in multimedia/v4l_compat as of 2017-04-02 */
|
|
+#undef EVIOCGRAB
|
|
+#define EVIOCGRAB _IOWINT('E', 0x90)
|
|
static inline bool test_grab_device(int fd)
|
|
{
|
|
if (ioctl(fd, EVIOCGRAB, (void*)1) < 0) {
|