[Win] Implemented modifier keys

This commit is contained in:
thefiddler 2014-02-17 23:21:13 +01:00
parent c92aabd807
commit 9ba21d6017

View file

@ -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);
}
}