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
+10
View File
@@ -110,6 +110,16 @@ namespace overlay::windows {
ControllerTemplate template_pending_save;
std::vector<std::string> template_save_sources;
std::vector<std::string> template_save_labels;
bool apply_buttons = true;
bool apply_keypads = true;
bool apply_analogs = true;
bool apply_lights = true;
bool save_buttons = true;
bool save_keypads = true;
bool save_analogs = true;
bool save_lights = true;
bool all_cleared = false;
std::vector<bool> template_is_applied;
// patches tab
std::unique_ptr<PatchManager> patch_manager;