From d5b3178ca184dee4b3116e5b569745d43dbe37ef Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Sun, 21 Mar 2010 14:57:42 +0100 Subject: 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 --- src/state.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/state.c') 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) s->nfinger); for (i = 0; i < s->nfinger; i++) { xf86Msg(X_INFO, - " %+02d %+05d:%+05d +%05d:%+05d %+06d %+05d:%+05d\n", + " %+02d %+05d:%+05d +%05d:%+05d " + "%+06d %+06d %+05d:%+05d\n", s->finger[i].id, s->finger[i].hw.touch_major, s->finger[i].hw.touch_minor, s->finger[i].hw.width_major, s->finger[i].hw.width_minor, s->finger[i].hw.orientation, + s->finger[i].hw.pressure, s->finger[i].hw.position_x, s->finger[i].hw.position_y); } -- cgit v1.2.3