Comments (7)
I am unsure what you mean by "manually set the mapping or have it auto detect." Are you talking in regards to retropie configuration?
from gpionext.
I have switches (joystick and buttons) tied to GPIOs; I'm talking about setting the correspondence between my switches and the GPIOs. In Adafruit-Retrogame you configure the explicitly (originally by changing the source). GPIOnext claims it "auto-configures". It's unclear how that work or when it's done. I couldn't get anything, not even in the debug log. It could be that it's related to being a Raspberry Pi 4, but I didn't see anything in the documentation about how events would show up or how exactly the auto-configuration would work.
EDIT: completeness sake, my switches short to ground. This exact configuration previously worked on a defunct Raspberry Pi 2 with retrogame.
from gpionext.
Did you run the config utility after installation?
gpionext config
from gpionext.
It's run automatically and I also ran it manually many times. I picked the first joystick option (this is for an arcade) and checked the first 13 consecutive boxes. However at this point, the only option appears to go back to the previous menu and then go out. Am I missing something? At no point did anything I did on my switches make any difference nor did I have an opportunity to specify the switch - gpio mapping.
from gpionext.
You probably missed it after scrolling down to make your button selections, but at the top it says to press 'enter' to continue. That should bring you to a screen that looks like this:
it will run through 4 directions for each Dpad/joystick selected, plus 1 for each button.
from gpionext.
Well, that's embarrassing and thank you for your patience with me throughout this. It works perfectly. (Can you really set up 4 joypads with 4 joysticks each?)
I guess I won't be needing the uninstall option now :)
from gpionext.
it's no problem. that's what I'm here for.
so yes, in theory you could. but I think that in practice you would run out of gpio pins!
I originally thought about doing an uninstall option, but then I lost interest. ha!
from gpionext.
Related Issues (20)
- GPIOnext and sudo commands not working correctly HOT 4
- Button combos not working HOT 4
- Buttons not detected as gamepad HOT 6
- Configuration not saving HOT 1
- Support for GPIO expanders? HOT 2
- install.sh can't run without internet HOT 2
- 'dtoverlay=act-led,gpio=4' makes "gpionext config" to fail HOT 14
- RetroPie Not Recognizing New Gampad HOT 2
- Install fails as per Jaycar instructions. Help. :) HOT 5
- Only two inputs work HOT 5
- Gamepads Detected but only Keyboard controls
- ModuleNotFoundError: No module named evdev HOT 5
- gpionext config doesn't detect gpio inputs HOT 3
- Gpio next syntax error raspberry pie 3 emulation station HOT 16
- Buttons effectively 'sticking' on - not detecting signal change HOT 1
- unable to map 2 player controlls on the same controller HOT 1
- inputs not working p0W HOT 2
- Update for Raspberry Pi 5? HOT 1
- Cannot Import name 'absinfo' from 'evdev'
- Syntax error during configuration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpionext.