Skip to content

Issues with Xbox 360 USB Controller and D-Pad #50

@jreckner

Description

@jreckner

I have been very successful in getting the xbox360 controller to work on Ubuntu 14.04.3 LTS.
Once I set TRIGGER_AS_BUTTON=false I had no issues with any buttons, sticks or dpad in Kodi 15/XMBC

However, once I fire up Steam in Big Picture mode, I lose the dpad competely. but only the dpad.

jstest-gtk shows everything working. So I assume its something wrong with Steam itself.

However, I was able to made the dpad work once by editing the /etc/init/xboxdrv.conf directly and making the following change:

--ui-buttonmap du=KEY_UP --ui-buttonmap dd=KEY_DOWN --ui-buttonmap dl=KEY_LEFT --ui-buttonmap dr=KEY_RIGHT

this was added the xboxdrv line like:

xboxdrv --daemon --silent --dbus disabled --ui-buttonmap du=KEY_UP --ui-buttonmap dd=KEY_DOWN --ui-buttonmap dl=KEY_LEFT --ui-buttonmap dr=KEY_RIGHT $XBOXDRV_OPTIONS $PAD_OPTIONS $CONTROLLER0_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER1_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER2_OPTIONS--next-controller $PAD_OPTIONS $CONTROLLER3_OPTIONS

After making the above change which I assume is related to the DD, DU, DL, DR bindings being different then whats loaded by default, the dpad now worked BUT I lost all other bindings.

I then tried adding only these changes to /etc/defaults/xboxdrv

XBOXDRV_OPTIONS="--ui-buttonmap DU=KEY_UP --ui-buttonmap DD=KEY_DOWN --ui-buttonmap DL=KEY_LEFT --ui-buttonmap DR=KEY_RIGHT"

I also tried with a --ui-clear in the beginning

My question is this: How is the dpad configured by default and is there a way to switch that binding from its default to these DU, DD, DL, DR KEY_ bindings?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions