summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-10-02 11:51:45 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-10-02 11:51:45 +0000
commitd0b5f9613cd21d0642d2711afd7cb92036a55f4d (patch)
treec9d585e7af5397a3a08ae6d9e07e89534afa63a1 /firmware/drivers
parent943292b6cb708c5e0a05409fab2177386afcf352 (diff)
Remote control now sends both key-down and key-up events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2476 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/button.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index 9953f1aa22..72ecf69b12 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -66,6 +66,7 @@ static void button_tick(void)
if(btn)
{
queue_post(&button_queue, btn, NULL);
+ queue_post(&button_queue, btn | BUTTON_REL, NULL);
backlight_on();
}