JoyCon.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. namespace Ryujinx
  2. {
  3. public enum JoyConColor //Thanks to CTCaer
  4. {
  5. Body_Grey = 0x828282,
  6. Body_Neon_Blue = 0x0AB9E6,
  7. Body_Neon_Red = 0xFF3C28,
  8. Body_Neon_Yellow = 0xE6FF00,
  9. Body_Neon_Pink = 0xFF3278,
  10. Body_Neon_Green = 0x1EDC00,
  11. Body_Red = 0xE10F00,
  12. Buttons_Grey = 0x0F0F0F,
  13. Buttons_Neon_Blue = 0x001E1E,
  14. Buttons_Neon_Red = 0x1E0A0A,
  15. Buttons_Neon_Yellow = 0x142800,
  16. Buttons_Neon_Pink = 0x28001E,
  17. Buttons_Neon_Green = 0x002800,
  18. Buttons_Red = 0x280A0A
  19. }
  20. public struct JoyConLeft
  21. {
  22. public int StickUp;
  23. public int StickDown;
  24. public int StickLeft;
  25. public int StickRight;
  26. public int StickButton;
  27. public int DPadUp;
  28. public int DPadDown;
  29. public int DPadLeft;
  30. public int DPadRight;
  31. public int ButtonMinus;
  32. public int ButtonL;
  33. public int ButtonZL;
  34. public int ButtonSL;
  35. public int ButtonSR;
  36. }
  37. public struct JoyConRight
  38. {
  39. public int StickUp;
  40. public int StickDown;
  41. public int StickLeft;
  42. public int StickRight;
  43. public int StickButton;
  44. public int ButtonA;
  45. public int ButtonB;
  46. public int ButtonX;
  47. public int ButtonY;
  48. public int ButtonPlus;
  49. public int ButtonR;
  50. public int ButtonZR;
  51. public int ButtonSL;
  52. public int ButtonSR;
  53. }
  54. public struct JoyCon
  55. {
  56. public JoyConLeft Left;
  57. public JoyConRight Right;
  58. }
  59. }