Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Testing F2 user menu
From: c0utta fish (c0utta_at_hotmail.com)
Date: 2004-01-31


Hey guys,

I have done a proof of concept for the F2 user menu which is available at
http://members.dodo.net.au/~coutta/F2_Test.zip. This is only for the
recorder at this stage (not the FM). When you rolo F2_Test.AJZ, just press
(and release) the F2 button and youíll see the user menu.

You use \.rockbox\keypad.map to define the key mappings you want. For
example, you could have a mapping to view all plugins, or run a specific
plugin.

The following line in keypad.map:

512;91; ;
- 512 is the code for F2
- 91 is the #define for browse plugins within my code
- space means use the LANG for the menu desctiption
- empty means default action, which is browse plugins

512;91;Hello World;/.rockbox/rocks/helloworld.rock
- 512 is the code for F2
- 91 is the #define for browse plugins within my code
- Hello World will be displayed in the menu
- Runs the /.rockbox/rocks/helloworld.rock

Not all functions have been converted (itís a big job), so I have just done
my favourites (plus some other requests Iíve seen).

Iíve been able to save the quickscreen functionality, so it still works as
long as you donít release the F2 key. There is no sorting yet, and the only
way to change the menu entries is to edit keypad.map.

Please let me know what you think, and whether I should proceed further.
Let me know of errors too.

Cheers,

c0utta

_________________________________________________________________
Get less junk mail with ninemsn Premium. Click here
http://ninemsn.com.au/premium/landing.asp



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa