projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6faa58a
)
[Input] Buttons should have [Flags] attribute
author
thefiddler
<stapostol@gmail.com>
Mon, 30 Dec 2013 15:07:06 +0000
(16:07 +0100)
committer
thefiddler
<stapostol@gmail.com>
Mon, 30 Dec 2013 15:07:06 +0000
(16:07 +0100)
Source/OpenTK/Input/Buttons.cs
patch
|
blob
|
history
diff --git
a/Source/OpenTK/Input/Buttons.cs
b/Source/OpenTK/Input/Buttons.cs
index
5d3889e
..
878c738
100644
(file)
--- a/
Source/OpenTK/Input/Buttons.cs
+++ b/
Source/OpenTK/Input/Buttons.cs
@@
-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>