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

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.