Problem with DS4 hat buttons after upgrade to Isengard
#1
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:

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?
Reply
#2
Anyone? I'm sure it should be possible to make this work as long as Kodi sees the events.
Reply
#3
I have the same problem, I tried changing the code all kinds of different ways to no avail.. Can anyone help us out?
Reply
#4
*bump* same problem here.
Reply
#5
bump same problem
I use joytokey to set the arrow now but that's only a minor fix, as I can't customize the arrows in fullscreenvideo mode for instance.
(wrong forum for me, I have this problem on windows 10)
Reply

Logout Mark Read Team Forum Stats Members Help
Problem with DS4 hat buttons after upgrade to Isengard2