Received: from eggs.gnu.org ([2001:4830:134:3::10]:35073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpDHs-0005bm-6v for qemu-devel@nongnu.org; Wed, 28 Sep 2016 07:44:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpDHq-0002wk-A5 for qemu-devel@nongnu.org; Wed, 28 Sep 2016 07:44:31 -0400 From: Vijay Kumar B Date: Wed, 28 Sep 2016 17:13:53 +0530 Message-Id: <1475063033-8176-3-git-send-email-vijaykumar@zilogic.com> In-Reply-To: <1475063033-8176-1-git-send-email-vijaykumar@zilogic.com> References: <1475063033-8176-1-git-send-email-vijaykumar@zilogic.com> Subject: [Qemu-devel] [PATCH 2/2] mainstone: Add mapping for dot, slash and backspace. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Vijay Kumar B , qemu-arm@nongnu.org, balrogg@gmail.com Add missed out mappings. These mappings are from the "Intel PXA27x Processor Developer's Kit User Guide". Signed-off-by: Vijay Kumar B. Reviewed-by: Deepak S. --- hw/arm/mainstone.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/arm/mainstone.c b/hw/arm/mainstone.c index e81b878..f962236 100644 --- a/hw/arm/mainstone.c +++ b/hw/arm/mainstone.c @@ -73,8 +73,10 @@ static const struct keymap map[0xE0] = { [0x2f] = {3,3}, /* v */ [0x11] = {3,4}, /* w */ [0x2d] = {3,5}, /* x */ + [0x34] = {4,0}, /* . */ [0x15] = {4,2}, /* y */ [0x2c] = {4,3}, /* z */ + [0x35] = {4,4}, /* / */ [0xc7] = {5,0}, /* Home */ [0x2a] = {5,1}, /* shift */ /* @@ -89,6 +91,7 @@ static const struct keymap map[0xE0] = { * TODO: Compare with Linux code and test real hardware. */ [0x1c] = {5,4}, /* enter */ + [0x0e] = {5,5}, /* backspace */ [0xc8] = {6,0}, /* up */ [0xd0] = {6,1}, /* down */ [0xcb] = {6,2}, /* left */ -- 2.1.4