]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools, ui: Add some missing key codes
authorAlessandro Guido <ag@alessandroguido.name>
Mon, 26 Sep 2011 11:12:12 +0000 (13:12 +0200)
committerPekka Enberg <penberg@kernel.org>
Mon, 26 Sep 2011 20:37:09 +0000 (23:37 +0300)
commit2f68a89e6175ab0f466d107b52a8a1adccfdf662
treec952e1788a29b6f99005eee960b6118b463332c3
parent49a1617f3092121cad6cc317c5b0d052b0e7679d
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: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Alessandro Guido <ag@alessandroguido.name>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/ui/sdl.c