[Scummvm-devel] Problem with Ctrl-Alt-X

Johannes Schickel lordhoto at scummvm.org
Fri Dec 4 20:57:27 CET 2009


M. Kiewitz wrote:
> Hi there,
>
> I changed some event code today for sci and found out that ScummVM doesnt send any keypresses to us when Ctrl and Alt is also pressed.
>
> Max already contacted me about this:
> Back to the issue at hand: So, the SDL backend eats all Ctrl-Alt keycombos. The only reason is that it passes them to handleScalerHotkeys() but never checks if that method actually was able to intrepret the key combo. It's a quite trivial change to fix that and let handleScalerHotkeys() only eat up events it actually handles, thus letting Ctrl-Alt-X pass through to the engine.
>   
Hi,

I'm not exactly sure why you wrote a mail to -devel about this instead 
of just fixing it yourself. I guess you wanted some help for that, 
though that's not very clearly expressed...

I just took the freedom to fix it now. Hopefully that's ok for you.

// Johannes




More information about the Scummvm-devel mailing list