Skip to content
Commit 571cf4ba authored by Alessandro Guido's avatar Alessandro Guido Committed by Will Deacon
Browse files

kvm tools, ui: Add some missing key codes



Add some missing keys to the SDL ui. This needed a bit of rework of
keyboard event handling since some of the new codes are multi-byte,
so I had to introduce a struct that keeps that information alongside
the code itself. Peculiar cases like PAUSE or PRNT SCRN are special
cased, however they aren't wired yet since I couldn't test them (I think
input grabbing is required to make them work).

Acked-by: default avatarSasha Levin <levinsasha928@gmail.com>
Signed-off-by: default avatarAlessandro Guido <ag@alessandroguido.name>
Signed-off-by: default avatarPekka Enberg <penberg@kernel.org>
parent 01b6ba3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment