Two issues with controller setup
-
For both controllers mentioned in this post I'm using the same config listed here: https://github.com/retropie/retropie-setup/wiki/Logitech-controllers. Generally speaking this works great. The only difference between the configs would be the first line, as the ZD-V controller is recognized as a xbox 360 controller.
I have a logitech controller (f310) where the "A" button is the back button and the "B" button is select on the emulationstation screen (Im going off of the labels on the controller, not the snes layout). I would expect this to be the other way around. Does anyone know how to switch this?
Then I have a ZD-V controller, where the "A" is correctly the select and the "B" is correctly the back button in emulationstation, but on this controller the R2 (right trigger) doesn't work in PSX games. When using 'jstest /dev/input/js0' it correctly detects the keypress. It is pressure sensitive, but L2 is as well and that works in psx games, so that shouldnt be the issue. Has anyone run into that issue before?
As I said, they are essentially using the same config in /opt/retropie/configs/all/retroarch-joypads, so this is kinda blowing my mind.
Links to said controllers:
https://www.amazon.com/Vibration-Feedback-Gamepad-Controller-Joystick-architecture/dp/B00OAYHIRA/ref=cm_cd_al_qh_dp_i
https://www.amazon.com/Logitech-940-000110-Gamepad-F310/dp/B003VAHYQY/ref=sr_1_1?s=pc&ie=UTF8&qid=1471479432&sr=1-1&keywords=f310The difference is:
input_device = "Logitech Gamepad F310"
input_device = "Microsoft X-Box 360 pad" -
When configuring in ES, it is correct on a 360 controller (for example) to configure B as A and A as B - see the diagrams on https://github.com/retropie/retropie-setup/wiki/First-Installation
Then they will be mapped correctly for RetroArch.
If you want A/B function swapped in Emulation Station you can do that from Packages -> Core > Emulation Station -> Configure and choose the "swap" option. Then you can reconfigure your controller in ES, and it will map A/B in reverse.
-
Yes your right, messing with /opt/retropie/configs/all/emulationstation/es_input.cfg allowed me to fix the select/back issue I was facing. Thank you for that! Oddly enough, even though they accept the same file format (as far as button layout is concerned) in /opt/retropie/configs/all/retroarch-joypads they are different in the es_input.cfg file. So.... one issue down.
Does anyone have any ideas about why R2 wouldn't be recognized in a psx game when R1 is? And both buttons respond the same (as far as I can tell) in jstest.
Thanks again,
-
I appologize. I thought I had enabled the 360 controller. It wasnt. Once I did that it fixed the issue. So install the xbox 360 driver from retropie-setup supplementary menu
All working now. Thanks
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.