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
14
Ryujinx.HLE/Input/HidControllerType.cs
Normal file
14
Ryujinx.HLE/Input/HidControllerType.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
|
||||
namespace Ryujinx.HLE.Input
|
||||
{
|
||||
[Flags]
|
||||
public enum HidControllerType
|
||||
{
|
||||
ProController = 1 << 0,
|
||||
Handheld = 1 << 1,
|
||||
NpadPair = 1 << 2,
|
||||
NpadLeft = 1 << 3,
|
||||
NpadRight = 1 << 4
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue