feat: Add physical controller button shortcuts (#1202)

* feat(controller): add physical button shortcuts

* fix(controller): improve shortcut capture and assignment feedback

* refactor(controller): simplify menu button assignment UI

* feat(controller): save menu assignments on button release

* refactor(controller): remove obsolete shortcut UI resources

* fix(controller): place drawer remaps below Back

* refactor(controller): simplify shortcut capture wording

* fix(controller): refresh active shortcut bindings on changes

* fix(controller): preserve drawer confirmation for mapped A

* fix: preserve controller shortcut navigation and cancel

* test: align shortcut dialog assertions

---------

Co-authored-by: xXJsonDeruloXx <danielhimebauch@gmail.com>
Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-10-30 07:08:59 -04:00
1 parent f69e2d0171
commit 4770d11e39
42 files changed
+1316

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="shortcuts_title">Physical button shortcuts</string>
<string name="shortcuts_dd_menu">DroidDeck menu</string>
<string name="shortcuts_capture">Assign: %1$s</string>
<string name="shortcuts_press">Press and release a button. Your assignment saves automatically.</string>
<string name="shortcuts_release">Release the button to continue.</string>
<string name="shortcuts_detected">%1$s: %2$s</string>
<string name="shortcuts_conflict">This button is already assigned to: %1$s</string>
<string name="shortcuts_save">Reassign</string>
<string name="shortcuts_retry">Try another button</string>
<string name="shortcuts_limitations">Home and some extra buttons may be unavailable.</string>
</resources>