Saturn - hook up console buttons, and hook everything up to controller config. Also trashed everyone's ini file if they ran bizhawk since saturn buttons were originally hooked up
This commit is contained in:
parent
4a74249236
commit
1292c87ca8
|
@ -835,7 +835,7 @@ namespace BizHawk.MultiClient
|
|||
//Saturn
|
||||
public SaturnControllerTemplate[] SaturnController = new SaturnControllerTemplate[2];
|
||||
public SaturnControllerTemplate[] SaturnAutoController = new SaturnControllerTemplate[2];
|
||||
public SaturnConsoleButtonTemplate[] SaturnConsoleButtons = new SaturnConsoleButtonTemplate[1];
|
||||
public SaturnConsoleButtonTemplate SaturnConsoleButtons = new SaturnConsoleButtonTemplate();
|
||||
|
||||
//Commodore 64 Settings
|
||||
public SingleButtonJoyStickTemplate[] C64Joysticks = new SingleButtonJoyStickTemplate[2];
|
||||
|
|
|
@ -1038,6 +1038,8 @@ namespace BizHawk.MultiClient
|
|||
Global.AutofireGBAControls = agbaControls;
|
||||
|
||||
var satControls = new Controller(Emulation.Consoles.Sega.Saturn.Yabause.SaturnController);
|
||||
satControls.BindMulti("Power", Global.Config.SaturnConsoleButtons.Power);
|
||||
satControls.BindMulti("Reset", Global.Config.SaturnConsoleButtons.Reset);
|
||||
satControls.BindMulti("P1 Up", Global.Config.SaturnController[0].Up);
|
||||
satControls.BindMulti("P1 Down", Global.Config.SaturnController[0].Down);
|
||||
satControls.BindMulti("P1 Left", Global.Config.SaturnController[0].Left);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -68,6 +68,17 @@ namespace BizHawk.MultiClient
|
|||
N64Autofire3Panel.LoadSettings(Global.Config.N64AutoController[2]);
|
||||
N64Autofire4Panel.LoadSettings(Global.Config.N64AutoController[3]);
|
||||
|
||||
SaturnController1Panel.Spacing = 25;
|
||||
SaturnController1Panel.LoadSettings(Global.Config.SaturnController[0]);
|
||||
SaturnController2Panel.Spacing = 25;
|
||||
SaturnController2Panel.LoadSettings(Global.Config.SaturnController[1]);
|
||||
SaturnConsoleButtons.Spacing = 25;
|
||||
SaturnConsoleButtons.LoadSettings(Global.Config.SaturnConsoleButtons);
|
||||
SaturnAutofire1Panel.Spacing = 25;
|
||||
SaturnAutofire1Panel.LoadSettings(Global.Config.SaturnAutoController[0]);
|
||||
SaturnAutofire2Panel.Spacing = 25;
|
||||
SaturnAutofire2Panel.LoadSettings(Global.Config.SaturnAutoController[1]);
|
||||
|
||||
SNESController1Panel.Spacing = 25;
|
||||
SNESController2Panel.Spacing = 25;
|
||||
SNESController3Panel.Spacing = 25;
|
||||
|
@ -265,7 +276,7 @@ namespace BizHawk.MultiClient
|
|||
PlatformTabControl.SelectTab(tabPageN64);
|
||||
break;
|
||||
case "SAT":
|
||||
//TODO
|
||||
PlatformTabControl.SelectTab(tabPageSaturn);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue