From: Rafi Rubin Date: Wed, 10 Mar 2010 15:10:28 +0000 (+0100) Subject: HID: ntrig: fix touch events X-Git-Tag: v2.6.34-rc2~20^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2886539d5e649c22a6d2107eb431d3bee81e0e6d;p=pandora-kernel.git HID: ntrig: fix touch events This reinstates the lost unpressing of BTN_TOUCH. To prevent undesireably touch toggles this also deals with tip switch events. Added a trap to prevent going out of bounds for hidinputs with empty reports. Clear bits of unused buttons which result in misidentification. Signed-off-by: Rafi Rubin Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed