GPIO and the mkarcadejoystick module.
-
Hi.
I saw that one of the last Github commit the add of the mkarcadejoystick module.
I was able to install an test it using the jstest program but can't use it in games.
What's the trick?Also, why using only 24 of the 26 usable pins?
Many thanks in advance!
EDIT:
- RPi3
- Fresh install from this morning using a premade SD image
- Followed guide: https://github.com/recalbox/mk_arcade_joystick_rpi
- And: https://github.com/RetroPie/RetroPie-Setup/blob/6b2dfcc73fdedf75e07e3c0bd93a8fc4c80ea2f8/scriptmodules/supplementary/mkarcadejoystick.sh
-
@PacoVelobs did you configure in emulationstation? Regarding pins, documentation is here https://github.com/recalbox/mk_arcade_joystick_rpi
Please read the link in my signature and provide more information when requesting support as agreed when registering on the forum.
-
Hi.
Thanks for the fast answer!
I updated my post with the useful information.Note that it used to work fine with the Recalbox.
-
See my question regarding emulation station.
-
I would gladly edit any config file but I've no idea what to do.
-
Did you try and configure the controls in emulationstation? From the GUI.
-
Yes.
But the buttons do not show up.
-
Please can you explain in more detail. Step by step.
-
Also please post the output of
udevadm info --name /dev/input/js0
-
pi@retropie:~ $ udevadm info --name /dev/input/js0 P: /devices/virtual/input/input0/js0 N: input/js0 E: DEVNAME=/dev/input/js0 E: DEVPATH=/devices/virtual/input/input0/js0 E: ID_INPUT=1 E: ID_INPUT_JOYSTICK=1 E: ID_SERIAL=noserial E: MAJOR=13 E: MINOR=0 E: SUBSYSTEM=input E: TAGS=:seat:uaccess: E: USEC_INITIALIZED=28672
- I made a fresh RetroPie install this morning,
- Made a full update using RetroPi setup,
- Installed the mkarcadejoystick module from the driver package manager,
- Reboot,
- Wired some buttons and played with the jstest program to see if everything went all right: it did,
- Launched a nes game (pacman) and nothing happened.
-
So you didn't configure the controller in Emulationstation and used another controller to launch the game or you did configure it ?
-
Well, I finally found the GPIO configuration in the EmulationStation settings.
Sorry for the noise, it works pretty well!Thanks for your awesome work!
-
np. Configuring controllers is explained here - https://github.com/retropie/retropie-setup/wiki/First-Installation - configuring additional controllers is under the "start" menu in ES (as you have found). Once configured in ES other emulators are set up automatically etc.
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.