mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 17:35:27 +00:00
[Win] Implemented modifier keys
This commit is contained in:
parent
c92aabd807
commit
9ba21d6017
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue