Introduce Keycode to simplify key checks.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user