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
0c36835f6d
commit
dc02ac08ca
24 changed files with 574 additions and 409 deletions
13
Ryujinx.HLE/Input/HidControllerLayouts.cs
Normal file
13
Ryujinx.HLE/Input/HidControllerLayouts.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
namespace Ryujinx.HLE.Input
|
||||
{
|
||||
public enum HidControllerLayouts
|
||||
{
|
||||
Pro_Controller = 0,
|
||||
Handheld_Joined = 1,
|
||||
Joined = 2,
|
||||
Left = 3,
|
||||
Right = 4,
|
||||
Main_No_Analog = 5,
|
||||
Main = 6
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue