summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/keyboard.c
diff options
context:
space:
mode:
authortmk <hasu@tmk-kbd.com>2015-05-17 19:34:34 +0900
committertmk <hasu@tmk-kbd.com>2015-05-19 00:39:43 +0900
commit6b588eb7f7893500e18686e673dbf12b511dc975 (patch)
tree62d7a75008d3407f318ae650c7a45643944eee31 /tmk_core/common/keyboard.c
parent9a2282157fbdf57ef0a50d4fea7da72505906588 (diff)
Add keyboard_setup() and matrix_setup()
Diffstat (limited to 'tmk_core/common/keyboard.c')
-rw-r--r--tmk_core/common/keyboard.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c
index b03b124d76..eb7b096bed 100644
--- a/tmk_core/common/keyboard.c
+++ b/tmk_core/common/keyboard.c
@@ -62,6 +62,12 @@ static bool has_ghost_in_row(uint8_t row)
#endif
+__attribute__ ((weak)) void matrix_setup(void) {}
+void keyboard_setup(void)
+{
+ matrix_setup();
+}
+
void keyboard_init(void)
{
timer_init();