mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 11:04:21 +01:00
Added X360 related enums
This commit is contained in:
parent
aff365b28f
commit
d9873a7232
42
DS4Windows/DS4Control/VigemXbox360Report.cs
Normal file
42
DS4Windows/DS4Control/VigemXbox360Report.cs
Normal 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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user