OSDN Git Service

mainstone: Fix incorrect key mapping for Enter key.
authorVijay Kumar B <vijaykumar@zilogic.com>
Tue, 4 Oct 2016 12:28:07 +0000 (13:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 4 Oct 2016 12:28:07 +0000 (13:28 +0100)
commit8cb2d2db50eed3e708b9504891735e78f00e6e3d
treec2712f81bfb1af71dba0100fdb1a3ab6443d2384
parenta1f8193bb41283923710f23faf436b6b0a7bb3f2
mainstone: Fix incorrect key mapping for Enter key.

According to the manual the (5, 5) corresponds to backspace key, and
not Enter key. Linux kernel maps (5, 4) to the enter key. Fixing it up
to match the mapping in the Linux kernel.

Signed-off-by: Vijay Kumar B. <vijaykumar@zilogic.com>
Reviewed-by: Deepak S. <deepak@zilogic.com>
Message-id: 1475063033-8176-2-git-send-email-vijaykumar@zilogic.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/mainstone.c