aboutsummaryrefslogtreecommitdiffstats
path: root/src/mtouch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mtouch.h')
-rw-r--r--src/mtouch.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/mtouch.h b/src/mtouch.h
new file mode 100644
index 0000000..a945162
--- /dev/null
+++ b/src/mtouch.h
@@ -0,0 +1,21 @@
+#ifndef MTOUCH_H
+#define MTOUCH_H
+
+#include "capabilities.h"
+#include "hwdata.h"
+
+////////////////////////////////////////////////////////
+
+struct MTouch {
+ struct Capabilities caps;
+ struct HWData hw;
+};
+
+////////////////////////////////////////////////////////
+
+int configure_mtouch(struct MTouch *mt, int fd);
+int init_mtouch(struct MTouch *mt);
+
+////////////////////////////////////////////////////////
+
+#endif