]> git.dujemihanovic.xyz Git - nameless-os.git/blobdiff - include/arch/x86/input/ps2.h
Implement input part of stdio
[nameless-os.git] / include / arch / x86 / input / ps2.h
index 8b90a73e5de11b96a4c000bfad5ca6128665984c..c0c47deb369f9107ab2ddd48923c049b57f7110e 100644 (file)
@@ -82,11 +82,14 @@ static const char scancodes[] = {
        [0x3a] = 'm',
 
        /* special */
-       [0x29] = ' '
+       [0x29] = ' ',
+       [0x5a] = '\n',
+       [0x66] = 0x7f /* backspace */
 };
 
 extern int ps2_initialize();
 extern void ps2_input_wait();
 extern void ps2_output_wait();
+extern char ps2_get_keystroke();
 
 #endif