From 911dac9d60c2f1c332ec1ab877417b74de2c60e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Wed, 15 Aug 2012 12:52:43 +0300 Subject: [PATCH] inputs: add a INPUTS_KEY_SCANCODE message Add a new arbitrary keyboard scancodes message. For now, it will be used to avoid unwanted key repeatition when there is jitter in the network and too much time between DOWN and UP messages, instead the client will send the press & release scancode in a sequence. See also: https://bugzilla.redhat.com/show_bug.cgi?id=812347 --- spice.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spice.proto b/spice.proto index 2ef4dd6..315ab91 100644 --- a/spice.proto +++ b/spice.proto @@ -934,6 +934,8 @@ channel InputsChannel : BaseChannel { keyboard_modifier_flags modifiers; } @ctype(SpiceMsgcKeyModifiers) key_modifiers; + Data key_scancode; + message { int32 dx; int32 dy;