]> 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 Tokarev <mjt@tls.msk.ru>
Wed, 1 Jan 2014 14:03:55 +0000 (18:03 +0400)
commit7dbc1158bc63fdbad849d21409eeeb53f5230445
tree4ff4e644148aba77bb07e392fb1245312b07e28f
parent52975c313ee4b5ce2004c1ed3279272a55429ede
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>
hw/arm/mainstone.c