From 2d303a6884187895af2ec8a6e82f7dcbe458b25f Mon Sep 17 00:00:00 2001 From: thefiddler Date: Mon, 30 Dec 2013 16:07:06 +0100 Subject: [PATCH] [Input] Buttons should have [Flags] attribute --- Source/OpenTK/Input/Buttons.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/OpenTK/Input/Buttons.cs b/Source/OpenTK/Input/Buttons.cs index 5d3889e7..878c738f 100644 --- a/Source/OpenTK/Input/Buttons.cs +++ b/Source/OpenTK/Input/Buttons.cs @@ -30,8 +30,9 @@ namespace OpenTK.Input /// /// Enumerates available buttons for a canonical GamePad device. /// - public enum Buttons - { + [Flags] + public enum Buttons + { /// /// DPad up direction button ///