german keymap
Status: Beta
Brought to you by:
jsorg71
Its an option to change the keycodes for a german
keymap, but it could be also an example to do this
similar for other languages.
to get it work, you have to do this:
1. put this file (lang.h) into the vnc directory
2. include this file in vnc.h (#include lang.h)
3. replace line 150 in vnc.c with the following lines:
4. make && make install
key = param1;
for(i = 0; i < sizeof_lang_default; i++)
if (lang_default[0][i] == param1)
key = lang_default[1][i];
for now the "Alt Gr"-Keycodes doesn't work, but I will
try to fix this.
Logged In: YES
user_id=1242650
cool, thanks!
there needs to be declaration of "int i=0", otherwise
compile will fail.
works very well for now!
just fyi - besides the remaining alt-gr issue, there is the
key "<>|" which isn`t working, too.
regards
roland
Logged In: NO
Hi,
fails with:
vnc.c: In function `lib_mod_event':
vnc.c:152: error: `i' undeclared (first use in this function)
vnc.c:152: error: (Each undeclared identifier is reported
only once
vnc.c:152: error: for each function it appears in.)
make[1]: *** [vnc.o] Error 1
Please include your vnc.c
Logged In: NO
add an "int i=0;" just below "char text[256];"
regards
roland
Logged In: NO
@roland
Thanks, compiling now works.
Logged In: NO
Works great thanks !
Logged In: YES
user_id=1581431
Yahoo!
Know it seem to work for me. I still can't use the altgr
key, but now I can use the normal alt key do get the
alternative graphics on the screen.
You simply have to replace the files in the attached
archive before you run make && make install, to get it work.
Know I'm searching for a solution to get the same effect
with altgr instead of alt..
Logged In: YES
user_id=1242650
this patch only seems to work if you use libvnc.so
but - what about localized keycodes when using
libxup.so/X11rdp ?
Logged In: YES
user_id=1242650
setxkbmap gives: "XKB extension not present on :16.0"