summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-25 12:10:25 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-25 12:10:25 +0200
commit82bbfa8496642d2535e224693226413e5a1b8010 (patch)
tree990e5debf1ee120317bb90253f771a5caa351044
parent260b14e505667fba591112e8405705bda79ba27c (diff)
downloadserenity-82bbfa8496642d2535e224693226413e5a1b8010.zip
Keyboard should support the space character (jeez!)
-rw-r--r--Kernel/Keyboard.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Keyboard.cpp b/Kernel/Keyboard.cpp
index c233b3c59f..60edc829f3 100644
--- a/Kernel/Keyboard.cpp
+++ b/Kernel/Keyboard.cpp
@@ -25,6 +25,7 @@ static char map[0x100] =
'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p', '[', ']', 0, 0,
'a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', ';', '\'', '`', 0, '\\',
'z', 'x', 'c', 'v', 'b', 'n', 'm', ',', '.', '/',
+ 0, 0, 0, ' '
};
static char shift_map[0x100] =
@@ -33,6 +34,7 @@ static char shift_map[0x100] =
'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P', '{', '}', 0, 0,
'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', ':', '"', '~', 0, '|',
'Z', 'X', 'C', 'V', 'B', 'N', 'M', '<', '>', '?',
+ 0, 0, 0, ' '
};