Introduce Keycode to simplify key checks.

This commit is contained in:
Paul Chote
2013-10-20 15:28:23 +13:00
parent dbb38e3a42
commit e5f93ec39e
4 changed files with 514 additions and 7 deletions

View File

@@ -66,10 +66,13 @@ namespace OpenRA
public struct KeyInput
{
public KeyInputEvent Event;
public char UnicodeChar;
public string KeyName;
public Keycode Key;
public Modifiers Modifiers;
public int VirtKey;
public int MultiTapCount;
public char UnicodeChar;
// Deprecated
public string KeyName;
public int VirtKey;
}
}