@@ -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> */
};
This patch adds unmapped '<', '>', '|', '-', '+' and '=' which are quite useful in linux. Signed-off-by: Sasha Levin <levinsasha928@gmail.com> --- tools/kvm/ui/sdl.c | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-)