2022-03-18 18:46:44 +00:00
|
|
|
namespace MoonWorks.Input
|
|
|
|
{
|
2023-09-14 18:23:04 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Can be used to access a gamepad button without a direct reference to the button object.
|
|
|
|
/// Enum values are equivalent to the SDL GameControllerButton value.
|
|
|
|
/// </summary>
|
2022-07-12 23:09:23 +00:00
|
|
|
public enum GamepadButtonCode
|
2022-03-18 18:46:44 +00:00
|
|
|
{
|
|
|
|
A,
|
|
|
|
B,
|
|
|
|
X,
|
|
|
|
Y,
|
|
|
|
Back,
|
|
|
|
Guide,
|
|
|
|
Start,
|
|
|
|
LeftStick,
|
|
|
|
RightStick,
|
|
|
|
LeftShoulder,
|
|
|
|
RightShoulder,
|
|
|
|
DpadUp,
|
|
|
|
DpadDown,
|
|
|
|
DpadLeft,
|
|
|
|
DpadRight
|
|
|
|
}
|
|
|
|
}
|