[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Patch] AltGr on vnc and adding extra keys with no compilin

From: Ricardo
Subject: [Qemu-devel] [Patch] AltGr on vnc and adding extra keys with no compiling
Date: Thu, 23 Aug 2007 18:09:39 -0400


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.

         Regards and congratulations for a great program!

PS: Please CC me
Ricardo Ribalda

Attachment: vnc-keyboard.diff
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]