Added joysticks 2 & 3 and removed TapeControls from VirtualPad schema (they are not needed there)

This commit is contained in:
Asnivor 2018-03-13 19:16:12 +00:00
parent 6c01ba3c6a
commit 5a2b0ae6a6
1 changed files with 7 additions and 5 deletions

View File

@ -11,19 +11,21 @@ namespace BizHawk.Client.EmuHawk
{
public IEnumerable<PadSchema> GetPadSchemas(IEmulator core)
{
yield return KempstonJoystick(1);
yield return Joystick(1);
yield return Joystick(2);
yield return Joystick(3);
yield return Keyboard();
yield return TapeDevice();
//yield return TapeDevice();
}
private static PadSchema KempstonJoystick(int controller)
private static PadSchema Joystick(int controller)
{
return new PadSchema
{
DisplayName = "Player " + controller + " (Kempton Joystick)",
DisplayName = "Joystick " + controller,
IsConsole = false,
DefaultSize = new Size(174, 74),
MaxSize = new Size(174, 74),
MaxSize = new Size(174, 74),
Buttons = new[]
{
new PadSchema.ButtonSchema