summaryrefslogtreecommitdiff
path: root/src/init
diff options
context:
space:
mode:
Diffstat (limited to 'src/init')
-rw-r--r--src/init/driver/ps2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/driver/ps2.c b/src/init/driver/ps2.c
index 5e88b35..b2d42e5 100644
--- a/src/init/driver/ps2.c
+++ b/src/init/driver/ps2.c
@@ -41,7 +41,7 @@ static void parse_scancode(uint8_t s) {
keys[s] = down;
char c = shift ? keymap_upper[s] : keymap_lower[s];
- ring_put1b((void*)&backlog, c);
+ if (down) ring_put1b((void*)&backlog, c);
}
static void main_loop(void) {