commit | 2886539d5e649c22a6d2107eb431d3bee81e0e6d | [log] [tgz] |
---|---|---|
author | Rafi Rubin <rafi@seas.upenn.edu> | Wed Mar 10 16:10:28 2010 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed Mar 10 16:10:28 2010 +0100 |
tree | 3c552a2f31654171553a55bf2db45ec468b7c5d1 | |
parent | eff7f270e9a05688066f40589d7b44e1dcf335dc [diff] |
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 <rafi@seas.upenn.edu> Signed-off-by: Jiri Kosina <jkosina@suse.cz>