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

Have the ability to keep the app running as it goes through a list of connected Joycons before terminating itself #2

Open
tommai78101 opened this issue Aug 31, 2024 · 1 comment

Comments

@tommai78101
Copy link

tommai78101 commented Aug 31, 2024

Currently, the app turns off one paired ("connected" henceforth) Joycons at a time. If there are 4 Joycons connected to the PC via Bluetooth, running the app and following the instructions only allow you to turn off 1 of them. And you have to repeatedly launch the app for however many Joycons connected to the PC.

I would like to request if the app can either:

  • Detect all connected Joycons, and turn them all off in one go.
  • Repeat the detection of 1 connected Joycon and turn them off, until the user terminates the app.

Thank you.

@Sopsy
Copy link
Owner

Sopsy commented Aug 31, 2024

This is definitely doable, and should be rather easy, but I wanted to keep the code as short as possible to minimize the amount of possible bugs. I believe just a loop back to controller detection from the final return 0 would be enough.

It's a good idea honestly, but as this is probably not used daily and as it's been 3 years since I last worked on this and it still works, I think I prefer not to break it just for a convenience feature.

I'll keep this in mind anyway if I ever need to change anything with this (for example by adding the missing Genesis controller support).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants