xbmc/xbmc — pull request #1916 by da-anda (2012-12-10 21:30:57+00:00)
Title: [keymap] fix broken linux support for the XBOX360 controller 

This PR fixes the currently somewhat broken keymap support for the XBOX 360 controller in linux and adds additional altnames/aliases for compatible hardware.

The default windows keymap for the 360 controller doesn't work well on linux because the linux drivers use different button IDs. We fix it by adding separate keymap sections for the linux device names with corrected button IDs. Also some new altnames/aliases for compatible hardware got added (like some Logitech gamepads).

Please note that due to some issues (driver issues most likely) the mappings for axis with ID 6 are currently commented out on linux because using this axis causes side effects (breaking other axises or alike). Personally I'd enable those bindings and ship a complete keymap - users with driver issues should manually change - but that's probably up for discussion in the comments.

I'm only the git monkey - for further details see http://forum.xbmc.org/showthread.php?tid=135871 or ask @natethomas