aboutsummaryrefslogtreecommitdiff
path: root/hid_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'hid_linux.h')
-rw-r--r--hid_linux.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/hid_linux.h b/hid_linux.h
new file mode 100644
index 0000000..a5d978e
--- /dev/null
+++ b/hid_linux.h
@@ -0,0 +1,14 @@
+#ifndef _HID_LINUX_H
+#define _HID_LINUX_H
+
+
+/*
+ * these are exported so they can be used in the implementation of [linuxhid]
+ */
+void hid_print(t_hid* x);
+t_int hid_open_device(t_hid *x, t_int device_number);
+t_int hid_close_device(t_hid *x);
+t_int hid_build_device_list(t_hid *x);
+
+
+#endif /* ! _HID_LINUX_H */