Input: atmel_mxt_ts - initialise input slots with INPUT_MT_DIRECT
authorNick Dyer <nick.dyer@itdev.co.uk>
Tue, 4 Aug 2015 23:57:40 +0000 (16:57 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 5 Aug 2015 00:03:54 +0000 (17:03 -0700)
commiteafc0c8783f091ae9426fc8288054a99eb39207f
tree608807027fe17608797998981c0b0a2a059c0eb0
parent885f3fb9fa1f9e185e8a4e905157087495734349
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>
drivers/input/touchscreen/atmel_mxt_ts.c