Gamepad numbering help needed...
-
Pi Model or other hardware: Rpi 3 B
Power Supply used: 5VDC 3A never had issues
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.3
Built From: stock 4.3 image
USB Devices connected: keyboard
Controller used: wired Xbox 360 controller, Xarcade Tank Stick
Error messages received: none
Log found in /dev/shm/runcommand.log (if relevant): N/A
Guide used: (Mention if you followed a guide): Read this https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration
File: (File with issue - with FULL path): N/A
Emulator: (Name of emulator - if applicable): N/A
Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS): Not sure if needed at this point.
How to replicate the problem: Just turn on.Hi folks, I have what seems to be a simple issue, two actually:
-
My gamepad numbering is not what I want. Gamepad 1 is the xbox controller, Gamepad 2 is the left side/stick/buttons of my Xarcade Tankstick, Gamepad 3 is my right side/stick/buttons of my Xarcade Tankstick.
-
When I configure input on the Xarcade Tankstick the A/B always gets swapped. That's right when I choose button for A and then B at the end to confirm "OK" and I press A nothing happens because the button I pressed for B is actually A. My work-around is to select what I would normally want for B button as A and vice/versa. Very strange and I simply don't want to ignore this as it's got to be some issue.
Finally, my Tankstick isn't recognized as a keyboard as it should be by default because I useed the below to install the drivers:
f4 to get to console
git clone https://github.com/petrockblog/Xarcade2Jstick
cd Xarcade2Jstick
make
wget http://www.xgameroom.com/service/ServiceFiles/main.c
cp main.c src
sudo make install
sudo make installservice
sudo rebootAfter this my Xarcade Tankstick is seen as a gamepad.
So I need help understanding what's going on. I notice in emulation station when I configure the first controller (in this case the xbox 360) is says Device 1 and then when I say OK to configure the buttons it says Gamepad 1. Then when I configure the second controller (in this case the left side Tankstick) it says Device 2 but then after holding a button to start the configuration it says Gamepad3, same on the right side but says Gamepad2. So this is where it's mapping Gamepad1/2/3 wrong but why? Can I manually swap config files.
At the link I provided above: https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration this section might be of help?
In the terminal, type and enter
jstest /dev/input/js0Replace js0 with js1, js2, js3, etc. as needed if not detected.
Thank you,
Roy -
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.