summaryrefslogtreecommitdiffstats
path: root/vnc
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-10-09 07:02:11 +0000
committerjsorg71 <jsorg71>2006-10-09 07:02:11 +0000
commit3ab171a462c2aa5d1c326da54bc77f37f96b8ef5 (patch)
tree622729f75f3c3fd09ceb1166e68db3669912f965 /vnc
parentd3e361d09b54eb16fe85c41f38b0c62fad24599b (diff)
downloadxrdp-proprietary-3ab171a462c2aa5d1c326da54bc77f37f96b8ef5.tar.gz
xrdp-proprietary-3ab171a462c2aa5d1c326da54bc77f37f96b8ef5.zip
added switch for any char conversion we need for other key layouts
Diffstat (limited to 'vnc')
-rw-r--r--vnc/vnc.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/vnc/vnc.c b/vnc/vnc.c
index e18ffd45..8f5539df 100644
--- a/vnc/vnc.c
+++ b/vnc/vnc.c
@@ -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 */
{