Some SPICE applications want to use the keymap from the client side, and works directly with UTF input characters (for examply a terminal emulator). The current scancode values cannot be used for those applications. Unfortunately, UTF character set miss all special keyboard keys like function-keys. So this patch uses X11/gdk keyboard symbols (keysyms) instead (VNC clients also use that, so this makes it easy to move from VNC to SPICE). The current patch defines a new protocol message: message { uint32 keyval; keyboard_keyval_flags flags; # DOWN/UP/DOWN_AND_UP } @ctype(SpiceMsgcKeyKeyval) key_keyval; A further extension could be to add the scancode, so that this message can replace all previous keyboard messages: message { uint32 keyval; uint32 scancode; keyboard_keyval_flags flags; } @ctype(SpiceMsgcKeyKeyval) key_keyval; _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel