From: Christoph Fritz Date: Tue, 13 Jul 2010 16:42:33 +0000 (-0700) Subject: Input: xpad - remove mouse buttons and axes for dance pads X-Git-Tag: v2.6.36-rc1~581^2^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7beae7028acec3bb235fa079fd7e45cc289c0fd7;p=pandora-kernel.git Input: xpad - remove mouse buttons and axes for dance pads Dance pads don't have any axes/sticks, only buttons for directions. For example buttons like left+right will get triggered at once, an axis can't handle this anyway. So this patch adds a module parameter named "sticks_to_null" for unknown devices. A known dance pad makes use of it by changing to a new mapping-option named DANCEPAD_MAP_CONFIG. Other tested devices may follow by adding this mapping-option too. Some buttons of xpad-devices are addressing mouse-buttons instead of gamepad-buttons. This gets fixed too. Signed-off-by: Christoph Fritz Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed