aboutsummaryrefslogtreecommitdiff
path: root/include/ui/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui/input.h')
-rw-r--r--include/ui/input.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ui/input.h b/include/ui/input.h
index 4976f3da2c..010c903e80 100644
--- a/include/ui/input.h
+++ b/include/ui/input.h
@@ -35,6 +35,10 @@ 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_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);
InputEvent *qemu_input_event_new_btn(InputButton btn, bool down);
void qemu_input_queue_btn(QemuConsole *src, InputButton btn, bool down);