ControllerType.cs 541 B

1234567891011121314151617181920
  1. using System;
  2. namespace Ryujinx.Common.Configuration.Hid
  3. {
  4. [Flags]
  5. // This enum was duplicated from Ryujinx.HLE.HOS.Services.Hid.PlayerIndex and should be kept identical
  6. public enum ControllerType : int
  7. {
  8. None,
  9. ProController = 1 << 0,
  10. Handheld = 1 << 1,
  11. JoyconPair = 1 << 2,
  12. JoyconLeft = 1 << 3,
  13. JoyconRight = 1 << 4,
  14. Invalid = 1 << 5,
  15. Pokeball = 1 << 6,
  16. SystemExternal = 1 << 29,
  17. System = 1 << 30
  18. }
  19. }