mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-22 14:47:10 +02:00
Add Controller Selector and Update MoltenVK
This commit is contained in:
parent
674824184a
commit
ab28f9a24a
10 changed files with 125 additions and 51 deletions
|
@ -96,12 +96,12 @@ namespace Ryujinx.SDL2.Common
|
|||
|
||||
SDL_EventState(SDL_EventType.SDL_CONTROLLERSENSORUPDATE, SDL_DISABLE);
|
||||
|
||||
string gamepadDbPath = Path.Combine(ReleaseInformation.GetBaseApplicationDirectory(), "SDL_GameControllerDB.txt");
|
||||
// string gamepadDbPath = Path.Combine(ReleaseInformation.GetBaseApplicationDirectory(), "SDL_GameControllerDB.txt");
|
||||
|
||||
if (File.Exists(gamepadDbPath))
|
||||
{
|
||||
SDL_GameControllerAddMappingsFromFile(gamepadDbPath);
|
||||
}
|
||||
// if (File.Exists(gamepadDbPath))
|
||||
// {
|
||||
// SDL_GameControllerAddMappingsFromFile(gamepadDbPath);
|
||||
// }
|
||||
|
||||
_registeredWindowHandlers = new ConcurrentDictionary<uint, Action<SDL_Event>>();
|
||||
_worker = new Thread(EventWorker);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue