mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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
This commit is contained in:
parent
d52a1a9102
commit
606eb0c649
3 changed files with 116 additions and 113 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue