Tagged: 

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #5891
    vrilya
    Participant

    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

    #5893
    trimmtrabb
    Participant
    #5896
    gizmo98
    Participant

    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.

    #5906
    vrilya
    Participant

    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

    #5907
    trimmtrabb
    Participant

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

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

    #5915
    vrilya
    Participant

    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.

    #5916
    trimmtrabb
    Participant

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

    #5919
    vrilya
    Participant

    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.

    #5921
    trimmtrabb
    Participant

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

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

    #5922
    vrilya
    Participant

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

    #5923
    vrilya
    Participant

    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>

    #5927
    trimmtrabb
    Participant

    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

    #5945
    vrilya
    Participant

    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.

    #5950
    trimmtrabb
    Participant

    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:

    Input configuration script fails, bindings are off

    #5951
    vrilya
    Participant

    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.

    #5952
    trimmtrabb
    Participant

    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.