summaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-03-21 14:57:42 +0100
committerHenrik Rydberg <rydberg@euromail.se>2010-03-21 14:57:42 +0100
commitd5b3178ca184dee4b3116e5b569745d43dbe37ef (patch)
treebc0cef4cb7d59398074675e28089c6a9a775e6fb /src/state.c
parentcc7c4c6ebfbd35ed16e9da8d5c70431fce9f31cd (diff)
Add support for the ABS_MT_PRESSURE event
The kernel MT api was recently updated to include the ABS_MT_PRESSURE event. This patch adds it to the hardware structure. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c
index 895d096..774828a 100644
--- a/src/state.c
+++ b/src/state.c
@@ -150,13 +150,15 @@ void output_state(const struct State *s)
150 s->nfinger); 150 s->nfinger);
151 for (i = 0; i < s->nfinger; i++) { 151 for (i = 0; i < s->nfinger; i++) {
152 xf86Msg(X_INFO, 152 xf86Msg(X_INFO,
153 " %+02d %+05d:%+05d +%05d:%+05d %+06d %+05d:%+05d\n", 153 " %+02d %+05d:%+05d +%05d:%+05d "
154 "%+06d %+06d %+05d:%+05d\n",
154 s->finger[i].id, 155 s->finger[i].id,
155 s->finger[i].hw.touch_major, 156 s->finger[i].hw.touch_major,
156 s->finger[i].hw.touch_minor, 157 s->finger[i].hw.touch_minor,
157 s->finger[i].hw.width_major, 158 s->finger[i].hw.width_major,
158 s->finger[i].hw.width_minor, 159 s->finger[i].hw.width_minor,
159 s->finger[i].hw.orientation, 160 s->finger[i].hw.orientation,
161 s->finger[i].hw.pressure,
160 s->finger[i].hw.position_x, 162 s->finger[i].hw.position_x,
161 s->finger[i].hw.position_y); 163 s->finger[i].hw.position_y);
162 } 164 }