This patch adds unmapped '<', '>', '|', '-', '+' and '='
which are quite useful in linux.

Signed-off-by: Sasha Levin <[email protected]>
---
 tools/kvm/ui/sdl.c |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/tools/kvm/ui/sdl.c b/tools/kvm/ui/sdl.c
index 2e7c395..30fd511 100644
--- a/tools/kvm/ui/sdl.c
+++ b/tools/kvm/ui/sdl.c
@@ -20,7 +20,8 @@ static u8 keymap[255] = {
        [17]            = 0x3e,         /* 8 */
        [18]            = 0x46,         /* 9 */
        [19]            = 0x45,         /* 9 */
-
+       [20]            = 0x4e,         /* - */
+       [21]            = 0x55,         /* + */
        [22]            = 0x66,         /* <backspace> */
 
        [24]            = 0x15,         /* q */
@@ -47,6 +48,8 @@ static u8 keymap[255] = {
        [46]            = 0x4b,         /* l */
 
        [50]            = 0x12,         /* <left shift> */
+       [51]            = 0x5d,         /* | */
+
 
        [52]            = 0x1a,         /* z */
        [53]            = 0x22,         /* x */
@@ -55,8 +58,9 @@ static u8 keymap[255] = {
        [56]            = 0x32,         /* b */
        [57]            = 0x31,         /* n */
        [58]            = 0x3a,         /* m */
-
-       [61]            = 0x4e,         /* - */
+       [59]            = 0x41,         /* < */
+       [60]            = 0x49,         /* > */
+       [61]            = 0x4a,         /* / */
        [62]            = 0x59,         /* <right shift> */
        [65]            = 0x29,         /* <space> */
 };
-- 
1.7.5.3

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to