X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=keyboards%2Fhhkb%2Fmatrix.c;h=666b6f595f1702b8824706e4297a92b41d59a54d;hb=685d4c2f9754e22de3b68379cfc959197495c0aa;hp=2dfb2f5e1f45ee7eb52b5444c8c1ad7997238f8a;hpb=b0caf32741cf415a45333828f1661d9f6b72570f;p=qmk_firmware.git diff --git a/keyboards/hhkb/matrix.c b/keyboards/hhkb/matrix.c index 2dfb2f5e1..666b6f595 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; }