aboutsummaryrefslogtreecommitdiff
path: root/common/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/keyboard.c')
-rw-r--r--common/keyboard.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/keyboard.c b/common/keyboard.c
index b0e0ed793..bda7c0625 100644
--- a/common/keyboard.c
+++ b/common/keyboard.c
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright 2011 Jun Wako <wakojun@gmail.com> 2Copyright 2011,2012 Jun Wako <wakojun@gmail.com>
3 3
4This program is free software: you can redistribute it and/or modify 4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by 5it under the terms of the GNU General Public License as published by
@@ -25,6 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
25#include "debug.h" 25#include "debug.h"
26#include "command.h" 26#include "command.h"
27#include "util.h" 27#include "util.h"
28#include "sendchar.h"
28#ifdef MOUSEKEY_ENABLE 29#ifdef MOUSEKEY_ENABLE
29#include "mousekey.h" 30#include "mousekey.h"
30#endif 31#endif
@@ -545,6 +546,9 @@ void keyboard_init(void)
545{ 546{
546 debug_keyboard = true; 547 debug_keyboard = true;
547 548
549 // TODO: configuration of sendchar impl
550 print_sendchar_func = sendchar;
551
548 timer_init(); 552 timer_init();
549 matrix_init(); 553 matrix_init();
550#ifdef PS2_MOUSE_ENABLE 554#ifdef PS2_MOUSE_ENABLE