Bypass low battery notification when using an USB controller
This commit is contained in:
parent
461f5f8f5c
commit
e8725ae0d2
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ namespace BetterJoyForCemu {
|
|||
}
|
||||
}
|
||||
|
||||
if (battery <= 1) {
|
||||
if (battery <= 1 && !isUSB) {
|
||||
form.notifyIcon.Visible = true;
|
||||
form.notifyIcon.BalloonTipText = String.Format("Controller {0} ({1}) - low battery notification!", PadId, isPro ? "Pro Controller" : (isSnes ? "SNES Controller" : (isLeft ? "Joycon Left" : "Joycon Right")));
|
||||
form.notifyIcon.ShowBalloonTip(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue