virtual pads - pce, pcfx - add console buttons
This commit is contained in:
parent
25dddf5160
commit
c8a0b6c323
|
@ -109,6 +109,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
MessageBox.Show($"Controller type {device} not supported yet.");
|
||||
}
|
||||
}
|
||||
|
||||
yield return ConsoleButtons();
|
||||
}
|
||||
|
||||
private static PadSchema StandardController(int controller)
|
||||
|
@ -163,5 +165,18 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
};
|
||||
}
|
||||
|
||||
private static PadSchema ConsoleButtons()
|
||||
{
|
||||
return new ConsoleSchema
|
||||
{
|
||||
Size = new Size(150, 50),
|
||||
Buttons = new[]
|
||||
{
|
||||
new ButtonSchema(10, 15, "Reset"),
|
||||
new ButtonSchema(58, 15, "Power")
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,6 +36,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
MessageBox.Show($"Controller type {device} not supported yet.");
|
||||
}
|
||||
}
|
||||
|
||||
yield return ConsoleButtons();
|
||||
}
|
||||
|
||||
private static PadSchema StandardController(int controller)
|
||||
|
@ -90,5 +92,18 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
};
|
||||
}
|
||||
|
||||
private static PadSchema ConsoleButtons()
|
||||
{
|
||||
return new ConsoleSchema
|
||||
{
|
||||
Size = new Size(150, 50),
|
||||
Buttons = new[]
|
||||
{
|
||||
new ButtonSchema(10, 15, "Reset"),
|
||||
new ButtonSchema(58, 15, "Power")
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue