added switch for any char conversion we need for other key layouts

This commit is contained in:
jsorg71 2006-10-09 07:02:11 +00:00
parent d3e361d09b
commit 3ab171a462
1 changed files with 11 additions and 1 deletions

View File

@ -144,7 +144,17 @@ lib_mod_event(struct vnc* v, int msg, long param1, long param2,
key = 0;
if (param2 == 0xffff) /* ascii char */
{
key = param1;
/*g_writeln("msg %d param1 %x param2 %x param3 %x param4 %x",
msg, param1, param2, param3, param4);*/
switch (param1)
{
case 0x80: /* EuroSign */
key = 0x20ac;
break;
default:
key = param1;
break;
}
}
else /* non ascii key event */
{