Skip to content

Commit

Permalink
Input: appletouch - driver refactoring
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stelian Pop authored and Dmitry Torokhov committed Oct 29, 2008
1 parent b67b4b1 commit 0977967
Showing 1 changed file with 136 additions and 138 deletions.
Loading

0 comments on commit 0977967

Please sign in to comment.