mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Revert "fix erroneous button read in yesno screen and missed buttons in action.c."
This reverts commit 15775c8bad
.
This commit is contained in:
parent
bd6e6ed403
commit
70eb3e6a56
2 changed files with 2 additions and 11 deletions
|
@ -232,13 +232,7 @@ static int get_action_worker(int context, int timeout,
|
|||
/* Data from sys events can be pulled with button_get_data
|
||||
* multimedia button presses don't go through the action system */
|
||||
if (button == BUTTON_NONE || button & (SYS_EVENT|BUTTON_MULTIMEDIA))
|
||||
{
|
||||
/* no button pressed so no point in waiting for release */
|
||||
if (button == BUTTON_NONE)
|
||||
wait_for_release = false;
|
||||
return button;
|
||||
}
|
||||
|
||||
/* the special redraw button should result in a screen refresh */
|
||||
if (button == BUTTON_REDRAW)
|
||||
return ACTION_REDRAW;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue