1
0
Fork 0
forked from len0rd/rockbox

Initial suppport for building Rockbox for Neo. The Neo has a different

key layout so we need to check for this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4138 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2003-12-12 13:34:27 +00:00
parent ca71062221
commit 8e43ccbec6
10 changed files with 130 additions and 70 deletions

View file

@ -85,7 +85,9 @@ bool dbg_os(void)
switch(button)
{
#ifdef BUTTON_OFF
case BUTTON_OFF:
#endif
case BUTTON_LEFT:
return false;
}
@ -1194,9 +1196,9 @@ static bool view_runtime(void)
/* Wait for a key to be pushed */
key = button_get_w_tmo(HZ);
switch(key) {
#ifdef HAVE_PLAYER_KEYPAD
#if defined(HAVE_PLAYER_KEYPAD) || defined(HAVE_NEO_KEYPAD)
case BUTTON_STOP | BUTTON_REL:
#else
#elif HAVE_RECORDER_KEYPAD
case BUTTON_OFF | BUTTON_REL:
#endif
done = true;
@ -1301,7 +1303,7 @@ static bool dbg_disk_info(void)
/* Wait for a key to be pushed */
key = button_get_w_tmo(HZ*5);
switch(key) {
#ifdef HAVE_PLAYER_KEYPAD
#if defined(HAVE_PLAYER_KEYPAD) || defined(HAVE_NEO_KEYPAD)
case BUTTON_STOP | BUTTON_REL:
#else
case BUTTON_OFF | BUTTON_REL: