mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-29 09:57:09 +02:00
Support other switch controller types (#487)
* Make controllers modular, support changing controller type * return readable events * signal hid events * fix style
This commit is contained in:
parent
c6de4b43f8
commit
0975f80081
24 changed files with 574 additions and 409 deletions
11
Ryujinx.HLE/Input/HidControllerConnState.cs
Normal file
11
Ryujinx.HLE/Input/HidControllerConnState.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
using System;
|
||||
|
||||
namespace Ryujinx.HLE.Input
|
||||
{
|
||||
[Flags]
|
||||
public enum HidControllerConnState
|
||||
{
|
||||
Controller_State_Connected = (1 << 0),
|
||||
Controller_State_Wired = (1 << 1)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue