From d9873a7232c5ae34d25e41875b7dd1e99e5604e2 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Wed, 3 Apr 2019 17:35:10 -0500 Subject: [PATCH] Added X360 related enums --- DS4Windows/DS4Control/VigemXbox360Report.cs | 42 +++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 DS4Windows/DS4Control/VigemXbox360Report.cs 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 + } +}