2015-07-25, 02:34
After upgrading to Isengard, Kodi no longer recognizes the hat buttons (directional pad) on my Dualshock 4 controller connected via ds4drv. Here's my config:
With debugging on I have verified that Kodi actually sees the button dpad events:
The other buttons in the above config works fine. Was something changed?
Code:
<keymap>
<global>
<joystick name="Sony Computer Entertainment Wireless Controller">
<button id="2">Select</button>
<button id="1">ContextMenu</button>
<button id="4">FullScreen</button>
<button id="3">Back</button>
<button id="5">Queue</button>
<button id="6">Playlist</button>
<button id="11">PreviousMenu</button>
<button id="12">XBMC.ActivateWindow(Home)</button>
<hat id="1" position="left">Left</hat>
<hat id="1" position="right">Right</hat>
<hat id="1" position="up">Up</hat>
<hat id="1" position="down">Down</hat>
<axis limit="+1" id="3">AnalogSeekForward</axis>
<axis limit="-1" id="3">AnalogSeekBack</axis>
<axis limit="-1" id="2">ScrollUp</axis>
<axis limit="+1" id="2">ScrollDown</axis>
</joystick>
</global>
</keymap>
With debugging on I have verified that Kodi actually sees the button dpad events:
Code:
00:41:44 T:140682308200448 DEBUG: Joystick 0 hat 1 value 2
00:41:44 T:140682308200448 DEBUG: Joystick 0 hat 1 hat centered
00:41:44 T:140682308200448 DEBUG: Joystick 0 hat 1 value 8
00:41:44 T:140682308200448 DEBUG: Joystick 0 hat 1 hat centered
The other buttons in the above config works fine. Was something changed?