summaryrefslogtreecommitdiff
path: root/src/state.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2013-07-31 19:25:50 +0200
committerHenrik Rydberg <rydberg@euromail.se>2013-07-31 19:25:50 +0200
commit72bbb5f42fe8e47d6314eb92a0ada6554644305c (patch)
tree1c3e5141d8f78260dff3078a3883cf34d69633cd /src/state.h
parentb5d8e8e26c0116e4b6e556a0f6da8777bc55c590 (diff)
parenta9ea3168615056360cdb21d6f1576d66be2a43fe (diff)
Merge more build fixes from Peter Hutterer, along with a more explicit
declaration of the backwards compatibility constraints on the API. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.h b/src/state.h
index 256858a..06e86ae 100644
--- a/src/state.h
+++ b/src/state.h
@@ -72,8 +72,8 @@ static inline void set_sval(struct mtdev_slot *slot, int ix, int value)
72 */ 72 */
73struct mtdev_state { 73struct mtdev_state {
74 74
75 int has_ext_abs[MT_ABS_SIZE - 11]; 75 int has_ext_abs[MT_ABS_SIZE - LEGACY_API_NUM_MT_AXES];
76 struct input_absinfo ext_abs[MT_ABS_SIZE - 11]; 76 struct input_absinfo ext_abs[MT_ABS_SIZE - LEGACY_API_NUM_MT_AXES];
77 77
78 struct mtdev_iobuf iobuf; 78 struct mtdev_iobuf iobuf;
79 struct mtdev_evbuf inbuf; 79 struct mtdev_evbuf inbuf;