diff options
Diffstat (limited to 'users/d4mation/d4mation.c')
| -rw-r--r-- | users/d4mation/d4mation.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/users/d4mation/d4mation.c b/users/d4mation/d4mation.c new file mode 100644 index 000000000..5aa58a9f0 --- /dev/null +++ b/users/d4mation/d4mation.c | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | #include "d4mation.h" | ||
| 2 | |||
| 3 | __attribute__ ((weak)) | ||
| 4 | bool process_record_keymap( uint16_t keycode, keyrecord_t *record ) { | ||
| 5 | /* If you want macros specific to your keymap, you need to define this function in your keymap */ | ||
| 6 | return true; | ||
| 7 | } | ||
| 8 | |||
| 9 | __attribute__ ((weak)) | ||
| 10 | void matrix_init_keymap() { | ||
| 11 | /* If you want a matrix init specific to your keymap, you need to define this function in your keymap */ | ||
| 12 | } | ||
| 13 | |||
| 14 | __attribute__ ((weak)) | ||
| 15 | void matrix_scan_keymap() { | ||
| 16 | /* If you want a matrix scan specific to your keymap, you need to define this function in your keymap */ | ||
| 17 | } | ||
| 18 | |||
| 19 | __attribute__((weak)) | ||
| 20 | void eeconfig_init_keymap( void ) {} | ||
| 21 | |||
| 22 | /* process_record_user() is called in macros.c */ | ||
| 23 | |||
| 24 | void matrix_init_user( void ) { | ||
| 25 | matrix_init_keymap(); | ||
| 26 | } | ||
| 27 | |||
| 28 | void matrix_scan_user( void ) { | ||
| 29 | matrix_scan_keymap(); | ||
| 30 | } | ||
| 31 | |||
| 32 | void eeconfig_init_user( void ) { | ||
| 33 | |||
| 34 | eeconfig_init_keymap(); | ||
| 35 | keyboard_init(); | ||
| 36 | |||
| 37 | } \ No newline at end of file | ||
