diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-05-28 13:02:40 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-06-04 08:40:41 +0200 |
commit | be1a7176249ddf0be179d79e4f9c86b2ad42997b (patch) | |
tree | 138372677f97ed167c14a5d9910489746aee1d88 /include/ui | |
parent | e00fcfeab3d452cba3d0a08991a39ab15df66424 (diff) | |
download | qemu-be1a7176249ddf0be179d79e4f9c86b2ad42997b.zip qemu-be1a7176249ddf0be179d79e4f9c86b2ad42997b.tar.gz qemu-be1a7176249ddf0be179d79e4f9c86b2ad42997b.tar.bz2 |
input: add support for kbd delays
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/input.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/input.h b/include/ui/input.h index aa99b0c..5d5ac00 100644 --- a/include/ui/input.h +++ b/include/ui/input.h @@ -39,6 +39,7 @@ InputEvent *qemu_input_event_new_key(KeyValue *key, bool down); void qemu_input_event_send_key(QemuConsole *src, KeyValue *key, bool down); void qemu_input_event_send_key_number(QemuConsole *src, int num, bool down); void qemu_input_event_send_key_qcode(QemuConsole *src, QKeyCode q, bool down); +void qemu_input_event_send_key_delay(uint32_t delay_ms); int qemu_input_key_number_to_qcode(uint8_t nr); int qemu_input_key_value_to_number(const KeyValue *value); int qemu_input_key_value_to_qcode(const KeyValue *value); |