Added X360 related enums

This commit is contained in:
Travis Nickles 2019-04-03 17:35:10 -05:00
parent aff365b28f
commit d9873a7232

View File

@ -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
}
}