summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorGerd Hoffmann2017-07-26 17:29:15 +0200
committerGerd Hoffmann2017-07-27 14:23:09 +0200
commit606eb0c64991d59a9d5e249508867dc0cb3707e1 (patch)
tree1ed0a9920738d8974cc59aaaec6223fe17744098 /include/ui
parentui: add next and prior keysyms (diff)
downloadqemu-606eb0c64991d59a9d5e249508867dc0cb3707e1.tar.gz
qemu-606eb0c64991d59a9d5e249508867dc0cb3707e1.tar.xz
qemu-606eb0c64991d59a9d5e249508867dc0cb3707e1.zip
ui: move qemu_input_linux_to_qcode()
Move from input-linux.c to input-keymap.c and export it, so the function is available elsewhere too. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20170726152918.11995-3-kraxel@redhat.com
Diffstat (limited to 'include/ui')
-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 3cfd0f3363..c488585def 100644
--- a/include/ui/input.h
+++ b/include/ui/input.h
@@ -48,6 +48,7 @@ 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,
int *codes);
+int qemu_input_linux_to_qcode(unsigned int lnx);
InputEvent *qemu_input_event_new_btn(InputButton btn, bool down);
void qemu_input_queue_btn(QemuConsole *src, InputButton btn, bool down);