Fix so that Number pad keys can be mapped to hotkeys & controllers without crashing
This commit is contained in:
parent
fb4abe9331
commit
cb6e6d2d13
|
@ -93,6 +93,8 @@ namespace BizHawk.MultiClient
|
||||||
if ((modifiers & Keys.Alt) != 0)
|
if ((modifiers & Keys.Alt) != 0)
|
||||||
str += "LeftAlt + ";
|
str += "LeftAlt + ";
|
||||||
str += key.ToString();
|
str += key.ToString();
|
||||||
|
if (str.Substring(0, 6) == "NumPad")
|
||||||
|
str = str.Insert(3, "ber");
|
||||||
if (str.Length > 3)
|
if (str.Length > 3)
|
||||||
{
|
{
|
||||||
if (str.Substring(0, 3) == "Oem")
|
if (str.Substring(0, 3) == "Oem")
|
||||||
|
|
Loading…
Reference in New Issue