Code Monkey home page Code Monkey logo

Comments (14)

mholgatem avatar mholgatem commented on July 3, 2024

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.

tristangough avatar tristangough commented on July 3, 2024

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.

mholgatem avatar mholgatem commented on July 3, 2024

got it. What pins are the touchscreen and audio amp using?

from gpionext.

tristangough avatar tristangough commented on July 3, 2024

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.

mholgatem avatar mholgatem commented on July 3, 2024

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.

tristangough avatar tristangough commented on July 3, 2024

I used to be running Retrogame, but I turned off the daemon after I installed GPIOnext.

from gpionext.

mholgatem avatar mholgatem commented on July 3, 2024

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.

mholgatem avatar mholgatem commented on July 3, 2024

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.

tristangough avatar tristangough commented on July 3, 2024

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.

mholgatem avatar mholgatem commented on July 3, 2024

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.

tristangough avatar tristangough commented on July 3, 2024

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.

mholgatem avatar mholgatem commented on July 3, 2024

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.

tristangough avatar tristangough commented on July 3, 2024

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.

mholgatem avatar mholgatem commented on July 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.