summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2010-10-25 16:56:24 +0900
committertmk <nobody@nowhere>2010-10-25 16:56:24 +0900
commit7a336b05ec2d1056fe2206ae218199c66e8980da (patch)
treec9044ba8debf5834da8bafe0fc42dc2919f5a18e
parentc166fb744f771259f7f9793c99cd8bb15cddc779 (diff)
FIX: include files
-rw-r--r--hhkb/matrix.c1
-rw-r--r--key_process.c4
-rw-r--r--matrix_skel.h2
3 files changed, 4 insertions, 3 deletions
diff --git a/hhkb/matrix.c b/hhkb/matrix.c
index a425439cca..a640655602 100644
--- a/hhkb/matrix.c
+++ b/hhkb/matrix.c
@@ -3,7 +3,6 @@
*/
#include <avr/io.h>
#include <util/delay.h>
-#include "keymap.h"
#include "matrix.h"
#include "print.h"
diff --git a/key_process.c b/key_process.c
index 10cac032b1..5445a4a243 100644
--- a/key_process.c
+++ b/key_process.c
@@ -8,9 +8,9 @@
#include "usb_keyboard.h"
#include "usb_mouse.h"
#include "print.h"
-#include "matrix_skel.h"
-#include "keymap.h"
#include "jump_bootloader.h"
+#include "matrix_skel.h"
+#include "keymap_skel.h"
#include "key_process.h"
diff --git a/matrix_skel.h b/matrix_skel.h
index 0d483034db..3086bded74 100644
--- a/matrix_skel.h
+++ b/matrix_skel.h
@@ -17,6 +17,8 @@ bool matrix_is_modified(void);
bool matrix_has_ghost(void);
/* matrix state on row */
uint16_t matrix_get_row(int row);
+/* count keys pressed */
+int matrix_key_count(void);
/* print matrix for debug */
void matrix_print(void);