summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-05-20 14:03:42 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-05-20 14:03:42 +0000
commitcfa94a206c1738ebd8516425a96541f0e4c0b5ef (patch)
tree31b118c5338a1cc6199e5f0d9cd6fe4720e58583
parentf22e6a59648debb9aaff7f9b05183a651b3787ce (diff)
downloadrockbox-cfa94a206c1738ebd8516425a96541f0e4c0b5ef.tar.gz
rockbox-cfa94a206c1738ebd8516425a96541f0e4c0b5ef.tar.bz2
rockbox-cfa94a206c1738ebd8516425a96541f0e4c0b5ef.zip
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
-rw-r--r--firmware/drivers/button.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index b20afe13f6..f9f355ce37 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -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;