Sony DualShock 3 - call for testers: "sixaxis" script module
-
I'm having an awful time trying to sync my Shenwan controllers. It finds the controllers but then asks me to input a 6 digit pin number, which of course is not possible. Any recommendations?
Edit: I've tried all the different pair options that pop up when initially pairing and all of them are requiring a 6 digit pin. :( -
@iriman had this input too with genuine PS3 Sixaxis Controllers. I just ignored the message and canceled the process when the input of the code was required.
The Controller works fine anyway, only issue is that i cannot configure the analog sticks in Emulationstation, but this will have nothing to do with the Bluetooth Connection
-
Hello guys, are you planning to include the old configuration of the sixad driver named "Gasia-only"? I have a bunch of ps3 clone controllers that shows "SZMY PS3 Controller" when connected through usb and just work on BT when using the option "Gasia-only". Anyway, just thanks for your great job!!
-
@tupc10 said in Sony DualShock 3 - call for testers: "sixaxis" script module:
Hello guys, are you planning to include the old configuration of the sixad driver named "Gasia-only"? I have a bunch of ps3 clone controllers that shows "SZMY PS3 Controller" when connected through usb and just work on BT when using the option "Gasia-only". Anyway, just thanks for your great job!!
The native sixaxis driver seems to have problems with pairing on Gasia clones, so this solution probably won't work. Until the problem is resolved, you'll be stuck with the
ps3controller
driver. I don't own a Gasia clone, so I can't do much to troubleshoot.See: https://bugzilla.kernel.org/show_bug.cgi?id=200009
RetroPie on Raspbian stretch (without this PR) is quite messy for DS3 controllers at the moment. The
ps3controller
driver now has different button mappings to thehid-sony
kernel driver (what the pad uses when connected via USB). -
I see @psyke83 , so this is bad news for me.. Thanks for your reply! Best regards
-
@psyke83 I have just one Gasia clone controller, but if can be of help I may send it to you.
If the shipment price is not too high it can be done.
Please let me know. -
@psyke83 do you think it will be possible to integrate in the next release both the sixad driver and the sixaxis even if it's not working with gasia controller?
It seems to me that it is working much better than the sixad driver, it allows me to connect multiple controller without problem while the sixad driver it givesme problem very often.
Thank you very much -
This post is deleted! -
I've updated the PR with a potential fix for Gasia pads if anyone is interested in testing. The fix is specific to the
customhidsony
module which should get installed along with thesixaxis
module, but you also need to manually installcustombluez
so that the BlueZ compatibility for third-party sixaxis controllers will work.Unfortunately, sixad will interfere with the native driver, so both can't be used at the same time. We've no plans to remove sixad, however, so it'll always be available for manual installation. Perhaps the sixad daemon could at least be updated to use the newer controller button map so that it will better co-exist with the new driver, but I haven't touched that yet. In the meantime, I'd appreciate if you could test the PR.
-
I'm willing to give it a try soon with my 2 legimate DS3 controllers, but I have a doubt I'd like to clarify first - how is the situation with analog triggers? Normally they are not an issue but now with Steam Link being available for rpi and Retropie, and with Moonlight Game Streaming, lack of pressure sensitivity on triggers with a sixad driver is somewhat annoying.
-
@psyke83 Thank you for your work on the sixaxis scripts!
After I setup a new Stretch build on my Pi 3B+ I found I could no longer get more than 4 dualshock3's to connect at the same time using the ps3controller driver. I installed your sixaxis PR and am happy to report I can get 5 official dualshock3's working great! I will borrow at least 1 more PS3 controller and do some more thorough testing to make sure 6player Xmen arcade still works.
Inputs seemed very responsive as if the input lag is reduced as well.
Thanks again!
-
So I removed
ps3controller
and installedsixaxis
(rebased on the most up to date RetroPie-Setup) and ran into a weird issue...After pairing my two legimate DualShock 3's I did not need to reconfigure them in EmulationStation, they worked as is! However, I can't get them to work in any of RetroArch emulators.
I tried removing all gamepads from
es_input.cfg
and it did not help - later I'll try resetting ES controls completely and maybe re-pairing the controllers.What worries me is that nobody else mentions an issue like this... puzzling.
-
@Silent Have you tried re-configuring them in ES, though? That's what then sets up the controls in the remaining emulators - maybe there's something missing there, even though they paired and worked just fine?
-
@pjft Yes, I have. One thing worth noting is that libretro joystick configuration shows both pad 0 and 1 as "not connected".
That said, I'll try one more time.
EDIT:
I have repeated the steps (including removing es_input and re-addingonfinish
action for it), and it works fine everywhere (including Retropie-Setup and runcommand), but not in game. Interestingly, when launching the game it says "controller connected" but no button works.EDIT2:
An entry in retroarch-joypads is also being created, so I think there may be something I need to re-set in retroarch configs. -
Update - I tried installing
ps3controller
driver again and it didn't even want to pair - but thankfully, I had a full SD card backup I made just before swapping drivers (guess I expected problems) and everything works flawlessly now.So all in all, I am not using this driver yet, but I have a clean starting point I can re-try from at a later point. I'll make use of this opportunity to compare retroarch config files with what I remember from the "broken" install and see if I can find the difference.
EDIT:
I can't find any differences in config files (other than different files inretroarch-joypads
, of course). However joypad assignments in Configuration Editor now showPLAYSTATION(R)3 Controller
, as expected - after migrating drivers this menu claimed pads are not connected. -
@Silent Good call making a backup beforehand! The version of sixaxis and related scripts I am running is psyke83's PR test branch of sixaxis, its working great for me. I never had much luck with the up to date RetroPie-Setup version you tried.
These are the steps I did to install it, quoting from earlier in this thread:
@psyke83 said:
You need to be relatively comfortable with using the command-line to test.
These commands will enable the PR branch:
cd RetroPie-Setup git remote add psyke83 https://github.com/psyke83/RetroPie-Setup git fetch psyke83 git checkout sixaxis
Make sure to go back to the official branch after testing the PR! Uninstall sixaxis from the menu, then:
cd RetroPie-Setup git checkout master
-
@edge3000 Then the steps are identical, the only difference is that I rebased this PR on top of up-to-date RetroPie-Setup because I didn't want to lose newest Setup features. I may try again without rebasing, however. After all, if it ends up working fine I can restore Setup back to master.
-
The
hid-sony
driver uses a completely different button mapping to the old driver, but also identifies itself with the manufacturer prefix -- so you should look forSony PLAYSTATION(R)3 Controller.cfg
. -
@psyke83 As far as I understand, name doesn't really matter here. I wiped retroarch-joypads when migrating drivers anyway, and I did have a .cfg generated there, the fact whether it had "Sony" prefix or not didn't really bother me.
I do wonder however why I did not have to remap the gamepad after migrating drivers. Perhaps I had some older mappings lingering, as right now (after revert, without
sixaxis
drivers) I myes_input.cfg
has mappings for bothPLAYSTATION(R)3 Controller
andSony PLAYSTATION(R)3 Controller
. I thought that was my PS3 pads presenting differently, as one of them is from Fat PS3 era, while the other was bundled with PS3 Super Slim and they are in fact a bit different - but that doesn't seem to be the case. -
Even if you never touched this PR, the
hid-sony
kernel driver is used on the USB connection, which is likely the reason why you already had a mapping (with theSony
prefix). This PR installs a patched version of this driver; if you're on jessie, the mappings will be different from the stock version, but they are identical to the default stretch version.If you're using jessie, keep in mind that we recently dropped support, so it would be a good idea to upgrade to a stretch-based image regardless of whether you intend to use this PR.
I can't say for sure why the buttons aren't being detected in emulators, but if you are on jessie, it's possible that you still have the old mappings. Manually deleting the
Sony
mappings and setting up again might fix your issue.You can try running
evtest
(from the package of the same name) to check if controller inputs are working correctly, to rule out driver issues.
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.