1
0
Fork 0

Update KEYMAP macro to be consistent with the rest of QMK

This commit is contained in:
Priyadi Iman Nurcahyo 2016-12-14 22:33:56 +07:00
parent bd5f323bec
commit dc49231391
4 changed files with 58 additions and 105 deletions

View file

@ -52,6 +52,10 @@ static uint8_t matrix[MATRIX_ROWS];
#define COL(code) (code&0x07)
__attribute__ ((weak))
void matrix_init_user(void) {
}
void matrix_init(void)
{
debug_enable = true;
@ -64,6 +68,7 @@ void matrix_init(void)
// initialize matrix state: all keys off
for (uint8_t i=0; i < MATRIX_ROWS; i++) matrix[i] = 0x00;
matrix_init_user();
return;
}