mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
ibasso dx50/dx90: Fix physical buttons on yes/no screens
The DX50 keymap already defines button_context_yesno, but target_get_context_mapping() did not select it for CONTEXT_YESNOSCREEN. As a result, physical buttons could not operate dialogs such as "Playlist finished. Play again?". Add the missing context mapping. Tested on iBasso DX50 hardware: Play and Previous accept Yes; Next and Power cancel. Change-Id: I9f6078b45a48047a662aad5f231d0adac9a42d5d
This commit is contained in:
parent
98a55f623b
commit
d23a19dc2d
1 changed files with 1 additions and 0 deletions
|
|
@ -228,6 +228,7 @@ const struct button_mapping* target_get_context_mapping(int context)
|
|||
case CONTEXT_BOOKMARKSCREEN: { return button_context_bmark; }
|
||||
case CONTEXT_QUICKSCREEN: { return button_context_quickscreen; }
|
||||
case CONTEXT_PITCHSCREEN: { return button_context_pitchscreen; }
|
||||
case CONTEXT_YESNOSCREEN: { return button_context_yesno; }
|
||||
case CONTEXT_CUSTOM | CONTEXT_SETTINGS:
|
||||
case CONTEXT_SETTINGS_RECTRIGGER: { return button_context_settings_right_is_inc; }
|
||||
case CONTEXT_TREE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue