Add KeyInput.IsRepeat.

This commit is contained in:
Paul Chote
2017-05-06 14:10:24 +01:00
parent 669cf01d80
commit fff2f097d0
2 changed files with 3 additions and 1 deletions

View File

@@ -170,7 +170,8 @@ namespace OpenRA.Platforms.Default
Key = keyCode,
Modifiers = mods,
UnicodeChar = (char)e.key.keysym.sym,
MultiTapCount = tapCount
MultiTapCount = tapCount,
IsRepeat = e.key.repeat != 0
};
// Special case workaround for windows users