mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
imx233: fix debug keys for zenxfi2
Change-Id: I535fb611f951244686c60f336a49e068edfaf96a
This commit is contained in:
parent
bbe94e2b24
commit
1a7bf7b91c
1 changed files with 12 additions and 3 deletions
|
|
@ -59,14 +59,23 @@ int my_get_action(int tmo)
|
|||
switch(btn)
|
||||
{
|
||||
case BUTTON_POWER:
|
||||
#if defined(BUTTON_BACK)
|
||||
case BUTTON_BACK:
|
||||
#elif defined(BUTTON_LEFT)
|
||||
case BUTTON_LEFT:
|
||||
#else
|
||||
#error no key for ACT_CANCEL
|
||||
#endif
|
||||
act = ACT_CANCEL;
|
||||
break;
|
||||
#ifdef BUTTON_SELECT
|
||||
#if defined(BUTTON_SELECT)
|
||||
case BUTTON_SELECT:
|
||||
#endif
|
||||
#if !defined(BUTTON_SELECT) && defined(BUTTON_PLAYPAUSE)
|
||||
#elif defined(BUTTON_PLAYPAUSE)
|
||||
case BUTTON_PLAYPAUSE:
|
||||
#elif defined(BUTTON_CENTER)
|
||||
case BUTTON_CENTER:
|
||||
#else
|
||||
#error no key for ACT_OK
|
||||
#endif
|
||||
act = ACT_OK;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue