Davidobot / BetterJoy

Allows the Nintendo Switch Pro Controller, Joycons and SNES controller to be used with CEMU, Citra, Dolphin, Yuzu and as generic XInput
Other
3.93k stars 344 forks source link

[ENHANCEMENT] Turn Off Joycons Feature #909

Closed WASasquatch closed 2 years ago

WASasquatch commented 2 years ago

Is your feature request related to a problem? Please describe. Bluetooth devices naturally stay connected as long as they're powered. The Joycons feature the ability to turn off from the Switch. This functionality would be beneficial on the PC as the Joycons will stay on until they drain themselves.

However the only way currently to power off the joycons is to disconnect them from bluetooth, which means setting up Bluetooth and the Joycons again when I want to play again (sometimes just 10 minutes later).

Describe the solution you'd like A button to signal to the controllers to power off so that they remain paired with the PC and reconnect when buttons are pressed on the controllers to power on.

rellystop commented 2 years ago

same as my mind

TeaBagSmileyFace commented 2 years ago

it actually has this feature. just hold the share or home button.

WASasquatch commented 2 years ago

Well then it may be broken, cause that's also how you turn off the home light, which is stuck on, and doesn't turn off, nor does the controller turn off when connected to PC with BetterJoy.

On Wed, Feb 9, 2022 at 3:38 AM TeaBagSmileyFace @.***> wrote:

it actually has this feature. just hold the share or home button.

— Reply to this email directly, view it on GitHub https://github.com/Davidobot/BetterJoy/issues/909#issuecomment-1033667622, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZKOYNOWAOKDKYHGZC3U2JG2PANCNFSM5KYUJMJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

-- Sincerely, Jordan S. C. Thompson

DamianS-eng commented 2 years ago

You can turn off any Switch controller, Joycon or Pro, by pressing the Sync button while it's connected. It's a hardware feature, so a remote button to turn them off from software is pointless. Use a value greater than 0 in the config file under "PowerOffInactivity" to automatically time it out after the given time with no input passes.

Davidobot commented 2 years ago

You can also hold the home button for 3/5s to switch them off: https://github.com/Davidobot/BetterJoy/blob/master/BetterJoyForCemu/App.config#L133

WASasquatch commented 2 years ago

You can also hold the home button for 3/5s to switch them off: https://github.com/Davidobot/BetterJoy/blob/master/BetterJoyForCemu/App.config#L133

This is not universal, as I mentioned my battery operated Mario pro controller doesn't turn off this way, it just turns off the home buttons light which is otherwise always on. No length of holding it down turns it off, it will always respond in diagnostic, so you know it's not even re-syncing so must still be on.

Not even this syncing stuff turns it off. Only way to turn it off is on a switch itself via turn off joycon/controller feature in options, or be yanking the batteries.

But that is exactly why I suggested this, because the Switch has a signal it can send the controller to turn off. So there is no reason this functionality couldn't be added, to further the Switch-like experience. Especially if you've already shelved it, or Bluetooth wakes when PC comes out of sleep.