summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2012-08-15 21:04:15 +0300
committerMarc-André Lureau <marcandre.lureau@redhat.com>2012-08-28 18:50:11 +0200
commit92f04cbcb898880be205feee0795f2f3cb92b260 (patch)
tree042a793f26cd64d1dfb28800f6ba8978620767ea /doc
parent79a86657a013a2c20fe03e1aa9065bb01a587ed2 (diff)
downloadspice-gtk-92f04cbcb898880be205feee0795f2f3cb92b260.tar.gz
spice-gtk-92f04cbcb898880be205feee0795f2f3cb92b260.tar.xz
spice-gtk-92f04cbcb898880be205feee0795f2f3cb92b260.zip
inputs: add spice_inputs_key_press_and_release()
If the server is capable of SPICE_INPUTS_CAP_SCANCODE, then we send can send a single message with key press and release, to avoid unwanted guest side key repeatition due to network jitter. If the server is not capable, spice-gtk will use some compatibility mode and send the existing DOWN and UP key events seperately.
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/spice-gtk-sections.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/reference/spice-gtk-sections.txt b/doc/reference/spice-gtk-sections.txt
index daf575c..60e287a 100644
--- a/doc/reference/spice-gtk-sections.txt
+++ b/doc/reference/spice-gtk-sections.txt
@@ -203,6 +203,7 @@ spice_inputs_position
spice_inputs_button_press
spice_inputs_button_release
spice_inputs_key_press
+spice_inputs_key_press_and_release
spice_inputs_key_release
spice_inputs_set_key_locks
<SUBSECTION Standard>