vnc: improve numpad support for qemu console.
commitbb0a18e11056c3b8c32e65b97340ca8ae84ba855
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 11 Jun 2009 09:32:14 +0000 (11 11:32 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Jun 2009 20:18:39 +0000 (16 15:18 -0500)
tree4ebdbe4e9fdc802dc36e4e7993010ceaac61243b
parent5c5dafdc5ecb2fd5080189e9ea4adcfa4e03ad5d
vnc: improve numpad support for qemu console.

Reorganize qemu console emulation code.  Make it look at the numlock
state and interpret numpad keys as arrow+friends (numlock off) or
digits (numlock on).  While being at it also wind up the other numpad
keys.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vnc.c