Thomas Martitz
20e9d56ba5
S#10387 - Rework pluginlib actions
...
It changes pluginlib actions to contain only a single and simple context (and
other one for remote directional buttons),
consisting of 7(9) buttons: up/down/left/right, select OR short select and long
select, exit and cancel (plus 2 for scrollwheel targets).
This ensures contexts don't clash with other contexts and simplifies them, at
the expense of reduced versatility. However, the versatility made it largely unusable
due to the great number of targets.
This should allow for using pluginlib actions safely for the most simple plugins (e.g. almost all demos).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26202 a1c6a512-1295-4272-9138-f99709370657
2010-05-20 17:41:28 +00:00
Andrew Mahone
23d9812273
loader-initialized global plugin API:
...
struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by
__header.api
the loader uses this pointer to initialize rb before calling entry_point
entry_point is no longer passed a pointer to the plugin API
all plugins, and pluginlib functions, are modified to refer to the
global rb
pluginlib functions which only served to copy the API pointer are
removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 10:34:40 +00:00
Daniel Stenberg
2acc0ac542
Updated our source code header to explicitly mention that we are GPL v2 or
...
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Steve Bavin
6526577818
Plugin parameters should be const.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 09:57:56 +00:00
Kevin Ferrare
ebe5acfb9d
Fixed the problems on the new version of the fire plugin (so repush it), added new actions to the pluginlib_actions to fix the keymaps on the Sansa e200 for the clock and fire plugins. Also slightly simplified the metronome plugin's key mapping with those new actions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16148 a1c6a512-1295-4272-9138-f99709370657
2008-01-23 08:25:04 +00:00
Jens Arnold
a8af83e8f9
Code police raid: header files must not define actual code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14789 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 17:42:28 +00:00
Marianne Arnold
12ddb8ea0d
Enable plugins on the Sansa C200. Large parts taken from patch FS#7749 by Max Kelley with tweaks, bit of cleanup and additional bitmaps by me. Some of the now enabled plugins could still be improved in regard to screen size adaptation or keymaps but this way it can easily be done later and one by one. The rather ugly 'ifndef's I added temporaryly in plugins/SOURCES will also go one by one. Plugin button actions cause some quirks in a few plugins (e.g. 'clock') but since it's not critical , the bitmaps were already done and it makes a good example for discussing plugin button actions, I thought it could go in.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14771 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 10:49:48 +00:00
Kevin Ferrare
885cdfdeb9
fixed the speed problem on bitmaps LCD for the jackpot plugin and added the remote key bindings for h1x0 and x5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14034 a1c6a512-1295-4272-9138-f99709370657
2007-07-28 05:42:55 +00:00
Jens Arnold
b701322fea
Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14021 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 09:57:27 +00:00
Kevin Ferrare
21cc9a6d76
Dice plugin now works on remote and uses the action api ; cleaned up the code a little bit as well
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13935 a1c6a512-1295-4272-9138-f99709370657
2007-07-20 02:47:37 +00:00
Kevin Ferrare
e68a2e6c41
Remote keys support for the demystify plugin (added remote_directions to the plugins actions), updated key bindings in manual
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13927 a1c6a512-1295-4272-9138-f99709370657
2007-07-19 03:49:43 +00:00
Jens Arnold
85a226d4e7
Rename some macros to account for the recently added M5 port. No code changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:02:39 +00:00
Dave Chapman
d64e626387
Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI simulator (but with a dummy background image for now) and the beginnings of the target-specific firmare code. Port is temporarily using a 2bpp LCD buffer format - the AV300 has a 320x240 colour (YCbCr-based) LCD which will need a new framebuffer format and drawing routines, but the LCD is also capable of various paletted bitmap modes, one of which has an identical framebuffer format to the greyscale ipods. Buttons (and hence the button mappings) are identical to the Archos Recorder, with the exception that the PLAY button on the Recorder is replaced by pressing the joystick on the AV300 (which I call BUTTON_SELECT). The initial port will begin by being strictly HWCODEC, but will evolve to be a hybrid SWCODEC/HWCODEC platform - it has a MAS3587F but also a main CPU (54MHz arm7tdmi plus DSP) capable of software decoding of at least some formats.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12008 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 13:48:09 +00:00
Jonathan Gordon
e25c840b98
ipod keypad fixes.. fixes bubbles
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11598 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 09:35:12 +00:00
Jonathan Gordon
73e31d1af3
fix ondios again. Add a context for left/right/fire actions which seems
...
to work well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11546 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 11:16:53 +00:00
Jonathan Gordon
ef35bb9d47
fix builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11537 a1c6a512-1295-4272-9138-f99709370657
2006-11-16 03:12:27 +00:00
Jonathan Gordon
9ddcab8eb0
woops, i'm a dill!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11536 a1c6a512-1295-4272-9138-f99709370657
2006-11-16 03:05:25 +00:00
Jonathan Gordon
7b8b0ff491
implement actions in the plugins, bubbles and metronome converted.
...
(hopefully buttons are correct, let me know in
http://forums.rockbox.org/index.php?topic=5829.0 if there is a major
stuff up)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11535 a1c6a512-1295-4272-9138-f99709370657
2006-11-16 02:53:44 +00:00