mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-28 21:08:25 -05:00
early-access version 1507
This commit is contained in:
parent
4bdd26ea3b
commit
66084c5bca
@ -1,7 +1,7 @@
|
||||
yuzu emulator early access
|
||||
=============
|
||||
|
||||
This is the source code for early-access 1506.
|
||||
This is the source code for early-access 1507.
|
||||
|
||||
## Legal Notice
|
||||
|
||||
|
@ -303,6 +303,11 @@ ConfigureInputPlayer::ConfigureInputPlayer(QWidget* parent, std::size_t player_i
|
||||
buttons_param[button_id].Clear();
|
||||
button_map[button_id]->setText(tr("[not set]"));
|
||||
});
|
||||
context_menu.addAction(tr("Toggle button"), [&] {
|
||||
const bool toggle_value = !buttons_param[button_id].Get("toggle", false);
|
||||
buttons_param[button_id].Set("toggle", toggle_value);
|
||||
button_map[button_id]->setText(ButtonToText(buttons_param[button_id]));
|
||||
});
|
||||
context_menu.exec(button_map[button_id]->mapToGlobal(menu_location));
|
||||
ui->controllerFrame->SetPlayerInput(player_index, buttons_param, analogs_param);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user