Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IPTX9-0004qI-L7 for qemu-devel@nongnu.org; Sun, 26 Aug 2007 21:36:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IPTX7-0004pk-8j for qemu-devel@nongnu.org; Sun, 26 Aug 2007 21:36:50 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IPTX7-0004ph-0N for qemu-devel@nongnu.org; Sun, 26 Aug 2007 21:36:49 -0400 Received: from phoenix.bawue.net ([193.7.176.60] helo=mail.bawue.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IPTX6-0006Cw-Lj for qemu-devel@nongnu.org; Sun, 26 Aug 2007 21:36:48 -0400 Date: Sun, 26 Aug 2007 18:43:45 +0100 From: Thiemo Seufer Subject: Re: [Qemu-devel] [Patch] AltGr on vnc and adding extra keys with no compiling Message-ID: <20070826174344.GB4499@networkno.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ricardo Cc: qemu-devel@nongnu.org Ricardo wrote: > Hi > > On my keyboard Alt Gr is mapped to ISO_Level3_Shift. Using sdl it > worked fine without any modification, but using vnc I was unable to > use Alt Gr. > I added a line on /usr/share/keymaps/modifiers refering to my key: > > ISO_Level3_Shift 0xb8 > > But, unfortunately it didn't work.... > > Surfing on the qemu code, I realized that the ISO_Level3_Shitf wasn't > declared on the vnc_keysym.h file. So I added this line to that file: > > {"ISO_Level3_Shift", 0xfe03}, /* ISO_Level3 > > And finally Alt Gr worked! > > > I think that it should be a good idea to allow the user to add keysym > manually by number and name. Instead of just name. This will allow to > add keysyms with no qemu recompiling. this can be done very easilly. > Just modfying get_keysym on keymaps.c > > > I attach a pacth with this two improves. Thanks. Please update it for current CVS and resend. Thiemo