-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom gpio pins no longer working? #38
Comments
Manually editing the gpio_maps in mk_arcade_joystick_rpi.c did help. |
i solved gpio controller not change. |
So did you actually change something to make it work? All I can find is a version change and some readme updates. mk_arcade_joystick_rpi.c is identical to upstream as far as I can tell (which I used). |
our post is write can source chage and recompile mk_arcade_joystick_rpi.c file.
if, you want to anyone kind of raspberrypi gpio. and can recompile file after change gpio remapping. ours not chage recalbox team source. |
In that case you did the same as I did as I mentioned earlier: editing the gpio_maps in mk_arcade_joystick_rpi.c (and compiling). |
ours recompile 0.1.6 ver thought 0.1.4 ver. and raspberrypi gpio test finished. our post had been written little bit different on the recalbox github contents. and how to typing /etc/modules/mk_arcade_joystick_rpi file into contents ? |
Custom gpio pins no longer working?
I can no longer get my gpio based joystick to work properly. It used to work fine (after reassigning buttons) with my retropie installation on a RPI2, but in later releases it fails. Not sure if it is related to a more recent kernel. The issue is the same on recallbox.
The gpio pins I use are custom. Running a python test program tells me the arcade joystick still reacts fine on the expected pins.
Loading the kernel module (sudo modprobe mk_arcade_joystick_rpi map=1) and running jstest on js0 makes it recognize the directions, but only 2 of the 8 buttons.
Trying to define custom gpio pins (sudo modprobe mk_arcade_joystick_rpi map=5 gpio=pin_nr,..) results in not a single move or button is recognized using jstest.
My gpio config:
Can't recall I did something extra in the past to make it work. Tested with the latest Retropie (v3.8.1) and recalboxOS (4.0.0-beta3).
The text was updated successfully, but these errors were encountered: