From efc07c3577f2a623df07a74eb3923efb9ef1cadb Mon Sep 17 00:00:00 2001 From: Alessandro Guido Date: Thu, 29 Sep 2011 14:59:19 +0200 Subject: [PATCH] kvm tools, sdl: Fix "5" key Use the right set2 scancode for the "5" key. Signed-off-by: Alessandro Guido Signed-off-by: Pekka Enberg --- tools/kvm/ui/sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kvm/ui/sdl.c b/tools/kvm/ui/sdl.c index d6000ae4bbc5..b84cd6606e01 100644 --- a/tools/kvm/ui/sdl.c +++ b/tools/kvm/ui/sdl.c @@ -39,7 +39,7 @@ static const struct set2_scancode const keymap[255] = { [11] = DEFINE_SC(0x1e), /* 2 */ [12] = DEFINE_SC(0x26), /* 3 */ [13] = DEFINE_SC(0x25), /* 4 */ - [14] = DEFINE_SC(0x27), /* 5 */ + [14] = DEFINE_SC(0x2e), /* 5 */ [15] = DEFINE_SC(0x36), /* 6 */ [16] = DEFINE_SC(0x3d), /* 7 */ [17] = DEFINE_SC(0x3e), /* 8 */ -- 2.39.5