[PATCH spice-common] inputs: add a INPUTS_KEY_SCANCODE message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-protocol |    2 +-
 spice.proto    |    2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/spice-protocol b/spice-protocol
index da908f8..773705a 160000
--- a/spice-protocol
+++ b/spice-protocol
@@ -1 +1 @@
-Subproject commit da908f89b581fd4725da997fdaea209f8e6548f6
+Subproject commit 773705a6776972036a908fa344c1cbc28e8e1545
diff --git a/spice.proto b/spice.proto
index 1fdead9..824cd74 100644
--- a/spice.proto
+++ b/spice.proto
@@ -858,6 +858,8 @@ channel InputsChannel : BaseChannel {
 	keyboard_modifier_flags modifiers;
     } @ctype(SpiceMsgcKeyModifiers) key_modifiers;
 
+    Data key_scancode;
+
     message {
 	int32 dx;
 	int32 dy;
-- 
1.7.10.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]