summaryrefslogtreecommitdiff
path: root/common/keyboard.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-10-23 02:14:36 +0900
committertmk <nobody@nowhere>2012-10-23 02:14:36 +0900
commitad24858e4fec8bb9af9d89ebf42cda3fffcfdff5 (patch)
treef4efff2ef0f3b58df3aec76dd403a320c2a66c35 /common/keyboard.c
parent0ffd4ae3a9470e4efe41880db27a6ae77ccf1ce2 (diff)
Add print utility
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 b0e0ed7935..bda7c0625b 100644
--- a/common/keyboard.c
+++ b/common/keyboard.c
@@ -1,5 +1,5 @@
/*
-Copyright 2011 Jun Wako <wakojun@gmail.com>
+Copyright 2011,2012 Jun Wako <wakojun@gmail.com>
This program is free software: you can redistribute it and/or modify
it 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/>.
#include "debug.h"
#include "command.h"
#include "util.h"
+#include "sendchar.h"
#ifdef MOUSEKEY_ENABLE
#include "mousekey.h"
#endif
@@ -545,6 +546,9 @@ void keyboard_init(void)
{
debug_keyboard = true;
+ // TODO: configuration of sendchar impl
+ print_sendchar_func = sendchar;
+
timer_init();
matrix_init();
#ifdef PS2_MOUSE_ENABLE