2011-02-04 22:19:54 +01:00
|
|
|
Index: xen-4.0.2-testing/tools/ioemu-qemu-xen/vnc.c
|
2010-09-28 00:07:21 +02:00
|
|
|
===================================================================
|
2011-02-04 22:19:54 +01:00
|
|
|
--- xen-4.0.2-testing.orig/tools/ioemu-qemu-xen/vnc.c
|
|
|
|
+++ xen-4.0.2-testing/tools/ioemu-qemu-xen/vnc.c
|
2011-01-14 19:24:51 +01:00
|
|
|
@@ -1342,6 +1342,11 @@ static void do_key_event(VncState *vs, i
|
2010-06-04 15:05:01 +02:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 0x3a: /* CapsLock */
|
|
|
|
+ if(!down){
|
|
|
|
+ vs->modifiers_state[keycode] ^= 1;
|
|
|
|
+ kbd_put_keycode(keycode | 0x80);
|
|
|
|
+ }
|
|
|
|
+ return;
|
|
|
|
case 0x45: /* NumLock */
|
|
|
|
if (down) {
|
|
|
|
kbd_put_keycode(keycode & 0x7f);
|