aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2008-11-05 00:12:10 +0100
committerHenrik Rydberg <rydberg@euromail.se>2008-11-05 00:12:10 +0100
commit030a3c8a38a81ea882fa0a3b0bfce61ded50a20d (patch)
treed3fb49940dbdb78e547eecf25658f8d19ed664db /src
parentf9484195b40df3da748fce2bab817ab5b14f3be6 (diff)
downloadxorg-input-kobomultitouch-030a3c8a38a81ea882fa0a3b0bfce61ded50a20d.tar.gz
xorg-input-kobomultitouch-030a3c8a38a81ea882fa0a3b0bfce61ded50a20d.tar.bz2
xorg-input-kobomultitouch-030a3c8a38a81ea882fa0a3b0bfce61ded50a20d.zip
Output dimensions
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src')
-rw-r--r--src/capabilities.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/capabilities.c b/src/capabilities.c
index 92e0d20..513a254 100644
--- a/src/capabilities.c
+++ b/src/capabilities.c
@@ -82,6 +82,26 @@ int output_capabilities(const struct Capabilities *cap)
ADDCAP(line, cap, position_x);
ADDCAP(line, cap, position_y);
xf86Msg(X_INFO, "multitouch: caps:%s\n", line);
+ if (cap->has_touch_major)
+ xf86Msg(X_INFO, "multitouch: touch: %d %d\n",
+ cap->abs_touch_major.minimum,
+ cap->abs_touch_major.maximum);
+ if (cap->has_width_major)
+ xf86Msg(X_INFO, "multitouch: width: %d %d\n",
+ cap->abs_width_major.minimum,
+ cap->abs_width_major.maximum);
+ if (cap->has_orientation)
+ xf86Msg(X_INFO, "multitouch: orientation: %d %d\n",
+ cap->abs_orientation.minimum,
+ cap->abs_orientation.maximum);
+ if (cap->has_position_x)
+ xf86Msg(X_INFO, "multitouch: position_x: %d %d\n",
+ cap->abs_position_x.minimum,
+ cap->abs_position_x.maximum);
+ if (cap->has_position_y)
+ xf86Msg(X_INFO, "multitouch: position_y: %d %d\n",
+ cap->abs_position_y.minimum,
+ cap->abs_position_y.maximum);
}
////////////////////////////////////////////////////////