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