summaryrefslogtreecommitdiff
path: root/users/d4mation/d4mation.c
diff options
context:
space:
mode:
Diffstat (limited to 'users/d4mation/d4mation.c')
-rw-r--r--users/d4mation/d4mation.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/users/d4mation/d4mation.c b/users/d4mation/d4mation.c
new file mode 100644
index 0000000000..5aa58a9f0d
--- /dev/null
+++ b/users/d4mation/d4mation.c
@@ -0,0 +1,37 @@
+#include "d4mation.h"
+
+__attribute__ ((weak))
+bool process_record_keymap( uint16_t keycode, keyrecord_t *record ) {
+ /* If you want macros specific to your keymap, you need to define this function in your keymap */
+ return true;
+}
+
+__attribute__ ((weak))
+void matrix_init_keymap() {
+ /* If you want a matrix init specific to your keymap, you need to define this function in your keymap */
+}
+
+__attribute__ ((weak))
+void matrix_scan_keymap() {
+ /* If you want a matrix scan specific to your keymap, you need to define this function in your keymap */
+}
+
+__attribute__((weak))
+void eeconfig_init_keymap( void ) {}
+
+/* process_record_user() is called in macros.c */
+
+void matrix_init_user( void ) {
+ matrix_init_keymap();
+}
+
+void matrix_scan_user( void ) {
+ matrix_scan_keymap();
+}
+
+void eeconfig_init_user( void ) {
+
+ eeconfig_init_keymap();
+ keyboard_init();
+
+} \ No newline at end of file