|
Rockbox mail archiveSubject: Menu exit using OFF buttonMenu exit using OFF button
From: Henri DAVID <hdavid_at_mail.com>
Date: Mon, 13 Jan 2003 17:33:19 +0100 hi, i patched the Menu.c in order.c exit the menu using the OFF. While in a menu pressing OFF brings you back direclty to WPS/Browser. as i don't know (yet) how to use Diff and those things, are a the differences and the file is attached. henri line 89 : + -------------------------------------- static bool quit = false; -------------------------------------- line 249 : + -------------------------------------- if (quit==true) { //m=0; if (m==0) { quit=false; } exit = true; } else { -------------------------------------- line 336 : + -------------------------------------- #ifdef HAVE_RECORDER_KEYPAD case BUTTON_OFF: lcd_scroll_pause(); exit = true; quit = true; break; #endif -------------------------------------- line 366 : change -------------------------------------- status_draw(); lcd_update(); } return false; } -------------------------------------- Becomes : -------------------------------------- status_draw(); lcd_update(); } } return false; } --------------------------------------
Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |