* use QMK_KEYBOARD_H
* init_kb and scan_kb need to be in matrix.c to make use of the matrix.h include
* Make the routines weak as suggested by Drashna
*/
#include "al1.h"
+__attribute__ ((weak))
void matrix_init_kb(void) {
matrix_init_user();
}
+__attribute__ ((weak))
void matrix_scan_kb(void) {
matrix_scan_user();
}
else
PORTD |= (1<<1);
led_set_user(usb_led);
-}
\ No newline at end of file
+}
-#include "al1.h"
+#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_split_bs(\
void led_set_user(uint8_t usb_led) {
-}
\ No newline at end of file
+}
return MATRIX_COLS;
}
-
void matrix_init(void) {
// initialize row and col
unselect_cols();
/* Row pin configuration
*
- * row: 0 1 2 3 4 5
+ * row: 0 1 2 3 4 5
* pin: C7 B1 B2 C6 B4 B5
*
*/
else {
PORTD &= ~(1<<PD7);
}
-}
\ No newline at end of file
+}