summaryrefslogtreecommitdiffstats
path: root/include/ui/input.h
diff options
context:
space:
mode:
authorDaniel P. Berrange2017-09-29 12:12:00 +0200
committerGerd Hoffmann2017-10-16 14:50:54 +0200
commitaf07e5ff02ae6d4258fc5331007811d0b1c4d35a (patch)
tree22204185637414e2b2a9a6a0bd0c7efea06577c3 /include/ui/input.h
parentui: convert common input code to keycodemapdb (diff)
downloadqemu-af07e5ff02ae6d4258fc5331007811d0b1c4d35a.tar.gz
qemu-af07e5ff02ae6d4258fc5331007811d0b1c4d35a.tar.xz
qemu-af07e5ff02ae6d4258fc5331007811d0b1c4d35a.zip
ui: convert key events to QKeyCodes immediately
Always use QKeyCode in the InputKeyEvent struct, by converting key numbers to QKeyCode at the time the event is created. This allows the code processing / consuming key events to assume QKeyCode is used. The only place we accept a key number in the InputKeyEvent struct is with QMP commands sent by the user. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-id: 20170929101201.21039-6-berrange@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui/input.h')
0 files changed, 0 insertions, 0 deletions