summaryrefslogtreecommitdiff
path: root/src/Noddybox.Emulation.Xna.Input/Joystick/JoystickState.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Noddybox.Emulation.Xna.Input/Joystick/JoystickState.cs')
-rw-r--r--src/Noddybox.Emulation.Xna.Input/Joystick/JoystickState.cs14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/Noddybox.Emulation.Xna.Input/Joystick/JoystickState.cs b/src/Noddybox.Emulation.Xna.Input/Joystick/JoystickState.cs
index 3933127..5c23313 100644
--- a/src/Noddybox.Emulation.Xna.Input/Joystick/JoystickState.cs
+++ b/src/Noddybox.Emulation.Xna.Input/Joystick/JoystickState.cs
@@ -31,11 +31,15 @@ namespace Noddybox.Emulation.Xna.Input.Joystick
[Flags]
public enum DigitalJoystickState
{
- Centre = 0x00,
- Up = 0x01,
- Down = 0x02,
- Left = 0x04,
- Right = 0x08
+ Centre = 0x00,
+ Up = 0x01,
+ Down = 0x02,
+ Left = 0x04,
+ Right = 0x08,
+ UpLeft = Up | Left,
+ UpRight = Up | Right,
+ DownLeft = Down | Left,
+ DownRight = Down | Right
}
/// <summary>