applets/controller: Change the input button to create input profiles

Co-authored-by: Its-Rei <kupfel@gmail.com>
This commit is contained in:
Morph
2020-10-26 03:28:03 -04:00
parent 30e0d1c973
commit 760a9e8693
10 changed files with 117 additions and 100 deletions

View File

@ -459,11 +459,14 @@ ConfigureInputPlayer::ConfigureInputPlayer(QWidget* parent, std::size_t player_i
});
}
if (debug || player_index == 9) {
ui->groupConnectedController->setCheckable(false);
}
// The Debug Controller can only choose the Pro Controller.
if (debug) {
ui->buttonScreenshot->setEnabled(false);
ui->buttonHome->setEnabled(false);
ui->groupConnectedController->setCheckable(false);
QStringList debug_controller_types = {
tr("Pro Controller"),
};