RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Connect fake PS3 joystick controller via bluetooth wirelessly to retropie 4.2

    Scheduled Pinned Locked Moved General Discussion and Gaming
    joystickcontrollerps3fakegasia
    1 Posts 1 Posters 3.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      thiagoufg
      last edited by

      PS3 JOYSTICK CONTROLLER FAKE GASIA WITH RETROPIE 4.2

      Have a keyboard connected via USB (not bluetooth!) and setup A,B,START and SELECT keys (the rest can be anything)

      Go to retropie main screen and press A on retropie (main app).

      Go to retropie setup > manage packages > drivers > ps3controller >
      install from source (wait) > configuration/options (press OK) >
      install ps3 controller (clone support gasia) (WAIT)
      pair ps3 controller (clone support gasia) (follow instructions)

      it will not pair!!

      SSH into your pi using username pi and password raspberry

      wget https://github.com/luetzel/bluez/archive/master.zip (the file is in the folder)
      unzip master.zip
      cd bluez-master
      sudo apt-get install libical-dev
      sudo apt-get install libreadline-dev
      sudo apt-get install libusb-dev
      ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-sixaxis
      make -j3
      sudo make install

      Be aware that this will overwrite your distribution’s bluetooth/bluez package. It is highly recommended to purge/uninstall your distributions bluez package prior to the installation of patched bluez in order to avoid version conflicts.

      Now, restart the bluetooth daemon with:
      sudo systemctl daemon-reload
      sudo systemctl start bluetooth
      sudo service bluetooth restart
      sudo reboot

      If this doesn’t work, run:
      sudo /usr/bin/sixad -s

      And try to pair your joystick.

      RESTART DAEMON AFTER JOYSTICK DISCONNECTS RECONNECT

      After I connect the joystick for the first time, if it disconnects after staying idle for some time, then it won’t reconnect unless you reboot your retropie. In order to solve this...

      Create file /etc/systemd/system/sixad.service and put the following contents
      [Unit]
      Description=PS3 joystick

      [Service]
      Type=simple
      ExecStart=/usr/bin/sixad -s
      ExecStop=/usr/bin/sixad --stop

      Run:

      systemctl daemon-reload

      Add the following to the last line of /etc/udev/rules.d/99-sixad.rules:

      SUBSYSTEM=="input",ACTION=="remove",RUN+="/bin/systemctl restart sixad"

      Then run the following to reload udev rules:

      udevadm control --reload-rules && udevadm trigger

      Add the following before exit 0 on the file /etc/rc.local:

      /bin/systemctl restart sixad

      That's it! Now everything works fine for me.

      See also:
      https://raspberryblog.de/?p=1870&page=2

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.