You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
883 B

  1. #include "d4mation.h"
  2. __attribute__ ((weak))
  3. bool process_record_keymap( uint16_t keycode, keyrecord_t *record ) {
  4. /* If you want macros specific to your keymap, you need to define this function in your keymap */
  5. return true;
  6. }
  7. __attribute__ ((weak))
  8. void matrix_init_keymap() {
  9. /* If you want a matrix init specific to your keymap, you need to define this function in your keymap */
  10. }
  11. __attribute__ ((weak))
  12. void matrix_scan_keymap() {
  13. /* If you want a matrix scan specific to your keymap, you need to define this function in your keymap */
  14. }
  15. __attribute__((weak))
  16. void eeconfig_init_keymap( void ) {}
  17. /* process_record_user() is called in macros.c */
  18. void matrix_init_user( void ) {
  19. matrix_init_keymap();
  20. }
  21. void matrix_scan_user( void ) {
  22. matrix_scan_keymap();
  23. }
  24. void eeconfig_init_user( void ) {
  25. eeconfig_init_keymap();
  26. keyboard_init();
  27. }