[Scummvm-devel] RFC: Flexible keymapping via new EVENT_ (post 0.10)
Kostas Nakos
knakos at phys.uoa.gr
Wed Jun 6 17:23:10 CEST 2007
Dear Max, All,
Max Horn wrote:
> So, what do you think? Am I too ambitious? Is this overdesigned?
> Better ideas? Improvements? Statements why we don't need this anyway?
> Your input is highly welcome (although I don't really expect much, as
> usual).
It would be very welcome to abstract away from sdl/ascii keysyms to
events. In addition to the flexible Feature scheme, this leads to a very
powerful infrastructure. We will have a legal way to redefine commonly
used actions across all ports in a uniform way, in contrast with
resorting to backend-specific solutions as it's currently being done.
This will need some (minor) restructuring at least in the WinCE port,
whose event/key logic is based around the fact of injecting keystrokes
to accomplish common actions (such as save, load etc.).
Your list of sample actions seems OK for me. What I was hoping for the
last time I contemplated about this was save, load and pause unification
(pause as an event for example would be great, cause it can be fired
when the application loses focus and/or is minimized, and if the game
engine supports it, it ensures a) no game action is missed, b) cpu
cycles are freed).
Looks very sexy,
Cheers,
Kostas
More information about the Scummvm-devel
mailing list