cathery / sys-ftpd

Nintendo Switch FTP server as a background service (sysmodule)
GNU General Public License v3.0
240 stars 14 forks source link

LED on Pro Controller home button stays on after disconnecting from server #9

Closed vezelas closed 4 years ago

vezelas commented 4 years ago

After disconnecting from the server the notification light on the joycons turn off, but the light on the switch pro controller stays on unless I hit the power button on the console or the reset/sync button on the pro controller.

cathery commented 4 years ago

Is all of your controllers' firmware up to date? If not, does the issue still occur after you've updated the firmware?

vezelas commented 4 years ago

All of my controllers are up to date and only the pro controller led stays on.

cathery commented 4 years ago

I'm looking at the code now, it lights up the LED for up to 5 controllers, but disconnects only the first. Makes no sense to me that it tries to light up multiple LEDs; would you be okay if I made it light up only the first controller?

vezelas commented 4 years ago

Sounds good!

cathery commented 4 years ago

It will now only flash LED for the handheld joycons if no other controllers are connected, or the first player controllers if they are found. Additionally this also fixes all the LEDs that would stay on in controllers with old firmware.