aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/stdio/getch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/libc/stdio/getch.c')
-rw-r--r--src/userspace/libc/stdio/getch.c3
1 files changed, 2 insertions, 1 deletions
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