[Scummvm-devel] Simplifying keyboard repeat
Marcus Comstedt
marcus at mc.pp.se
Tue May 16 03:34:50 CEST 2006
Torbjörn Andersson <eriktorbjorn at telia.com> writes:
> Marcus Comstedt wrote:
>
>> Torbjörn Andersson <eriktorbjorn at telia.com> writes:
>>
>>> I'm not sure I understand what you mean by "middleware" here, I'm afraid.
>>
>> The scummvm core, i.e. what you get if you take away the engines and
>> the backends. Basically what is in the base, common, graphics, sound,
>> and gui directories. In this case I suppose the "common" module would
>> be appropriate.
>
> (Let's see if the mailing list is back to working again.)
>
> So you mean adding a backend-independent version of pollEvent()?
Yes. This could also handle stuff like Ctrl-a for toggling
kFeatureAspectRatioCorrection. It could either be a wrapper for
the backend specific pollEvent(), or a separate function for the
engine to call, in the tradition of XFilterEvent(). But a wrapper
would be more convenient for engine developers, I think.
// Marcus
More information about the Scummvm-devel
mailing list