diff options
author | Vijay Kumar B <vijaykumar@zilogic.com> | 2016-10-04 13:28:08 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-10-04 13:28:08 +0100 |
commit | 0c74e95bf87f9fb2187e7b1baa427a7b74d69ccd (patch) | |
tree | db9d0d6d38ece794516e79e3a54a8ab2893672af /hw | |
parent | 8cb2d2db50eed3e708b9504891735e78f00e6e3d (diff) | |
download | qemu-0c74e95bf87f9fb2187e7b1baa427a7b74d69ccd.zip qemu-0c74e95bf87f9fb2187e7b1baa427a7b74d69ccd.tar.gz qemu-0c74e95bf87f9fb2187e7b1baa427a7b74d69ccd.tar.bz2 |
mainstone: Add mapping for dot, slash and backspace.
Add missed out mappings. These mappings are from the "Intel PXA27x
Processor Developer's Kit User Guide".
Signed-off-by: Vijay Kumar B. <vijaykumar@zilogic.com>
Reviewed-by: Deepak S. <deepak@zilogic.com>
Message-id: 1475063033-8176-3-git-send-email-vijaykumar@zilogic.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/arm/mainstone.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |