mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-21 03:21:41 +00:00
16 lines
498 B
C#
16 lines
498 B
C#
|
using System.Runtime.InteropServices;
|
|||
|
|
|||
|
namespace Ryujinx.HLE.Input
|
|||
|
{
|
|||
|
[StructLayout(LayoutKind.Sequential)]
|
|||
|
public struct ControllerState
|
|||
|
{
|
|||
|
public long SamplesTimestamp;
|
|||
|
public long SamplesTimestamp2;
|
|||
|
public ControllerButtons ButtonState;
|
|||
|
public JoystickPosition LeftStick;
|
|||
|
public JoystickPosition RightStick;
|
|||
|
public ControllerConnectionState ConnectionState;
|
|||
|
}
|
|||
|
}
|