Clear LED on game close as well

This commit is contained in:
Evan Husted
2025-01-23 21:59:54 -06:00
parent a6dfbe9ec2
commit 344c1a5fef
9 changed files with 43 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
using Ryujinx.Common.Configuration;
using Ryujinx.Common.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Numerics;
@@ -164,6 +165,8 @@ namespace Ryujinx.Input.SDL2
return new SDL2Mouse(this);
}
public IEnumerable<IGamepad> GetGamepads() => [GetGamepad("0")];
public void Dispose()
{
if (_isDisposed)