Raspberry Pi 4
For information, Recalbox IS NOT compatible with Raspberry Pi 4 yet.
Pour information, Recalbox N'EST PAS encore compatible avec le Raspberry Pi 4.
The Recalbox Team.
Recalbox not detecting buttons with DragonRise Inc. Generic USB encoder on Pi3
I'm having the hardest time trying to get my joystick/buttons configured on Recalbox.
I installed latest Recalbox (updated to 4.0.2) on Pi3 and as I go into Controllers Settings->Configure a Controller, I am able to configure the Sanwa joystick with Up, Down, Left and Right. Then I skip Joystick* options and go to button A. That's where problem starts. I press A and it shows "BUTTON 0". After that, no other button is detected. Doesn't matter which button I press, nothing registers anymore. I know the buttons are connected properly and working because I can use any button to detect the Controller I am going to configure.
I ran the "recalbox-support.sh" script and placed the archive in https://www.dropbox.com/s/kc1hinsnxuw9cqa/recalbox-support-20170923090725.tar.gz?dl=0.
I also tested all the buttons on windows and they are all working inside the windows joystick properties window.
I really have no clue what can possibly be so wrong. All the videos show how simple this step is supposed to be. I can only think of some incompatibility between the USB encoder and Pi3 or Recalbox. But the encoder is on the list of supported devices, so I have no clue.
I have also tried "jstest /dev/input/js0" and "jstest /dev/input/js1" and I see that all buttons and joysticks are working on this tool. So it can only be some type of configuration inside Recalbox itself.
I have also uploaded a video that shows Recalbox not detecting the press while running jstest at same time which shows the button presses working here: https://www.dropbox.com/s/etea93jxkkhdnz6/MOV_20170923_0403050.mp4?dl=0
Found the problem thanks to the jstest tool.
The default state of the buttons was ON because of bad wiring on the switches.
I connected the TOP pin and the LOWER pin. It is supposed to be the TOP pin and the MIDDLE pin, in contrary to what the drawing shows on the switch.
For reference, this is CORRECT connection: https://www.dropbox.com/s/qhx5fd9r0k2vbq4/IMG_20170923_0439526.jpg?dl=0
And this was the WRONG connection: https://www.dropbox.com/s/bld45u4u2mm4gfc/IMG_20170923_0440122.jpg?dl=0