summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-05-21 13:28:32 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-05-26 08:42:42 +0200
commit11c7fa7fa602704d9673ea59c575f58777008d93 (patch)
tree053b1fe2a41ed16511a8decb8c27ff93f06eeb96 /include
parentf5c0ab131265270c1e7852ec0d4e284a219d63d4 (diff)
downloadqemu-11c7fa7fa602704d9673ea59c575f58777008d93.tar.gz
qemu-11c7fa7fa602704d9673ea59c575f58777008d93.tar.bz2
qemu-11c7fa7fa602704d9673ea59c575f58777008d93.zip
input: add qemu_input_key_number_to_qcode
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/ui/input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/input.h b/include/ui/input.h
index 3d3d487f18..d84ed8b41c 100644
--- a/include/ui/input.h
+++ b/include/ui/input.h
@@ -36,6 +36,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);
+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);
int qemu_input_key_value_to_scancode(const KeyValue *value, bool down,