]> git.dujemihanovic.xyz Git - nameless-os.git/commitdiff
Add number keys to PS/2 driver stdio origin/stdio
authorDuje Mihanović <duje.mihanovic@skole.hr>
Wed, 15 Jun 2022 19:04:08 +0000 (21:04 +0200)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Wed, 22 Jun 2022 16:06:17 +0000 (18:06 +0200)
include/arch/x86/input/ps2.h

index c0c47deb369f9107ab2ddd48923c049b57f7110e..eb74502911e3280881234c16faaa42b226bcc7bd 100644 (file)
@@ -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] = ' ',
        [0x5a] = '\n',