qemu-patch-raspberry4/include/ui
Gerd Hoffmann 47ddfab18a kbd-state: add keyboard state tracker
Now that most user interfaces are using QKeyCodes it is easier to have
common keyboard code useable by all user interfaces.

This patch adds helper code to track the state of all keyboard keys,
using a bitmap indexed by QKeyCode.  Modifier state is tracked too,
as separate bitmap.  That makes checking modifier state easier.
Likewise we can easily apply special handling for capslock & numlock
(toggles on keypress) and ctrl + shift (we have two keys for that).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20190122092814.14919-2-kraxel@redhat.com

[ kraxel: added license boilerplate header ]

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2019-02-05 10:45:44 +01:00
..
console.h ui/console: Remove PixelFormat from qemu/typedefs.h 2019-01-22 05:14:33 +01:00
egl-context.h opengl: add egl-context.[ch] helpers 2015-10-08 10:34:53 +02:00
egl-helpers.h ui/egl-helpers: Augment parameter list of egl_texture_blend() to convey scales of viewport 2019-02-05 10:45:44 +01:00
gtk.h ui: remove support for GTK2 in favour of GTK3 2018-10-12 15:22:18 +02:00
input.h input: avoid malloc for mouse events 2019-01-11 11:57:17 +01:00
kbd-state.h kbd-state: add keyboard state tracker 2019-02-05 10:45:44 +01:00
pixel_ops.h ui: move files to ui/ and include/ui/ 2012-12-19 08:31:30 +01:00
qemu-pixman.h ui/console: Remove PixelFormat from qemu/typedefs.h 2019-01-22 05:14:33 +01:00
qemu-spice.h configure: bump spice-server required version to 0.12.5 2019-01-10 08:55:13 +01:00
sdl2.h sdl: add support for high resolution window icon 2019-01-21 09:43:13 +01:00
shader.h opengl: add flipping vertex shader 2017-10-17 10:25:42 +02:00
spice-display.h spice: add cursor_dmabuf support 2018-03-12 09:01:56 +01:00