summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-09-24 05:48:58 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-09-24 05:48:58 +0000
commit1a07eef1671ff2d0c460adc8271da0fb7cafcb67 (patch)
treeb3817dab508a4bf6eac4527760052e95993b0f20 /apps
parent690c93ae7d29e1049d04cff45329e91db8461f83 (diff)
downloadrockbox-1a07eef1671ff2d0c460adc8271da0fb7cafcb67.tar.gz
rockbox-1a07eef1671ff2d0c460adc8271da0fb7cafcb67.tar.bz2
rockbox-1a07eef1671ff2d0c460adc8271da0fb7cafcb67.zip
Key unlocking was badly handled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2378 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/wps.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/wps.c b/apps/wps.c
index 8f093f8a0a..a8b7900b0a 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -480,8 +480,10 @@ static bool keylock(void)
switch ( button_get_w_tmo(HZ/5) ) {
#ifdef HAVE_RECORDER_KEYPAD
case BUTTON_F1 | BUTTON_DOWN:
+ case BUTTON_F1 | BUTTON_REPEAT | BUTTON_DOWN:
#else
case BUTTON_MENU | BUTTON_STOP:
+ case BUTTON_MENU | BUTTON_REPEAT | BUTTON_STOP:
#endif
#ifdef HAVE_LCD_CHARCELLS
lcd_icon(ICON_RECORD, false);
@@ -502,8 +504,10 @@ static bool keylock(void)
#ifdef HAVE_RECORDER_KEYPAD
case BUTTON_F1:
+ case BUTTON_F1 | BUTTON_REPEAT:
#else
case BUTTON_MENU:
+ case BUTTON_MENU | BUTTON_REPEAT:
#endif
/* ignore menu key, to avoid displaying "Keylock ON"
every time we unlock the keys */