diff options
Diffstat (limited to 'keyboards/hhkb/matrix.c')
| -rw-r--r-- | keyboards/hhkb/matrix.c | 11 |
1 files changed, 11 insertions, 0 deletions
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) | |||
| 71 | matrix_prev = _matrix1; | 71 | matrix_prev = _matrix1; |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | __attribute__ ((weak)) | ||
| 75 | void matrix_scan_user(void) { | ||
| 76 | } | ||
| 77 | |||
| 78 | void matrix_scan_kb(void) { | ||
| 79 | matrix_scan_user(); | ||
| 80 | } | ||
| 81 | |||
| 74 | uint8_t matrix_scan(void) | 82 | uint8_t matrix_scan(void) |
| 75 | { | 83 | { |
| 76 | uint8_t *tmp; | 84 | uint8_t *tmp; |
| @@ -150,6 +158,9 @@ uint8_t matrix_scan(void) | |||
| 150 | KEY_POWER_OFF(); | 158 | KEY_POWER_OFF(); |
| 151 | suspend_power_down(); | 159 | suspend_power_down(); |
| 152 | } | 160 | } |
| 161 | |||
| 162 | matrix_scan_quantum(); | ||
| 163 | |||
| 153 | return 1; | 164 | return 1; |
| 154 | } | 165 | } |
| 155 | 166 | ||
