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:
parent
f2997546a7
commit
8c10f401e2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue