Input: appletouch - driver refactoring
authorStelian Pop <stelian@popies.net>
Wed, 29 Oct 2008 03:20:46 +0000 (23:20 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 29 Oct 2008 04:28:30 +0000 (00:28 -0400)
commit09779678d12482024e06380cacc4c3ff2f129f23
tree92908b3da994e9d19b707c657bda431dcf0c1375
parentb67b4b117746aef686e527c3205792db0f2c9e16
Input: appletouch - driver refactoring

The appletouch driver has grown up from supporting only a couple of
touchpads into supporting many touchpads, which can have different
number of sensors, different aspect ratios etc.

This patch cleans up the current driver code and makes it easy to
support the features of each different touchpad.

As a side effect, this patch also modifies the 'Y' multiplication factor
of the 'geyser3' and 'geyser4' touchpads (found on Core Duo and Core2
Duo MacBook and MacBook Pro laptops) in order to make the touchpad
output match the aspect ratio of the touchpad (Y factor changed from 43
to 64).

[dtor@mail.ru: make atp_info constant]
Signed-off-by: Stelian Pop <stelian@popies.net>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/appletouch.c
This page took 0.024944 seconds and 5 git commands to generate.