Add keybind (hardcoded) for MainForm context menu

This commit is contained in:
YoshiRulz 2023-03-22 13:28:39 +10:00
parent 4368629e67
commit 480b51b274
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 6 additions and 0 deletions

View File

@ -1124,6 +1124,12 @@ namespace BizHawk.Client.EmuHawk
}
// ordinarily, an alt release with nothing else would move focus to the MenuBar. but that is sort of useless, and hard to implement exactly right.
if (Config.ShowContextMenu && ie.ToString() == "Press:Apps" && ContainsFocus)
{
// same as right-click
MainFormContextMenu.Show(PointToScreen(new(0, MainformMenu.Height)));
}
}
// zero 09-sep-2012 - all input is eligible for controller input. not sure why the above was done.