From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmLQ0-00051B-V0 for qemu-devel@nongnu.org; Sun, 26 Apr 2015 08:12:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmLPv-00028k-Vy for qemu-devel@nongnu.org; Sun, 26 Apr 2015 08:12:16 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:57188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmLPv-00028a-MD for qemu-devel@nongnu.org; Sun, 26 Apr 2015 08:12:11 -0400 Message-ID: <553CD61D.3070708@rdsoftware.de> Date: Sun, 26 Apr 2015 14:12:13 +0200 From: Erik Rull MIME-Version: 1.0 References: <93583221.343538.1429719643960.JavaMail.open-xchange@oxbaltgw00.schlund.de> <1429774344.26641.15.camel@nilsson.home.kraxel.org> In-Reply-To: <1429774344.26641.15.camel@nilsson.home.kraxel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Trouble with numlock and SDL List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: "qemu-devel@nongnu.org" Hi Gerd, it seems to be a bug sitting in front of the computer :-) I just recompiled the new SDL and didn't recompile QEMU against the new SDL - I recognized later that there are version dependent pieces of code in QEMU. I will proceed my tests on this topic on other systems, I will send an update when the results are available. Best regards, Erik Gerd Hoffmann wrote: > 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 > > >