presets: minor UI fixes, add new controller profiles (#584)

## Link to GitHub Issue or related Pull Request, if one exists
#579 

## Description of change

* Fix profiles being loaded twice on tab switch
* Add more default profiles for some controllers
* Remove borders from tables since they look broken in software renderer
* Add check boxes to import/export only certain parts of of a profile
* Show device identifier string in drop down when applying profiles
since some controllers have multiple identically named interfaces
* Show completion message when action buttons are clicked (`Apply`
button, `Clear all bindings` button both become disabled & shows `done`
message)
This commit is contained in:
bicarus
2026-03-21 19:43:17 -07:00
committed by GitHub
parent 75ba49ff4a
commit 63a0acac24
6 changed files with 508 additions and 135 deletions
@@ -96,7 +96,9 @@ namespace overlay::windows {
collect_sources_from(buttons, sources_set, has_naive);
collect_sources_from(keypad_buttons, sources_set, has_naive);
for (auto &a : analogs) {
if (a.is_device()) sources_set.insert(a.device_identifier);
if (a.is_device()) {
sources_set.insert(a.device_identifier);
}
}
for (auto &l : lights) {
if (l.primary.is_device()) sources_set.insert(l.primary.device_identifier);