Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: wacom - scale up touch width and height values for Intuos Pro

The width and height values reported by the Intuos Pro are not in
surface units as required by the MT protocol. A simple multiplier
of 100x corrects it.

Signed-off-by: Jason Gerecke <killertofu@gmail.com>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Jason Gerecke and committed by
Dmitry Torokhov
0b279da7 d0134e9f

+2 -2
+2 -2
drivers/input/tablet/wacom_wac.c
··· 1151 1151 int width, height; 1152 1152 1153 1153 if (features->type >= INTUOSPS && features->type <= INTUOSPL) { 1154 - width = data[5]; 1155 - height = data[6]; 1154 + width = data[5] * 100; 1155 + height = data[6] * 100; 1156 1156 } else { 1157 1157 /* 1158 1158 * "a" is a scaled-down area which we assume is