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

Input: atmel_mxt_ts - initialise input slots with INPUT_MT_DIRECT

This indicates the device coordinates should be directly mapped to screen.
This is valid since scaling/flipping/rotation should be done by configuring
the MXT device.

It also flags to Android using INPUT_PROP_DIRECT that the device should be
treated as a touch screen by default, and removes the necessity for a
default IDC file.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Nick Dyer and committed by
Dmitry Torokhov
eafc0c87 885f3fb9

+2
+2
drivers/input/touchscreen/atmel_mxt_ts.c
··· 1858 1858 if (pdata->t19_num_keys) { 1859 1859 mxt_set_up_as_touchpad(input_dev, data); 1860 1860 mt_flags |= INPUT_MT_POINTER; 1861 + } else { 1862 + mt_flags |= INPUT_MT_DIRECT; 1861 1863 } 1862 1864 1863 1865 /* For multi touch */