Signed-off-by: Gerd Hoffmann kraxel@redhat.com --- src/boot.c | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/src/boot.c b/src/boot.c index a4795b9cb9a2..620060460647 100644 --- a/src/boot.c +++ b/src/boot.c @@ -472,6 +472,15 @@ static int scancode_to_digit(int scan_code) return scan_code - 1; case 11: return 0; + // keypad + case 71 ... 73: + return scan_code - 71 + 7; + case 75 ... 77: + return scan_code - 75 + 4; + case 79 ... 81: + return scan_code - 79 + 1; + case 82: + return 0; default: return -1; }