aboutsummaryrefslogtreecommitdiffstats
path: root/common/keyboard.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-10-27 02:28:03 +0900
committertmk <nobody@nowhere>2012-10-27 02:28:03 +0900
commit9389585d3d16319d5d739eef84f4ff11076235c1 (patch)
tree7360d98d3d0280596a2d69ba39e160d854f31ea1 /common/keyboard.c
parent0ffd4ae3a9470e4efe41880db27a6ae77ccf1ce2 (diff)
parent220de27bed198c2ea27886986de7afd8013d5545 (diff)
downloadfirmware-9389585d3d16319d5d739eef84f4ff11076235c1.tar.gz
firmware-9389585d3d16319d5d739eef84f4ff11076235c1.tar.bz2
firmware-9389585d3d16319d5d739eef84f4ff11076235c1.zip
Merge branch 'print'
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 @@
/*
-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