Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple LEDs to signal the toggle of a feature (specifically 4 way joystick) #831

Open
febs opened this issue Feb 6, 2024 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@febs
Copy link

febs commented Feb 6, 2024

Have you checked the GP2040-CE documentation HERE to confirm this feature doesn't already exist?

Yes.

Which problem is this feature request solving?

LCD screens are awesome, informative, and very good looking on flatboxes and most modern controllers.
Nevertheless, on old, ignorant, rough boards those wouldn't be really aesthetically fitting in my opinion. Plus, it would just be nice to have an alternative.
That is, I think it would be cool to be able to just light up a simple, old school LED whenever a feature is enabled or not (for instance, the 4-way joystick mode, or if profile 1 is selected, whatever).

Describe the solution you would like to see

Being able to bind the lighting/turning off or on of a led to a pin and a feature, such as the 4 way mode.

By the way, specifically 4 way mode isn't featured at all in the I2C display elements.

Describe alternatives you've considered

I don't know really. I found myself having an harder time than expected to realize whether my joystick is in one mode or another.
While browsing a retrogaming console interface there's no way to tell. I have to open a game to actually test that.

Plus it would be super cool to have a red LED on when the stick is 4 way :-D

Can you submit a pull request?

Should be able to.

Are you planning on working on this feature yourself?

Can try.

@TheTrainGoes
Copy link
Contributor

Hi @febs ,

Generally we have tried to move away from single pin -> LED stuff as pins are normally at a premium. The hope is that we can have more of this stuff tied to the addressible RGB LED line.

Having said that, if you want to take a swing at it, I would check out the Turbo LED setup as it should be able to work with and get doing what you need to do.

@febs
Copy link
Author

febs commented Feb 6, 2024

Speaking of which, I might have found an involuntarily cut of the Turbo LED documentation:
image

@bsstephan
Copy link
Contributor

I moved the docs issue into a new defect.

@bsstephan bsstephan added the enhancement New feature or request label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants