ControllerInfo.cs 504 B

1234567891011121314151617181920
  1. using Ryujinx.Common.Memory;
  2. using System.Runtime.InteropServices;
  3. namespace Ryujinx.Input.Motion.CemuHook.Protocol
  4. {
  5. [StructLayout(LayoutKind.Sequential, Pack = 1)]
  6. public struct ControllerInfoResponse
  7. {
  8. public SharedResponse Shared;
  9. private byte _zero;
  10. }
  11. [StructLayout(LayoutKind.Sequential, Pack = 1)]
  12. public struct ControllerInfoRequest
  13. {
  14. public MessageType Type;
  15. public int PortsCount;
  16. public Array4<byte> PortIndices;
  17. }
  18. }