qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Trouble with numlock and SDL


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] Trouble with numlock and SDL
Date: Thu, 23 Apr 2015 09:32:24 +0200

On Mi, 2015-04-22 at 18:20 +0200, Erik Rull wrote:
> Hi all,
> 
> I'm struggling a bit with the numlock state when using SDL.
> On SDL 1.2.13 I have the problem that the numlock state is inverted for QEMU -
> but it is switchable.

Move focus out of sdl window -- hit numlock once -- move focus back in.
Does that synchronize things?

Is this something new?  IIRC there have been no (intentional) changes in
that area recently.

> On SDL 1.2.14 and 1.2.15 I can't enable the number input in any state of the
> numlock key.

No idea on that one.  Sounds like SDL not sending numlock key events at
all.

> With VNC everything is fine.

Yep.  vnc has some special logic to sync guest/host numlock state (also
for capslock).  Maybe we should factor that out into reusable helper
functions.

cheers,
  Gerd





reply via email to

[Prev in Thread] Current Thread [Next in Thread]