qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 0/4] input: add support for kbd delays


From: Gerd Hoffmann
Subject: [Qemu-devel] [PATCH v2 0/4] input: add support for kbd delays
Date: Mon, 2 Jun 2014 13:28:34 +0200

  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 via email to

[Prev in Thread] Current Thread [Next in Thread]