[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: |
Ricardo |
Subject: |
Re: [Qemu-devel] [Patch] AltGr on vnc and adding extra keys with no compiling |
Date: |
Mon, 27 Aug 2007 15:19:13 -0400 |
Hi
I attach the new patch. PLEASE REMOVE THE OLD ONE!!!, I sent a
completely wrong file :S (sorry).
I have downloaded de cvs version and patched with this new file, wich solves:
a) ISO_Level_3 is now correctly reconized as alt gr on vnc mode
b) User can add its own keysym by number
c) My sdl library gives two events for cap lock (press and release).
Now it is recognized correctly
d) Some minor changes in order to compile correctly the program
Everything has been tested with DOS 7.2 as target.
Sorry again for the first mistake and congratulations again for a
GREAT program
Regards
ps: please cc me
On 8/26/07, Thiemo Seufer <address@hidden> wrote:
> 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
>
--
Ricardo Ribalda
http://www.ii.uam.es/~rribalda/
altgr-capslock-numkeysym.patch
Description: Text Data