C64 - Virtualpads - add the 2 joysticks

This commit is contained in:
adelikat 2012-11-18 22:34:38 +00:00
parent b9c77106f7
commit 7ac6c1ce6c
2 changed files with 12 additions and 1 deletions

View File

@ -136,7 +136,7 @@ namespace BizHawk.MultiClient
private void Buttons_CheckedChanged(object sender, EventArgs e)
{
if (Global.Emulator.SystemId != "A26") return;
if (Global.Emulator.SystemId != "A26" && Global.Emulator.SystemId != "C64") return;
if (sender == PU)
Global.StickyXORAdapter.SetSticky(Controller + " Up", PU.Checked);
else if (sender == PD)

View File

@ -183,6 +183,17 @@ namespace BizHawk.MultiClient
c64k.Location = new Point(8, 19);
Pads.Add(c64k);
ControllerBox.Controls.Add(c64k);
VirtualPadA26 _ataripad1 = new VirtualPadA26();
_ataripad1.Location = new Point(8, 159);
_ataripad1.Controller = "P1";
VirtualPadA26 _ataripad2 = new VirtualPadA26();
_ataripad2.Location = new Point(188, 159);
_ataripad2.Controller = "P2";
Pads.Add(_ataripad1);
Pads.Add(_ataripad2);
ControllerBox.Controls.Add(_ataripad1);
ControllerBox.Controls.Add(_ataripad2);
break;
}
}