[Input] Buttons should have [Flags] attribute
authorthefiddler <stapostol@gmail.com>
Mon, 30 Dec 2013 15:07:06 +0000 (16:07 +0100)
committerthefiddler <stapostol@gmail.com>
Mon, 30 Dec 2013 15:07:06 +0000 (16:07 +0100)
Source/OpenTK/Input/Buttons.cs

index 5d3889e..878c738 100644 (file)
@@ -30,8 +30,9 @@ namespace OpenTK.Input
     /// <summary>
     /// Enumerates available buttons for a canonical <c>GamePad</c> device.
     /// </summary>
-       public enum Buttons
-       {
+    [Flags]
+    public enum Buttons
+    {
         /// <summary>
         /// DPad up direction button
         /// </summary>