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



Rockbox mail archive

Subject: Testing F2 user menu

Testing F2 user menu

From: c0utta fish <c0utta_at_hotmail.com>
Date: Sun, 01 Feb 2004 07:23:20 +1030

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
Received on 2004-01-31

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