]> git.proxmox.com Git - mirror_qemu.git/commit - ui/curses.c
input (curses): mask keycodes to remove modifier bits
authorAndrew Oates <andrew@aoates.org>
Sat, 24 May 2014 00:16:09 +0000 (20:16 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 26 May 2014 06:42:42 +0000 (08:42 +0200)
commitf5c0ab131265270c1e7852ec0d4e284a219d63d4
tree585233ee5c97bd0f397537d9617ad0cc43294075
parent178ac111bca16c08a79b2609ebdc75197bea976a
input (curses): mask keycodes to remove modifier bits

Without the mask, control bits are passed on in the keycode, generating
incorrect PS/2 sequences when SHIFT, ALT, etc are held down.

Cc: qemu-stable@nongnu.org
Signed-off-by: Andrew Oates <andrew@aoates.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/curses.c