HID: ntrig: Emit TOUCH with DOUBLETAP for single touch
authorRafi Rubin <rafi@seas.upenn.edu>
Fri, 9 Apr 2010 21:58:25 +0000 (17:58 -0400)
committerJiri Kosina <jkosina@suse.cz>
Tue, 13 Apr 2010 13:22:59 +0000 (15:22 +0200)
commit2170c5a8ae4b952e517e7b0565528914ddc11320
treecba6020752642b9a068249c348a8e42ffaf359e4
parent1ce31b255cf8b06470dfbd469055b6fd8d2274bc
HID: ntrig: Emit TOUCH with DOUBLETAP for single touch

I squelched TipSwitch in a recent patch which resulted in the loss
of Touch events for single touch firmwares.  This patch just puts Touch back
in for single touch, and bundles it with DoubleTap (like the multitouch code).
The two events are used to convey the same message to different drivers.

Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ntrig.c