aboutsummaryrefslogtreecommitdiffstats
path: root/include/hwstate.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-10-12 15:38:43 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-10-12 15:38:43 +0200
commitacea9df3381825a634c000a574f58b4ca5293ee8 (patch)
tree3698bd55f137bc377f1b840e4fb5bf9e446e7250 /include/hwstate.h
parent7380af2c93dc83f4f09e293717d46eadf7799e89 (diff)
downloadxorg-input-kobomultitouch-acea9df3381825a634c000a574f58b4ca5293ee8.tar.gz
xorg-input-kobomultitouch-acea9df3381825a634c000a574f58b4ca5293ee8.tar.bz2
xorg-input-kobomultitouch-acea9df3381825a634c000a574f58b4ca5293ee8.zip
Same version, but using the mtdev library.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include/hwstate.h')
-rw-r--r--include/hwstate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hwstate.h b/include/hwstate.h
index efd291f..4c59a1e 100644
--- a/include/hwstate.h
+++ b/include/hwstate.h
@@ -22,7 +22,7 @@
#ifndef HWSTATE_H
#define HWSTATE_H
-#include "mtdev.h"
+#include "capabilities.h"
struct FingerState {
int touch_major, touch_minor;
@@ -42,8 +42,8 @@ struct HWState {
void init_hwstate(struct HWState *s,
const struct Capabilities *caps);
-int hwstate_read(struct HWState *s, const struct Capabilities *caps,
- const struct input_event *ev);
+int modify_hwstate(struct HWState *s, struct mtdev *dev, int fd,
+ const struct Capabilities *caps);
void output_hwstate(const struct HWState *s);
static inline int finger_dist2(const struct FingerState *a,