clean up low-level keyboard input

This commit is contained in:
Chris Forbes
2010-07-15 20:06:00 +12:00
parent bf50a2961e
commit 071c790097
8 changed files with 67 additions and 59 deletions

View File

@@ -71,7 +71,7 @@ namespace OpenRA.Widgets
return true;
}
public override bool HandleKeyPress(System.Windows.Forms.KeyPressEventArgs e, Modifiers modifiers)
public override bool HandleKeyPress(KeyInput e)
{
// Only take input if we are focused
if (!Focused)