Rockbox mail archiveSubject: Re: Plugin button actions
Re: Plugin button actions
From: Björn Stenberg <bjorn_at_haxx.se>
Date: Mon, 29 Oct 2007 15:38:04 +0100
Marianne Arnold wrote:
> Thing is that it looks easier in the beginning and might hold true for the
> few plugins with the most basic controls (4 directions, fire, off) - the
> trouble starts when the controls need more or even less than this or the
> game "layout" is a bit different.
I agree with you: Actions make sense in the core application, but are more burden than help in some plugins.
IIRC one of the primary purposes of actions was that we don't want to have to write new button code everywhere when a new port is done. But with many plugins that does not apply. Only relatively simple plugins will work sanely without custom button/action alterations for new ports.
I think the simple solution is the correct one: Where it makes sense, use actions. But don't shoe-horn them in where they don't fit.
-- BjörnReceived on 2007-10-29