forked from len0rd/rockbox
Enable rockboy for M5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13084 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
61e798ff27
commit
87ac614ccd
3 changed files with 6 additions and 8 deletions
|
@ -76,7 +76,7 @@ void ev_poll(void)
|
|||
released = ~newbuttonstate & oldbuttonstate;
|
||||
pressed = newbuttonstate & ~oldbuttonstate;
|
||||
oldbuttonstate = newbuttonstate;
|
||||
#if CONFIG_KEYPAD == IRIVER_H100_PAD
|
||||
#if (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH == 2)
|
||||
if (rb->button_hold()&~holdbutton)
|
||||
fb.mode=(fb.mode+1)%4;
|
||||
holdbutton=rb->button_hold();
|
||||
|
@ -161,8 +161,7 @@ void ev_poll(void)
|
|||
#else
|
||||
if(pressed & options.MENU) {
|
||||
#endif
|
||||
#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
|
||||
defined(HAVE_LCD_COLOR)
|
||||
#if (CONFIG_KEYPAD != RECORDER_PAD)
|
||||
#ifdef HAVE_WHEEL_POSITION
|
||||
rb->wheel_send_events(true);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue