configure_input: Make None a controller option instead of checkbox

This commit is contained in:
Zach Hilman 2018-11-04 10:18:59 -05:00
parent 2d8a5a4e9b
commit b131a4bbb2
11 changed files with 150 additions and 154 deletions

View file

@ -325,6 +325,8 @@ ConfigureInputPlayer::ConfigureInputPlayer(QWidget* parent, u8 player_index, boo
ui->buttonHome->setEnabled(false);
}
ConfigureInputPlayer::~ConfigureInputPlayer() = default;
void ConfigureInputPlayer::applyConfiguration() {
auto& buttons =
debug ? Settings::values.debug_pad_buttons : Settings::values.players[player_index].buttons;