From aa8a8811818331cf511681327e3ba95e456f0d33 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 2 May 2020 15:44:11 +0200 Subject: Added many syscalls to get better POSIX compliance --- src/userspace/libc/stdio/getch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/userspace/libc/stdio/getch.c') diff --git a/src/userspace/libc/stdio/getch.c b/src/userspace/libc/stdio/getch.c index 93d3d00..5f9655a 100644 --- a/src/userspace/libc/stdio/getch.c +++ b/src/userspace/libc/stdio/getch.c @@ -65,7 +65,8 @@ char shift_keymap[128] = { char *getch() { // TODO: Add shift support - u8 scancode = syscall_scancode(); + // TODO: Implement keyboard dev driver + u8 scancode = 42; //syscall_scancode(); if ((scancode & 0x80) == 0) { // Press return keymap[scancode]; } else { // Release -- cgit v1.2.3