Octoshock - add controller type to ControllerSetting, with the options of GamePad, DualAnalog, Dualshock, still todo: wire it up to the UI, wire it up to the core

This commit is contained in:
adelikat 2015-02-01 01:24:41 +00:00
parent f2997546a7
commit 8c10f401e2
1 changed files with 13 additions and 2 deletions

View File

@ -944,14 +944,25 @@ namespace BizHawk.Emulation.Cores.Sony.PSX
public ControllerSetting[] Controllers = public ControllerSetting[] Controllers =
{ {
new ControllerSetting { IsConnected = true }, new ControllerSetting
new ControllerSetting { IsConnected = false } {
IsConnected = true,
Type = ControllerSetting.ControllerType.DualShock
},
new ControllerSetting
{
IsConnected = false,
Type = ControllerSetting.ControllerType.DualShock
}
}; };
} }
public class ControllerSetting public class ControllerSetting
{ {
public bool IsConnected { get; set; } public bool IsConnected { get; set; }
public ControllerType Type { get; set; }
public enum ControllerType { Gamepad, DualAnalog, DualShock }
} }
public class Settings public class Settings