1. Added Atari 2600 to COMMANDS dictionary.
2. Added Atari 2600 case when updating virtual pads.
This commit is contained in:
parent
f7fa9f7751
commit
8bc250e7dd
|
@ -109,6 +109,7 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
public static readonly Dictionary<string, Dictionary<string, string>> COMMANDS = new Dictionary<string, Dictionary<string, string>>()
|
public static readonly Dictionary<string, Dictionary<string, string>> COMMANDS = new Dictionary<string, Dictionary<string, string>>()
|
||||||
{
|
{
|
||||||
|
{"Atari 2600 Basic Controller", new Dictionary<string, string>() {{"Reset", "r"}, {"Select", "s"}}},
|
||||||
{"Gameboy Controller", new Dictionary<string, string>() {}},
|
{"Gameboy Controller", new Dictionary<string, string>() {}},
|
||||||
{"Genesis 3-Button Controller", new Dictionary<string, string>() {}},
|
{"Genesis 3-Button Controller", new Dictionary<string, string>() {}},
|
||||||
{"NES Controller", new Dictionary<string, string>() {{"Lag", "l"}, {"Reset", "r"}}},
|
{"NES Controller", new Dictionary<string, string>() {{"Lag", "l"}, {"Reset", "r"}}},
|
||||||
|
|
|
@ -67,6 +67,11 @@ namespace BizHawk.MultiClient
|
||||||
Pads[1].SetButtons(str.Substring(12, 8));
|
Pads[1].SetButtons(str.Substring(12, 8));
|
||||||
Pads[2].SetButtons(str[1].ToString());
|
Pads[2].SetButtons(str[1].ToString());
|
||||||
break;
|
break;
|
||||||
|
case "A26":
|
||||||
|
Pads[0].SetButtons(str.Substring(4, 5));
|
||||||
|
Pads[1].SetButtons(str.Substring(10, 5));
|
||||||
|
Pads[2].SetButtons(str.Substring(1, 2));
|
||||||
|
break;
|
||||||
case "SMS":
|
case "SMS":
|
||||||
case "GG":
|
case "GG":
|
||||||
case "SG":
|
case "SG":
|
||||||
|
|
Loading…
Reference in New Issue