Input: aiptek - rework the function key code
authorRene van Paassen <rene.vanpaassen@gmail.com>
Mon, 21 May 2007 04:32:17 +0000 (00:32 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Tue, 10 Jul 2007 04:35:17 +0000 (00:35 -0400)
commit1e7b3faed1793e7637a774240ae22541c5ba6ca0
tree65844e9d6afe11c548a98c4cd4032bc7fe45efee
parent0112db36ef95e5632db071297f7df130725c47b9
Input: aiptek - rework the function key code

Function keys (also called macro keys) code corrected. Using a
lastMacro variable to keep track of key currently pressed. This
ensures proper resetting when dragging the pen in the drawing
area or to another key. Also suppress sending pressure reports
when over the macro key area.

Signed-off-by: Rene van Paassen <rene.vanpaassen@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/tablet/aiptek.c