diff --git a/DS4Windows/DS4Control/VigemXbox360Report.cs b/DS4Windows/DS4Control/VigemXbox360Report.cs new file mode 100644 index 0000000..024e5d4 --- /dev/null +++ b/DS4Windows/DS4Control/VigemXbox360Report.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DS4Windows +{ + [Flags] + public enum Xbox360Buttons : ushort + { + Up = 0x0001, + Down = 0x0002, + Left = 0x0004, + Right = 0x0008, + Start = 0x0010, + Back = 0x0020, + LeftThumb = 0x0040, + RightThumb = 0x0080, + LeftShoulder = 0x0100, + RightShoulder = 0x0200, + Guide = 0x0400, + A = 0x1000, + B = 0x2000, + X = 0x4000, + Y = 0x8000 + } + + public enum Xbox360Axes + { + LeftThumbX, + LeftThumbY, + RightThumbX, + RightThumbY + } + + public enum Xbox360Sliders + { + LeftTrigger, + RightTrigger + } +}