summaryrefslogtreecommitdiff
path: root/src/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h
index 8b41920..7bf4438 100644
--- a/src/state.h
+++ b/src/state.h
@@ -1,6 +1,7 @@
1#ifndef MTEVENT_H 1#ifndef MTEVENT_H
2#define MTEVENT_H 2#define MTEVENT_H
3 3
4#include "capabilities.h"
4#include "hwdata.h" 5#include "hwdata.h"
5 6
6//////////////////////////////////////////////////////// 7////////////////////////////////////////////////////////
@@ -21,7 +22,9 @@ struct State {
21//////////////////////////////////////////////////////// 22////////////////////////////////////////////////////////
22 23
23void init_state(struct State *s); 24void init_state(struct State *s);
24void modify_state(struct State *s, const struct HWData* hw); 25void modify_state(struct State *s,
26 const struct HWData* hw,
27 const struct Capabilities* caps);
25void output_state(const struct State *s); 28void output_state(const struct State *s);
26 29
27const struct FingerState *find_finger(const struct State *s, int id); 30const struct FingerState *find_finger(const struct State *s, int id);