diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-03-05 00:04:31 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-03-05 00:04:31 +0000 |
commit | a9ee48ac54932be88e1e28b4b53bf9d45b6f9296 (patch) | |
tree | 5250e62ff65e458e16f65c29517b4613fdfa9648 | |
parent | ebd63b52cd22a173106085b79404688d267a801a (diff) |
LCD mode switching added for recorders (uses ON button).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6137 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/rockboy/sys_rockbox.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/rockboy/sys_rockbox.c b/apps/plugins/rockboy/sys_rockbox.c index 64c3385169..1b0bed8b81 100644 --- a/apps/plugins/rockboy/sys_rockbox.c +++ b/apps/plugins/rockboy/sys_rockbox.c @@ -83,8 +83,11 @@ void ev_poll(void) oldbuttonstate = newbuttonstate; #if CONFIG_KEYPAD == IRIVER_H100_PAD if (rb->button_hold()&~holdbutton) - fb.mode=(fb.mode+1)%4; + fb.mode=(fb.mode+1)%4; holdbutton=rb->button_hold(); +#elif CONFIG_KEYPAD == RECORDER_PAD + if (pressed & BUTTON_ON) + fb.mode=(fb.mode+1)%4; #endif if(released) { ev.type = EV_RELEASE; |