diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-07-26 17:29:15 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-07-27 14:23:09 +0200 |
commit | 606eb0c64991d59a9d5e249508867dc0cb3707e1 (patch) | |
tree | 1ed0a9920738d8974cc59aaaec6223fe17744098 /include/ui | |
parent | d52a1a9102a4236dfbc7c95b3c7057f107dbf71d (diff) |
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.h | 1 |
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); |