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.
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.
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.