diff options
author | Jack Humbert <jack.humb@gmail.com> | 2015-11-09 14:24:56 -0500 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2015-11-09 14:24:56 -0500 |
commit | 3d1117db504975d288cb6b777970e3f0b1057a21 (patch) | |
tree | 3af58f5e8c5f344e4d8bc29b83b1950a014ac038 /keyboard/jd45/jd45.c | |
parent | 8e9153ce1295c7e4863a8f98db63bd4692c440f1 (diff) | |
parent | d2d75b9759f473e28533c88bbe88b8dd7c9c1433 (diff) |
Merge branch 'master' of https://github.com/jackhumbert/tmk_keyboard
Diffstat (limited to 'keyboard/jd45/jd45.c')
-rw-r--r-- | keyboard/jd45/jd45.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboard/jd45/jd45.c b/keyboard/jd45/jd45.c new file mode 100644 index 0000000000..d05714f07b --- /dev/null +++ b/keyboard/jd45/jd45.c @@ -0,0 +1,27 @@ +#include "jd45.h" + +__attribute__ ((weak)) +void * matrix_init_user(void) { + +}; + +__attribute__ ((weak)) +void * matrix_scan_user(void) { + +}; + +void * matrix_init_kb(void) { + #ifdef BACKLIGHT_ENABLE + backlight_init_ports(); + #endif + + if (matrix_init_user) { + (*matrix_init_user)(); + } +}; + +void * matrix_scan_kb(void) { + if (matrix_scan_user) { + (*matrix_scan_user)(); + } +}; |