[Scummvm-devel] Release 1.3.0 status - 2011-05-16
Tarek Soliman
tarek-spam at zeusmail.bounceme.net
Wed Jul 6 06:13:08 CEST 2011
On Wed, Jun 29, 2011 at 05:43:08PM +0300, Eugene Sandulenko wrote:
> it would be better to sync
> into implementing it properly, e.g. continue with hack implemented by
> WinCE or Symbian port, where keymapping is hardcoded in the backend,
> or do it in a proper way and invest some time in our unfinished
> KeyMapper code.
I am not sure what the current status of the keymapper is.
I have started doing this in https://github.com/tsoliman/scummvm/tree/maemo-cleanup.
Specifically: https://github.com/tsoliman/scummvm/commit/bafe2bcf60d63e14bfea7e66da12940159ca556c
I've seen that the SamsungTV backend implements SamsungTVSdlEventSource::remapKey(SDL_Event &ev, Common::Event &event)
Is that the unfinished keymapper code?
I can't get this to work; that code never gets hit.
I am going to have to resort to the WinCE "hack" which I am assuming is to override SdlEventSource::pollEvent(Common::Event &event)
But I wanted to verify that the SamsungTV way is broken/unfinished.
Maemo is very much like SamsungTV (as opposed to WinCE) in that it is based on OSystem_POSIX as opposed to OSystem_SDL directly (Maemo is linux)
--
Tarek
More information about the Scummvm-devel
mailing list