Input: sentelic - enabling absolute coordinates output for newer hardware
authorTai-hwa Liang <avatar@sentelic.com>
Mon, 26 Mar 2012 00:16:36 +0000 (17:16 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 26 Mar 2012 00:18:10 +0000 (17:18 -0700)
commita4c85075f00d56b38f5c277ab89f9aaad69eb17b
tree572cf90d91ec2315d10a5504191b4f8528bef2ce
parent3ac1780f9e6ed212e56d4132e997551297a97112
Input: sentelic - enabling absolute coordinates output for newer hardware

- Hooking multi-finger coordinates output with kernel multitouch library;
- Enabling absolute coordinates output for Cx+ hardware. The older hardware
  performs much better in relative mode; thus relative mode related code
  are preserved.

Part of the code is based on the work done by Oskari Saarenmaa <os@ohmu.fi>,
which was used to support the clickpad found on ASUS UX21/31 Ultrabook.
On the other hand, the FSP found on UX21/31 doesn't have hardware capability
register other than PnP ID, which means that we'll have to figure out an
alternative approach to identify such pad correctly; otherwise, blindly
adding INPUT_PROP_BUTTONPAD property may compatability issues amongst
existing FSPs.

Signed-off-by: Tai-hwa Liang <avatar@sentelic.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/sentelic.c
drivers/input/mouse/sentelic.h