mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Qt/input: add LED color picker to pad settings dialog
This commit is contained in:
parent
7ead021aa7
commit
fce9d6a7b8
10 changed files with 136 additions and 10 deletions
|
|
@ -1282,7 +1282,7 @@ void main_window::CreateConnects()
|
|||
|
||||
auto openPadSettings = [this]
|
||||
{
|
||||
auto resetPadHandlers = [this]
|
||||
auto resetPadHandlers = [this](int/* result*/)
|
||||
{
|
||||
if (Emu.IsStopped())
|
||||
{
|
||||
|
|
@ -1295,7 +1295,7 @@ void main_window::CreateConnects()
|
|||
Emu.GetCallbacks().enable_pads(false);
|
||||
}
|
||||
pad_settings_dialog dlg(this);
|
||||
connect(&dlg, &QDialog::accepted, resetPadHandlers);
|
||||
connect(&dlg, &QDialog::finished, resetPadHandlers);
|
||||
dlg.exec();
|
||||
if (!Emu.IsStopped())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue