From: Harald Brinkmann Date: Tue, 20 May 2014 18:28:00 +0000 (+0200) Subject: HID: quirk for Saitek RAT7 and MMO7 mices' mode button X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~6^2~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37c492c8f6a99870551fe2964b2dfce5d9e87375;p=pandora-kernel.git HID: quirk for Saitek RAT7 and MMO7 mices' mode button Some saitek mice implement a tristate button (for switching button mappings in the original driver) by keeping one of three (non-physical) buttons constantly pressed. This breaks X and probably other userspace software. This patch implements a quirk for the R.A.T.7 and M.M.O.7, tracking the mode and generating presses of a single button if it changes. Also the missing release event is generated instantly. Signed-off-by: Harald Brinkmann Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed