[Spice-devel] [patch 0/2] vdagent KEYVAL extension

Dietmar Maurer dietmar at proxmox.com
Thu Oct 10 16:36:45 CEST 2013


> Ok, so I will add more space for scancodes. I have further optimized my patch,
> and I currently use:
> 
>       message {
>         uint32 keysym;
>         uint32 scancode_down;
>         uint32 scancode_up;
>     } @ctype(SpiceMsgcKeyX11Keysym) key_x11_keysym;

Another advantage is that a client could request scancode generation at server side.
This is useful for the javascript/java client, because they do not have access to scancodes.

The server (qemu) can synthesize the scancode from the keysym (code for that already 
exists in qemu for vnc).




More information about the Spice-devel mailing list