diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-08-15 12:52:43 +0300 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-08-27 17:12:07 +0200 |
commit | 86e286ba2003c206e700fd70ec67c1cf4ac8d8a6 (patch) | |
tree | 386aec75583cdc3843c2714d94f4990e103d61df | |
parent | 2c55c9d0c6a5752a16f5e22667196b461c85d4c8 (diff) |
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
m--------- | spice-protocol | 0 | ||||
-rw-r--r-- | spice.proto | 2 |
2 files changed, 2 insertions, 0 deletions
diff --git a/spice-protocol b/spice-protocol -Subproject 3838ad140a046c4ddf42fef58c9727ecfdc09f9 +Subproject 3b619bd9c14a2557d82d88d2bd28a02c45a9ea7 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; |