garbear / xbmc

XBMC Main Repository
http://xbmc.org
Other
134 stars 53 forks source link

[keymap] Added support for controllers with D-Pad mapped to axes #11

Closed thiemok closed 10 years ago

thiemok commented 10 years ago

The xpad driver defaults to map the D-Pad of some controllers, for example the normal wired Xbox 360 Controller, to axes instead of buttons. Added support for this case.

garbear commented 10 years ago

thanks for your contribution. i'm going to pull this into the PR for joystick api (#2370) because it requires that axes map to digital buttons (not possible in xbmc master) which is added in that PR.