aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/common.h b/common.h
new file mode 100644
index 0000000..09f6193
--- /dev/null
+++ b/common.h
@@ -0,0 +1,24 @@
+/* See LICENSE file for copyright and license details. */
+#include "libgamepad.h"
+
+#include <ctype.h>
+#include <dirent.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <limits.h>
+#include <stddef.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <time.h>
+#include <unistd.h>
+
+#include <libevdev/libevdev.h>
+#include <libudev.h>
+
+
+struct libgamepad_attachment_monitor {
+ struct udev *udev;
+ struct udev_monitor *monitor;
+};