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 =
{
new ControllerSetting { IsConnected = true },
new ControllerSetting { IsConnected = false }
new ControllerSetting
{
IsConnected = true,
Type = ControllerSetting.ControllerType.DualShock
},
new ControllerSetting
{
IsConnected = false,
Type = ControllerSetting.ControllerType.DualShock
}
};
}
public class ControllerSetting
{
public bool IsConnected { get; set; }
public ControllerType Type { get; set; }
public enum ControllerType { Gamepad, DualAnalog, DualShock }
}
public class Settings