From 8451fffbd98d6ecfd14557530869dca28720c11a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Duje=20Mihanovi=C4=87?= Date: Wed, 15 Jun 2022 21:04:08 +0200 Subject: [PATCH] Add number keys to PS/2 driver --- include/arch/x86/input/ps2.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/arch/x86/input/ps2.h b/include/arch/x86/input/ps2.h index 8b90a73..55858bf 100644 --- a/include/arch/x86/input/ps2.h +++ b/include/arch/x86/input/ps2.h @@ -81,6 +81,18 @@ static const char scancodes[] = { [0x31] = 'n', [0x3a] = 'm', + /* numbers */ + [0x45] = '0', + [0x16] = '1', + [0x1e] = '2', + [0x26] = '3', + [0x25] = '4', + [0x2e] = '5', + [0x36] = '6', + [0x3d] = '7', + [0x3e] = '8', + [0x46] = '9', + /* special */ [0x29] = ' ' }; -- 2.39.2