forked from len0rd/rockbox
fix the gigabeat remote button not working when backlight is off and filter first keypress is enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13444 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f22e6a5964
commit
cfa94a206c
1 changed files with 5 additions and 1 deletions
|
@ -236,7 +236,11 @@ static void button_tick(void)
|
|||
}
|
||||
else
|
||||
#endif
|
||||
if (!filter_first_keypress || is_backlight_on())
|
||||
if (!filter_first_keypress || is_backlight_on()
|
||||
#if BUTTON_REMOTE
|
||||
|| (btn&BUTTON_REMOTE)
|
||||
#endif
|
||||
)
|
||||
queue_post(&button_queue, btn, 0);
|
||||
else
|
||||
skip_release = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue