Fix so that users can at least map to left shift, control, and alt. Currently right is not possible to map.

This commit is contained in:
andres.delikat 2011-04-17 18:06:10 +00:00
parent 35f339149c
commit ca1ad67f8e
2 changed files with 5 additions and 5 deletions

View File

@ -199,8 +199,8 @@
public string HexEditor = "";
public string LuaConsole = "";
public string Cheats = "";
public string OpenROM = "";
public string CloseROM = "";
public string OpenROM = "LeftControl+O, RightControl+O";
public string CloseROM = "LeftControl+W, RightControl+W";
public string FrameCounterBinding = "";
public string FPSBinding = "";
public string LagCounterBinding = "";

View File

@ -87,11 +87,11 @@ namespace BizHawk.MultiClient
{
string str = "";
if((modifiers & Keys.Shift)!=0)
str += "SHIFT + ";
str += "LeftShift + ";
if ((modifiers & Keys.Control) != 0)
str += "CTRL + ";
str += "LeftControl + ";
if ((modifiers & Keys.Alt) != 0)
str += "ALT + ";
str += "LeftAlt + ";
str += key.ToString();
if (str.Length > 3)
{