qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>, dave@mielke.cc
Subject: [Qemu-devel] [PATCH v2 0/4] input: add support for kbd delays
Date: Mon,  2 Jun 2014 13:28:34 +0200	[thread overview]
Message-ID: <1401708518-2071-1-git-send-email-kraxel@redhat.com> (raw)

  Hi,

Little series of four input patches.  First patch adds support for
submitting keyboard delays, which will make the input layer setup a
timer, buffer the following keyboard events, send them to the guest
once the delay is over.  This should be used anywhere where we send
synthetic key events to the guest as injecting key events to the
guest without delays may cause problems with guests which are not
prepared to receive events faster than with human typing speed.

Second patch makes the send_key monitor command use the new service
instead of using its own timer.  Third patch inserts delays in
the curses ui.  Last patch adds kbd delays to the vnc press_key
function.

please review & test,
  Gerd

Gerd Hoffmann (4):
  input: add support for kbd delays
  input: use kbd delays for send_key monitor command
  input/curses: add kbd delay between keydown and keyup events
  input/vnc: use kbd delays in press_key

 include/ui/input.h |   1 +
 ui/curses.c        |  10 +++++
 ui/input-legacy.c  |  45 +++--------------------
 ui/input.c         | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++--
 ui/vnc.c           |   2 +
 5 files changed, 122 insertions(+), 42 deletions(-)

-- 
1.8.3.1

             reply	other threads:[~2014-06-02 11:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-02 11:28 Gerd Hoffmann [this message]
2014-06-02 11:28 ` [Qemu-devel] [PATCH 1/4] input: add support for kbd delays Gerd Hoffmann
2014-06-02 11:28 ` [Qemu-devel] [PATCH 2/4] input: use kbd delays for send_key monitor command Gerd Hoffmann
2014-06-02 11:28 ` [Qemu-devel] [PATCH 3/4] input/curses: add kbd delay between keydown and keyup events Gerd Hoffmann
2014-06-02 11:28 ` [Qemu-devel] [PATCH 4/4] input/vnc: use kbd delays in press_key Gerd Hoffmann
2014-06-02 12:59 ` [Qemu-devel] [PATCH v2 0/4] input: add support for kbd delays Dave Mielke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1401708518-2071-1-git-send-email-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=dave@mielke.cc \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).