Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: XBMC + RetroPie controller XBOX #83730
    marden747
    Participant

    This is what I did to get es and xbmc to work with an xbox controller.
    You need to have the start.sh and the xbmc.ini files already from the tutorial in the previous post.
    Leave the /etc/rc.local file configured to load xboxdrv for es, not xbmc.
    All the magic happens in the xbmc.sh file in /home/pi/RetroPie/roms/ports/
    Here is my code:
    [code]
    #!/bin/bash

    xboxdrv_pid=pidof xboxdrv
    sudo kill -SIGTERM $xboxdrv_pid

    sudo /home/pi/start.sh

    sudo xbmc

    xboxdrv_pid=pidof xboxdrv
    sudo kill -SIGTERM $xboxdrv_pid

    sudo xboxdrv --daemon --id 0 --led 2 --deadzone 4000 --silent --trigger-as-button --next-controller --id 1 --led 3 --deadzone 4000 - silent --trigger-as-button --dbus disabled --detach-kernel-driver &
    [code]

    This script ends the xboxdrv process and then runs it with the proper settings for xbmc, then when xbmc quits kills the process again and rus it with the settings needed for es.
    I have tested this and it is working for me.

Viewing 1 post (of 1 total)