dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: F2 Configuration

F2 Configuration

From: c0utta fish <>
Date: Sat, 10 Jan 2004 23:52:30 +1030


I am about half way through my F2 patch that allows F2 to be customised
according to the NEWKEYS document. At first, Iím concentrating on allowing
items from the settings menu (F1) to be added to F2. There are some things
Iíd like to clear up, as well as some suggestions Iíd like to make.

Firstly, Rockbox will lose F2 functionality within F1 menus. At present,
you can access F2 within the F1 menu to access quick screens. I plan on
using F2 within F1 to add items to the F2 menu (sounds intuitive to me).

To do this successfully, I need to add an action code to every menu entry in
F1 (i.e. add an action element to the menu_items structure in menu.h). My
long-term plan is to separate actions from buttons and this is the first

I have also added a key handler to the menu system that allows key
assignments to be more flexible. For example, my above suggestion about
using F2 within F1 to assign a menu item uses this key handler to execute a
function stored as a pointer. Once again, this is a part of the plan to
separate actions from buttons.

If anyone violently disagrees with the above then let me know, because I
donít want to start this major re-organisation.

Also, once Iím done with the settings menu do you want the patch submitted ?
  It seems that this functionality would satisfy most of the requests on the
mail list. Just let me know.



E-mail just got a whole lot better. New ninemsn Premium. Click here
Received on 2004-01-10

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy