Giter VIP home page Giter VIP logo

Comments (7)

mholgatem avatar mholgatem commented on August 26, 2024

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.

tommythorn avatar tommythorn commented on August 26, 2024

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.

mholgatem avatar mholgatem commented on August 26, 2024

Did you run the config utility after installation?
gpionext config

from gpionext.

tommythorn avatar tommythorn commented on August 26, 2024

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.

mholgatem avatar mholgatem commented on August 26, 2024

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:

image

it will run through 4 directions for each Dpad/joystick selected, plus 1 for each button.

from gpionext.

tommythorn avatar tommythorn commented on August 26, 2024

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.

mholgatem avatar mholgatem commented on August 26, 2024

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)

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.