5 #ifndef BOOTMAGIC_IS_ENABLE
6 #define BOOTMAGIC_IS_ENABLE() true
10 #ifndef BOOTMAGIC_BOOTLOADER_KEY
11 #define BOOTMAGIC_BOOTLOADER_KEY KC_B
14 #ifndef BOOTMAGIC_DEBUG_ENABLE_KEY
15 #define BOOTMAGIC_DEBUG_ENABLE_KEY KC_D
18 #ifndef BOOTMAGIC_EEPROM_CLEAR_KEY
19 #define BOOTMAGIC_EEPROM_CLEAR_KEY KC_BSPACE
22 /* change default layer */
23 #ifndef BOOTMAGIC_DEFAULT_LAYER_0_KEY
24 #define BOOTMAGIC_DEFAULT_LAYER_0_KEY KC_0
26 #ifndef BOOTMAGIC_DEFAULT_LAYER_1_KEY
27 #define BOOTMAGIC_DEFAULT_LAYER_1_KEY KC_1
29 #ifndef BOOTMAGIC_DEFAULT_LAYER_2_KEY
30 #define BOOTMAGIC_DEFAULT_LAYER_2_KEY KC_2
32 #ifndef BOOTMAGIC_DEFAULT_LAYER_3_KEY
33 #define BOOTMAGIC_DEFAULT_LAYER_3_KEY KC_3
37 bool bootmagic_scan_keycode(uint8_t keycode);