From: Alessandro Guido Date: Thu, 29 Sep 2011 12:59:19 +0000 (+0200) Subject: kvm tools, sdl: Fix "5" key X-Git-Tag: next-20110930~2^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=efc07c3577f2a623df07a74eb3923efb9ef1cadb;p=karo-tx-linux.git 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 --- 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 */