summary refs log tree commit diff stats
path: root/include/ui/input.h
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2018-01-17 16:41:16 +0000
committerGerd Hoffmann <kraxel@redhat.com>2018-01-29 09:30:25 +0100
commite709a61a8fe1076a487376fd657544418a38ba06 (patch)
tree6de3554b7c8de6331c5d20eb422a9a51e6ed478f /include/ui/input.h
parentab8f9d49d62c82a12409475547e4420a46da56ed (diff)
downloadfocaccia-qemu-e709a61a8fe1076a487376fd657544418a38ba06.tar.gz
focaccia-qemu-e709a61a8fe1076a487376fd657544418a38ba06.zip
hw: convert the escc device to keycodemapdb
Replace the qcode_to_keycode table with automatically
generated tables.

Missing entries in qcode_to_keycode now fixed:

 - Q_KEY_CODE_KP_COMMA -> 0x2d

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20180117164118.8510-3-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui/input.h')
-rw-r--r--include/ui/input.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ui/input.h b/include/ui/input.h
index cffeb1c1a0..7d6c92224e 100644
--- a/include/ui/input.h
+++ b/include/ui/input.h
@@ -86,6 +86,9 @@ extern const guint16 qemu_input_map_qcode_to_atset3[];
 extern const guint qemu_input_map_qcode_to_qnum_len;
 extern const guint16 qemu_input_map_qcode_to_qnum[];
 
+extern const guint qemu_input_map_qcode_to_sun_len;
+extern const guint16 qemu_input_map_qcode_to_sun[];
+
 extern const guint qemu_input_map_qnum_to_qcode_len;
 extern const guint16 qemu_input_map_qnum_to_qcode[];