summaryrefslogtreecommitdiffstats
path: root/keyboard/jd45/jd45.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/jd45/jd45.c')
-rw-r--r--keyboard/jd45/jd45.c27
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)();
+ }
+};