~ruther/qmk_firmware

ref: f41bc8ce20da5efb29a80bfaa708f8be06f7f2c9 qmk_firmware/users/d4mation/d4mation.c -rw-r--r-- 891 bytes
f41bc8ce — Nick Brassel bootmagic mods covering the case when swapped mods are pressed at the same time (#21320) (#21472) 1 year, 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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(void) {
    /* 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(void) {
    /* 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();

}
Do not follow this link