]> git.ipfire.org Git - thirdparty/qemu.git/commit
mainstone: Fix duplicate array values for key 'space'
authorStefan Weil <sw@weilnetz.de>
Sun, 22 Dec 2013 19:42:05 +0000 (20:42 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 21 Feb 2014 06:34:40 +0000 (00:34 -0600)
commit88d08de7e5d08bfa44613e492cd64f8b3974d62e
treed7c5ddeb7bfc2183ca59086df813e310bf74b798
parent109b2439f01247b5c8a5313c367ec6b11cb46259
mainstone: Fix duplicate array values for key 'space'

cgcc reported a duplicate initialisation. Mainstone includes a matrix
keyboard where two different positions map to 'space'.

QEMU uses the reversed mapping and does not map 'space' to two different
matrix positions.

Some other keys are either missing or might be mapped wrongly (cf. Linux
kernel code). Don't fix these until someone can test them with real
hardware, but add TODO comments.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(cherry picked from commit 7dbc1158bc63fdbad849d21409eeeb53f5230445)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/arm/mainstone.c