diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2017-09-29 11:12:00 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-10-16 14:50:54 +0200 |
commit | af07e5ff02ae6d4258fc5331007811d0b1c4d35a (patch) | |
tree | 22204185637414e2b2a9a6a0bd0c7efea06577c3 /audio/audio_int.h | |
parent | bcd5ac9bcb451098a31cbc817cdba3f5a9e0223f (diff) |
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 'audio/audio_int.h')
0 files changed, 0 insertions, 0 deletions