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 3a6cd5b3c8
commit e58c951a59
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;