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

Dietmar Maurer dietmar at proxmox.com
Thu Oct 10 18:03:05 CEST 2013


> > Did the spice-html5 people already found a way to generate scancodes?
> 
> I don't see the relation. For example, in case of html5 client to spiceterm, you
> don't need (and don't have) hw scancode.

I talk about html client with qemu. The suggested protocol extension provides
a clean solution for the html5 client.

> Why do you want to mix scancodes and keysym in the same message?

First, because it solves the html client problem. Second, because it  results
in simpler code.

> If the server needs keysyms, it can have the keysym capability. If it wants
> scancode, it should not advertize it.
> 
> 
> If you really need both, we could have the protocol (another capability)
> specifying that a keysym event is immediately followed by the corresponding
> scancode sequence. 

For what reason do you want such a complex solution?

But wait, I will post a patch with many cleanups tomorrow. You can then see how it
fits all together.

Many thanks for your patience,

Dietmar



More information about the Spice-devel mailing list