Giter Site home page Giter Site logo

Comments (5)

PaintYourDragon avatar PaintYourDragon commented on July 20, 2024

Afraid not. Closest thing is the "Vulcan nerve pinch" which activates when a button combo is held for a couple of seconds. Doesn't work for single buttons, but using an older version of the code (before settings files were added) it might be possible to hardcode this onto a single button. As long as just one is sufficient.

No plans to add this. It's never come up before, and the code is a terrifying spaghetti monster as it is.

from adafruit-retrogame.

hiulit avatar hiulit commented on July 20, 2024

That's even better! That's actually what I was looking for :)
Basically I'd like to add a delay for the combination "hotkey + another button" in Retropie.
How can I enable this "vulcan nerve pinch"?
Does this work with newer versions of Retrograme?

from adafruit-retrogame.

PaintYourDragon avatar PaintYourDragon commented on July 20, 2024

Oh! Well there you go. It does work in newer retrogame...in the settings file, follow the key code with multiple GPIO pin numbers instead of just one. See configs/retrogame.cfg.2button for an example.

The only "gotcha" is that you can have only ONE such combination.

from adafruit-retrogame.

hiulit avatar hiulit commented on July 20, 2024

Ok, I see what you say.

ESC      23 7 # Esc key = hold 'A'+'B' buttons (exit ROM)

Is that it?

But I don't see where I can set the time for the "vulcan nerve pinch".

Also, splitting hairs, could it be 3 or more buttons? :P

P.S. I'm okay with just one combination, thanks for the heads up!

from adafruit-retrogame.

PaintYourDragon avatar PaintYourDragon commented on July 20, 2024

Correct with the 'ESC 23 7'. Can be as many buttons as you want.

The time is hardcoded at 1.5 seconds. If you need to change that, currently the only option is to edit the source and recompile. 'vulcanTime' around line 114 (expressed in milliseconds).

from adafruit-retrogame.

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.