summaryrefslogtreecommitdiff
path: root/src/kernel/dev/keyboard.cpp
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2013-07-11 22:38:20 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2013-07-11 22:38:20 +0200
commitd2aebee488b71e6f28b8728e7473b63f412ca897 (patch)
treefbe432590bfcf0b77b189a3db99762fb4f104f39 /src/kernel/dev/keyboard.cpp
parent78d7ffce4861dea5624ff29ceb39f1643dff8235 (diff)
downloadTCE-d2aebee488b71e6f28b8728e7473b63f412ca897.tar.gz
TCE-d2aebee488b71e6f28b8728e7473b63f412ca897.zip
Added direct acces to video memory from userland.std_c_userland
Next : same for keyboard ; move VT handling to userland. Consequence : a foreground app has total control over I/O. Next : implement sockets & a userland console multiplexer.
Diffstat (limited to 'src/kernel/dev/keyboard.cpp')
-rw-r--r--src/kernel/dev/keyboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/dev/keyboard.cpp b/src/kernel/dev/keyboard.cpp
index 3f54b99..af4c380 100644
--- a/src/kernel/dev/keyboard.cpp
+++ b/src/kernel/dev/keyboard.cpp
@@ -77,7 +77,7 @@ static keymap default_km = {
};
keyboard::keyboard(node *parent) : node(parent, FT_DEV) {
- dev_type = DT_KEYBOARD;
+ dev_type = DT_PCKBD;
km = &default_km;
num = true;