added ergodox

This commit is contained in:
Jack Humbert 2015-10-26 16:32:37 -04:00
parent 46e7fb2d3c
commit 35a81f5b8b
17 changed files with 1627 additions and 128 deletions

View file

@ -1,14 +1,16 @@
#include "planck.h"
__attribute__ ((weak))
void * matrix_init_user(void) {
};
__attribute__ ((weak))
void * matrix_scan_user(void) {
};
void *matrix_init_kb(void) {
void * matrix_init_kb(void) {
#ifdef BACKLIGHT_ENABLE
backlight_init_ports();
#endif
@ -22,7 +24,7 @@ void *matrix_init_kb(void) {
}
};
void *matrix_scan_kb(void) {
void * matrix_scan_kb(void) {
if (matrix_scan_user) {
(*matrix_scan_user)();
}