Comments (14)
ok, please walk me through the steps that you are taking so I can troubleshoot. Also please describe the controller you are trying to use (number of buttons, joysticks, if you are trying to assign keys/buttons/commands, do you have anything other than your controller using the gpio). Hopefully we can get this fixed for you.
from gpionext.
I start up gpionext config
, then choose Joypad 1. The controller has 1 Dpad, Start, Select, A, B, X, Y, Left Trigger 1, Right Trigger 1, and two generic buttons.
I have a Raspberry Pi touchscreen, and an audio amp powered by the GPIO.
from gpionext.
got it. What pins are the touchscreen and audio amp using?
from gpionext.
The screen is using pins 4 and 6 (5V and ground), and the amp is using 1 and 9 (3.3V and ground)
from gpionext.
ok, do you have any other software running that may affect the gpio?
I'll have some time tomorrow to run some tests and I'll let you know what I come up with.
from gpionext.
I used to be running Retrogame, but I turned off the daemon after I installed GPIOnext.
from gpionext.
Sorry, I didn't have time to get to it today. I'm going to be unavailable until Monday, but I should have some time then to look into it.
from gpionext.
so far I haven't been able to duplicate this issue. you may try checking to make sure that a button isn't sticking or try it on a fresh image to make sure some other software isn't doing something with the GPIO.
I'll continue testing. Was there any other software that you installed? maybe for the screen or the amp?
from gpionext.
I installed a fresh Retropie image (4.4) on a Raspberry Pi 3. Still got the same problem. I'll Look into the buttons and see if they are sticking.
from gpionext.
I still haven't been able to replicate this issue. I installed on a fresh retropi image (also 4.4) on RPi3. There are a couple of flags that you could try setting that may have some bearing on the issue. You could try
gpionext config --pins 3,5,7,8,10,11,12,[etc]
this tells gpionext to only watch those pins during configuration (you don't need to list ground pins)
you can also try changing the debounce time, although I don't think that this is your problem
gpionext config --debounce 100
debounce temporarily disables the pin after a state change. So in the example above, it would disable the pin for 1/10th of a second after you press the key, then again after you release. the default amount for the configuration is 20ms which is 1/50th of a second.
from gpionext.
I tried on a different Pi (B+), and it worked. It seems to have been a problem with the Pi 3 I was using, although I'm not sure what.
from gpionext.
hmm. that's very strange. I've never encountered that problem before, but it's good to know. Was this new one also a Pi 3?
from gpionext.
No, it was a B+. I bought the original Pi 3 second hand, so there could be issues with it that Iām not aware of.
from gpionext.
I only ask because the pi3 has a B & B+ model. But I get what you are saying. I'm going to go ahead and close this issue, but feel free to reach out again if you run into any more problems. Happy gaming!
from gpionext.
Related Issues (20)
- 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
- Exception in thread HOT 5
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.