Browse Source

FIX: include files

tmk 15 years ago
parent
commit
7a336b05ec
3 changed files with 4 additions and 3 deletions
  1. 0 1
      hhkb/matrix.c
  2. 2 2
      key_process.c
  3. 2 0
      matrix_skel.h

+ 0 - 1
hhkb/matrix.c

@@ -3,7 +3,6 @@
  */
 #include <avr/io.h>
 #include <util/delay.h>
-#include "keymap.h"
 #include "matrix.h"
 #include "print.h"
 

+ 2 - 2
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"
 

+ 2 - 0
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);