]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
input (curses): mask keycodes to remove modifier bits
authorAndrew Oates <andrew@aoates.org>
Sat, 24 May 2014 00:16:09 +0000 (20:16 -0400)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 5 Aug 2014 16:36:31 +0000 (11:36 -0500)
commitb203bba0ce2ba575e91f977d762943475e402ab8
tree55633d42fe013945e77d9fa3b3b5e4683394ec81
parent91148decd256d4e2f24152fbf2f7c64459e562c1
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>
(cherry picked from commit f5c0ab131265270c1e7852ec0d4e284a219d63d4)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
ui/curses.c