Virtual Pad buttons - don't do anything on space, tab, and shift+tab

This commit is contained in:
adelikat 2015-02-14 03:51:29 +00:00
parent abbee1672e
commit 73c1bedd9e
1 changed files with 12 additions and 0 deletions

View File

@ -184,5 +184,17 @@ namespace BizHawk.Client.EmuHawk
}
GlobalWin.MainForm.Activate();
}
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if (keyData == Keys.Tab ||
keyData == (Keys.Shift | Keys.Tab) ||
keyData == Keys.Space)
{
return true;
}
return base.ProcessCmdKey(ref msg, keyData);
}
}
}