From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GbVLK-00007R-FO for qemu-devel@nongnu.org; Sun, 22 Oct 2006 00:53:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GbVLH-0008UW-2k for qemu-devel@nongnu.org; Sun, 22 Oct 2006 00:53:49 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GbVLG-0008UP-UE for qemu-devel@nongnu.org; Sun, 22 Oct 2006 00:53:46 -0400 Received: from [211.5.2.81] (helo=nm01omta01d.dion.ne.jp) by monty-python.gnu.org with smtp (Exim 4.52) id 1GbVLG-0007lx-OI for qemu-devel@nongnu.org; Sun, 22 Oct 2006 00:53:47 -0400 Message-ID: <000601c6f596$1102bf10$0464a8c0@athlon> From: "Kazu" Subject: [Qemu-devel] AltGr key for Windows host Date: Sun, 22 Oct 2006 13:53:50 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="WINDOWS-1252" Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I made German language environment on Windows XP Japanese host. I investigated a problem of AltGr key. If you have a German keyboard, please use this binary and tell me the data which is displayed on console window when AltGr key is pressed. I want to know the results for both SDL_VIDEODRIVER=windib and SDL_VIDEODRIVER=directx. http://www.h6.dion.ne.jp/~kazuw/qemu-win/qemu-20061020-keyboard.zip These are reference outputs. When SDL_VIDEODRIVER=windib, an event that left ctrl key is pressed is added to the event right alt is pressed. ------------------------ OS ver = 5.1 0.0.2600 Keyboard = 7, 0 Layout = 0x04070407 LayoutName = 00000407 key = 0x132 key name = left ctrl PRESSED sdl_process_key: keycode = 0x1d ------------------------ OS ver = 5.1 0.0.2600 Keyboard = 7, 0 Layout = 0x04070407 LayoutName = 00000407 key = 0x133 key name = right alt PRESSED sdl_process_key: keycode = 0xb8 ------------------------ OS ver = 5.1 0.0.2600 Keyboard = 7, 0 Layout = 0x04070407 LayoutName = 00000407 key = 0x132 key name = left ctrl RELEASED sdl_process_key: keycode = 0x1d ------------------------ OS ver = 5.1 0.0.2600 Keyboard = 7, 0 Layout = 0x04070407 LayoutName = 00000407 key = 0x133 key name = right alt RELEASED sdl_process_key: keycode = 0xb8 When SDL_VIDEODRIVER=directx, only right alt key event is made. ------------------------ OS ver = 5.1 0.0.2600 Keyboard = 7, 0 Layout = 0x04070407 LayoutName = 00000407 key = 0x133 key name = right alt PRESSED sdl_process_key: keycode = 0xb8 ------------------------ OS ver = 5.1 0.0.2600 Keyboard = 7, 0 Layout = 0x04070407 LayoutName = 00000407 key = 0x133 key name = right alt RELEASED sdl_process_key: keycode = 0xb8 There is a duscussion about alt-ctrl. http://blogs.msdn.com/oldnewthing/archive/2004/03/29/101121.aspx Regards, Kazu