C64 - Virtualpads - add the 2 joysticks
This commit is contained in:
parent
b9c77106f7
commit
7ac6c1ce6c
|
@ -136,7 +136,7 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
private void Buttons_CheckedChanged(object sender, EventArgs e)
|
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)
|
if (sender == PU)
|
||||||
Global.StickyXORAdapter.SetSticky(Controller + " Up", PU.Checked);
|
Global.StickyXORAdapter.SetSticky(Controller + " Up", PU.Checked);
|
||||||
else if (sender == PD)
|
else if (sender == PD)
|
||||||
|
|
|
@ -183,6 +183,17 @@ namespace BizHawk.MultiClient
|
||||||
c64k.Location = new Point(8, 19);
|
c64k.Location = new Point(8, 19);
|
||||||
Pads.Add(c64k);
|
Pads.Add(c64k);
|
||||||
ControllerBox.Controls.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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue