M hhkb/matrix.c => hhkb/matrix.c +0 -1
@@ 3,7 3,6 @@
*/
#include <avr/io.h>
#include <util/delay.h>
-#include "keymap.h"
#include "matrix.h"
#include "print.h"
M key_process.c => key_process.c +2 -2
@@ 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"
M matrix_skel.h => matrix_skel.h +2 -0
@@ 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);