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:
c92aabd
)
[Win] Implemented modifier keys
author
thefiddler
<stapostol@gmail.com>
Mon, 17 Feb 2014 22:21:13 +0000
(23:21 +0100)
committer
thefiddler
<stapostol@gmail.com>
Tue, 25 Feb 2014 00:13:45 +0000
(
01:13
+0100)
Source/OpenTK/Platform/Windows/WinGLNative.cs
patch
|
blob
|
history
diff --git
a/Source/OpenTK/Platform/Windows/WinGLNative.cs
b/Source/OpenTK/Platform/Windows/WinGLNative.cs
index
53d498b
..
9688984
100644
(file)
--- a/
Source/OpenTK/Platform/Windows/WinGLNative.cs
+++ b/
Source/OpenTK/Platform/Windows/WinGLNative.cs
@@
-511,11
+511,13
@@
namespace OpenTK.Platform.Windows
if (pressed)
{
key_down.Key = key;
+ key_down.Modifiers = keyboard.GetModifiers();
KeyDown(this, key_down);
}
else
{
key_up.Key = key;
+ key_up.Modifiers = keyboard.GetModifiers();
KeyUp(this, key_up);
}
}