mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-29 04:51:20 -08:00
c14c69a10c
* 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
46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
//TODO: This is only used by Config, it doesn't belong to Core.
|
|
namespace Ryujinx.Core.Input
|
|
{
|
|
public struct JoyConLeft
|
|
{
|
|
public int StickUp;
|
|
public int StickDown;
|
|
public int StickLeft;
|
|
public int StickRight;
|
|
public int StickButton;
|
|
public int DPadUp;
|
|
public int DPadDown;
|
|
public int DPadLeft;
|
|
public int DPadRight;
|
|
public int ButtonMinus;
|
|
public int ButtonL;
|
|
public int ButtonZL;
|
|
public int ButtonSL;
|
|
public int ButtonSR;
|
|
}
|
|
|
|
public struct JoyConRight
|
|
{
|
|
public int StickUp;
|
|
public int StickDown;
|
|
public int StickLeft;
|
|
public int StickRight;
|
|
public int StickButton;
|
|
public int ButtonA;
|
|
public int ButtonB;
|
|
public int ButtonX;
|
|
public int ButtonY;
|
|
public int ButtonPlus;
|
|
public int ButtonR;
|
|
public int ButtonZR;
|
|
public int ButtonSL;
|
|
public int ButtonSR;
|
|
}
|
|
|
|
public struct JoyCon
|
|
{
|
|
public JoyConLeft Left;
|
|
public JoyConRight Right;
|
|
}
|
|
}
|