Refactor HID, fix issues (#48)
* Refactor HID, fix issues * Fix on touch screen code with wrong offset * Don't use magic values * Replace more magic values with actual variables, fix touch screen coordinates on different window sizes
This commit is contained in:
parent
efef605b26
commit
c14c69a10c
22 changed files with 491 additions and 709 deletions
11
Ryujinx.Core/Hid/HidControllerConnState.cs
Normal file
11
Ryujinx.Core/Hid/HidControllerConnState.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
using System;
|
||||
|
||||
namespace Ryujinx.Core.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