summaryrefslogtreecommitdiff
path: root/keyboards/hhkb/matrix.c
diff options
context:
space:
mode:
authorChristopher Browne <cbbrowne@ca.afilias.info>2016-06-30 12:38:48 -0400
committerChristopher Browne <cbbrowne@ca.afilias.info>2016-06-30 12:38:48 -0400
commit44a5f7630f18b40b36270d49449a43cd42b802f0 (patch)
tree9d29ee26496a458bf161eeb59dab5e12d85cb3aa /keyboards/hhkb/matrix.c
parentc9f509f0168f6d11e743a9d2e37964c05e45672b (diff)
parenta8b55f8c858933a0f7641f7bf2dede640235aa70 (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboards/hhkb/matrix.c')
-rw-r--r--keyboards/hhkb/matrix.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/hhkb/matrix.c b/keyboards/hhkb/matrix.c
index 2dfb2f5e1f..666b6f595f 100644
--- a/keyboards/hhkb/matrix.c
+++ b/keyboards/hhkb/matrix.c
@@ -71,6 +71,14 @@ void matrix_init(void)
matrix_prev = _matrix1;
}
+__attribute__ ((weak))
+void matrix_scan_user(void) {
+}
+
+void matrix_scan_kb(void) {
+ matrix_scan_user();
+}
+
uint8_t matrix_scan(void)
{
uint8_t *tmp;
@@ -150,6 +158,9 @@ uint8_t matrix_scan(void)
KEY_POWER_OFF();
suspend_power_down();
}
+
+ matrix_scan_quantum();
+
return 1;
}