Added layout change option to button GUI

This commit is contained in:
Robbi Blechdose
2023-03-10 18:34:48 +01:00
parent 0844b4a0c2
commit 84249daf5b
9 changed files with 70 additions and 7 deletions

View File

@ -103,3 +103,9 @@ void JoyPadWidget::jsevent( const js_event& msg ) {
quickset->jsevent(msg);
}
}
void JoyPadWidget::updateButtonLayoutLists(const QStringList layoutNames) {
foreach (ButtonWidget *bw, buttons) {
bw->layoutNames = layoutNames;
}
}