[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Patch] AltGr on vnc and adding extra keys with no comp
From: |
Thiemo Seufer |
Subject: |
Re: [Qemu-devel] [Patch] AltGr on vnc and adding extra keys with no compiling |
Date: |
Sun, 26 Aug 2007 18:43:45 +0100 |
User-agent: |
Mutt/1.5.16 (2007-06-11) |
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