Tagged: 

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • vrilya
    Participant
    Post count: 8

    How do you hook up your sixaxis controller to your Retropie via bluetooth?
    I am not really a linux enthusiast (I know the basics though) so if you can guide me through it I would be most appreciated.
    wkr
    Vrilya

    trimmtrabb
    Participant
    Post count: 480
    gizmo98
    Participant
    Post count: 452

    Easiest way:
    -You need an PC/MAC and the current IP-address of your pi
    -connect your usb-bluetooth dongle with your pi
    -connect your ps3 controller over usb with your pi
    –>no usb port is left ;-)
    -connect over SSH (use putty: http://www.putty.org)
    ip: ip of your pi
    user: pi
    pw: raspberry
    -when you are connected:

    cd RetroPie-Setup
    sudo ./retropie_setup.sh
    Select "SETUP"
    Select "17 "Install driver and tools for PS3 controllers""
    

    -disconnect your controller
    -you can pair your controller now with the PS button

    SSH is not necessary if you have an usb hub.

    vrilya
    Participant
    Post count: 8

    I tried both solutions and it seems that trimmtrabb’s solution to it worked… the other one just would’ve for some reason if I unhooked the USB-cable after reboot.
    Now to the other problem.
    as soo as the screen pops up for when to assign your buttons it seems as it is far too responsive.
    When I press up on my sixaxis controller it assigns it as down immediatly and the same goes for any other key on my gamepad I press.
    Is there a solution to this perhaps aswell?
    and thanks for the help by the way with the bluetooth thingy.
    wkr
    Vrilya

    trimmtrabb
    Participant
    Post count: 480

    you can configure the ES controls manually if you edit es_input.cfg:

    nano home/pi/RetroPie/.emulationstation/es_input.cfg

    vrilya
    Participant
    Post count: 8

    Now every time I am done with my key setup (in that input editor) and try to save it, it says “script error”… I have no idea to why it does this so please once again help out.

    trimmtrabb
    Participant
    Post count: 480

    try exiting Emulation Station with F4 key and then edit and sudo reboot

    vrilya
    Participant
    Post count: 8

    I’ll try…. I’m reflashing retropie 1.9.1 once again cause it’s gone apeshit on me.
    I usually SSH into the terminal or however you say it and do all the settings done there.
    But now when I press F4 on my keyboard hooked up to my raspberry pi it does’nt do a thing… and by Edit to you mean edit es_input.cfg cause I dont even have anything by that name anywhere.

    trimmtrabb
    Participant
    Post count: 480

    I got the command wrong, apologies. Try this via SSH:

    nano /home/pi/.emulationstation/es_input.cfg

    vrilya
    Participant
    Post count: 8

    thank you I’ll make yet another attempt then :)

    vrilya
    Participant
    Post count: 8

    es_input.cfg currently look like this… but how do I find out what the device name of my sixaxis is called and how do I change the keys manually?

    <?xml version=”1.0″?>
    <inputList>
    <inputConfig type=”keyboard”>
    <input name=”a” type=”key” id=”119″ value=”1″ />
    <input name=”b” type=”key” id=”46″ value=”1″ />
    <input name=”down” type=”key” id=”274″ value=”1″ />
    <input name=”left” type=”key” id=”276″ value=”1″ />
    <input name=”menu” type=”key” id=”99″ value=”1″ />
    <input name=”pageup” type=”key” id=”109″ value=”1″ />
    <input name=”right” type=”key” id=”275″ value=”1″ />
    <input name=”select” type=”key” id=”111″ value=”1″ />
    <input name=”up” type=”key” id=”273″ value=”1″ />
    </inputConfig>
    <inputConfig type=”joystick” deviceName=”Microsoft Microsoft® Nano Transceiver $
    </inputList>

    trimmtrabb
    Participant
    Post count: 480

    Run: rm /home/pi/.emulationstation/es_input.cfg and reboot then press some buttons on your PS3 pad to finish the ES config. Es_input should then list your pad which you can edit to the correct values.

    Here’s mine for example:

    <?xml version=”1.0″?>
    <inputList>
    <inputConfig type=”keyboard” />
    <inputConfig type=”joystick” deviceName=”Xbox Gamepad (userspace driver$
    <input name=”a” type=”button” id=”0″ value=”1″ />
    <input name=”b” type=”button” id=”1″ value=”1″ />
    <input name=”down” type=”hat” id=”0″ value=”4″ />
    <input name=”left” type=”hat” id=”0″ value=”8″ />
    <input name=”menu” type=”button” id=”9″ value=”1″ />
    <input name=”right” type=”hat” id=”0″ value=”2″ />
    <input name=”up” type=”hat” id=”0″ value=”1″ />
    </inputConfig>
    </inputList>

    Use jtest to determine buttons:

    sudo apt-get install joystick

    then:

    jstest /dev/input/js0

    vrilya
    Participant
    Post count: 8

    I am very thankful for all the help I have gotten so far.
    Still I cant get it to work.
    Everytime I do rm /home/pi/.emulationstation/es_input.cfg and reboot, and do the ES config once again as it shows up the sixaxis works fine.
    That is until I reboot retropi… there the controller just stops responding (cant scroll in the menus etc).
    And also when I go into the input configuration menu and try to edit the controlls there, once I save I get the message “script error”… this occurs both on my sixaxis controller and if I try to do a condfiguration on my keyboard.
    I’d also like to ask what file you configure (and if I can configure it manually through ssh) when you go into input configuration, as I guess es_input.cfg is only for controlling the interface for selecting emulator and games.

    trimmtrabb
    Participant
    Post count: 480

    Ok, so now you can successfully configure the pad for Emulation Station and navigate the menus but it fails after reboot, correct? You are not having problems with over-responsive buttons anymore?
    I have no idea why the pad is not responding after reboot, could be power issues. Try unplugging any other usb devices.

    Can you confirm the pad functions correctly with jtest:
    jstest /dev/input/js0

    Regarding the input config menu (configures controls for the Retroarch emulators), the script does not work, to manually configure controls see here:

    vrilya
    Participant
    Post count: 8

    I am not sure why it did’nt work after reboot earlier…. now it seems to connect so it must’ve been a fault from my part.
    The pad works as it should in jstest… I can see the numbers corresponding to the buttons being pressed etc.
    I would’nt believe it was a power issue as I am using a USB hub with it’s own power source.

    Now the controller seem to work in at least some emulators… for example it works as good as can be in the megadrive emulator but for some reason the A/B/X/Y (circle, square etc as it is a ps3 controller) buttons does’nt work in the snes emulator.

    trimmtrabb
    Participant
    Post count: 480

    Ok, can you copy and paste the contents of your retroarch.cfg and es_systems.cfg

Viewing 16 posts - 1 through 16 (of 16 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.