Hook GBA up to input config dialog (interim only)

This commit is contained in:
adelikat 2012-11-25 18:16:21 +00:00
parent eccc1b5a64
commit 2f36e43498
6 changed files with 575 additions and 461 deletions

View File

@ -958,6 +958,7 @@
<None Include="config\ControllerImages\C64Joystick.png" /> <None Include="config\ControllerImages\C64Joystick.png" />
<None Include="config\ControllerImages\C64Keyboard.png" /> <None Include="config\ControllerImages\C64Keyboard.png" />
<None Include="config\ControllerImages\colecovisioncontroller.png" /> <None Include="config\ControllerImages\colecovisioncontroller.png" />
<None Include="config\ControllerImages\GBA_Controller.png" />
<Content Include="images\logo.ico" /> <Content Include="images\logo.ico" />
<None Include="images\Paste.png" /> <None Include="images\Paste.png" />
<None Include="images\reboot.png" /> <None Include="images\reboot.png" />

View File

@ -1,7 +1,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:4.0.30319.269 // Runtime Version:4.0.30319.296
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
@ -305,6 +305,13 @@ namespace BizHawk.MultiClient.Properties {
} }
} }
internal static System.Drawing.Bitmap GBA_Controller {
get {
object obj = ResourceManager.GetObject("GBA_Controller", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
internal static System.Drawing.Bitmap GBController { internal static System.Drawing.Bitmap GBController {
get { get {
object obj = ResourceManager.GetObject("GBController", resourceCulture); object obj = ResourceManager.GetObject("GBController", resourceCulture);

View File

@ -846,4 +846,7 @@
<data name="colecovisioncontroller" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="colecovisioncontroller" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\config\ControllerImages\colecovisioncontroller.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\config\ControllerImages\colecovisioncontroller.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="GBA_Controller" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\config\ControllerImages\GBA_Controller.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root> </root>

File diff suppressed because it is too large Load Diff

View File

@ -53,6 +53,9 @@ namespace BizHawk.MultiClient
GBController1Panel.LoadSettings(Global.Config.GBController[0]); GBController1Panel.LoadSettings(Global.Config.GBController[0]);
GBAutofire1Panel.LoadSettings(Global.Config.GBAutoController[0]); GBAutofire1Panel.LoadSettings(Global.Config.GBAutoController[0]);
GBAController1Panel.LoadSettings(Global.Config.GBAController[0]);
GBAAutofire1Panel.LoadSettings(Global.Config.GBAAutoController[0]);
GenesisController1Panel.LoadSettings(Global.Config.GenesisController[0]); GenesisController1Panel.LoadSettings(Global.Config.GenesisController[0]);
GenesisAutofire1Panel.LoadSettings(Global.Config.GenesisAutoController[0]); GenesisAutofire1Panel.LoadSettings(Global.Config.GenesisAutoController[0]);
GenesisConsoleButtons.LoadSettings(Global.Config.GenesisConsoleButtons); GenesisConsoleButtons.LoadSettings(Global.Config.GenesisConsoleButtons);
@ -124,6 +127,7 @@ namespace BizHawk.MultiClient
if (!Global.MainForm.INTERIM) if (!Global.MainForm.INTERIM)
{ {
PlatformTabControl.Controls.Remove(tabPageC64); PlatformTabControl.Controls.Remove(tabPageC64);
PlatformTabControl.Controls.Remove(tabPageGBA);
} }
AutoTab.Checked = Global.Config.InputConfigAutoTab; AutoTab.Checked = Global.Config.InputConfigAutoTab;
@ -146,6 +150,9 @@ namespace BizHawk.MultiClient
case "GBC": case "GBC":
PlatformTabControl.SelectTab(tabPageGameboy); PlatformTabControl.SelectTab(tabPageGameboy);
break; break;
case "GBA":
PlatformTabControl.SelectTab(tabPageGBA);
break;
case "GEN": case "GEN":
PlatformTabControl.SelectTab(tabPageGenesis); PlatformTabControl.SelectTab(tabPageGenesis);
break; break;

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB