Under Android, the MFT sensor of the Cintiq Companion Hybrid is
being assigned a SOURCE_STYLUS attribute, in addition to its
expected SOURCE_TOUCHSCREEN. This is caused by the
MultiTouchMotionAccumulator (InputReader.cpp) assuming that a
stylus may be used with any device advertising the
ABS_MT_TOOL_TYPE axis.

This patch removes our advertising of that particular axis for
the MFT sensor.

Signed-off-by: Jason Gerecke <killert...@gmail.com>
---
 2.6.38/wacom_wac.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/2.6.38/wacom_wac.c b/2.6.38/wacom_wac.c
index b97bd82..02d45a4 100644
--- a/2.6.38/wacom_wac.c
+++ b/2.6.38/wacom_wac.c
@@ -1754,8 +1754,6 @@ int wacom_setup_input_capabilities(struct input_dev 
*input_dev,
                if (features->device_type == BTN_TOOL_FINGER) {
 
                        input_mt_init_slots(input_dev, features->touch_max);
-                       input_set_abs_params(input_dev, ABS_MT_TOOL_TYPE,
-                                       0, MT_TOOL_MAX, 0, 0);
                        input_set_abs_params(input_dev, ABS_MT_POSITION_X,
                                        0, features->x_max, 0, 0);
                        input_set_abs_params(input_dev, ABS_MT_POSITION_Y,
-- 
1.8.4


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to