5 /* bootmagic salt key */
6 #ifndef BOOTMAGIC_KEY_SALT
7 #define BOOTMAGIC_KEY_SALT KC_SPACE
10 /* skip bootmagic and eeconfig */
11 #ifndef BOOTMAGIC_KEY_SKIP
12 #define BOOTMAGIC_KEY_SKIP KC_ESC
16 #ifndef BOOTMAGIC_KEY_EEPROM_CLEAR
17 #define BOOTMAGIC_KEY_EEPROM_CLEAR KC_BSPACE
20 /* kick up bootloader */
21 #ifndef BOOTMAGIC_KEY_BOOTLOADER
22 #define BOOTMAGIC_KEY_BOOTLOADER KC_B
26 #ifndef BOOTMAGIC_KEY_DEBUG_ENABLE
27 #define BOOTMAGIC_KEY_DEBUG_ENABLE KC_D
29 #ifndef BOOTMAGIC_KEY_DEBUG_MATRIX
30 #define BOOTMAGIC_KEY_DEBUG_MATRIX KC_X
32 #ifndef BOOTMAGIC_KEY_DEBUG_KEYBOARD
33 #define BOOTMAGIC_KEY_DEBUG_KEYBOARD KC_K
35 #ifndef BOOTMAGIC_KEY_DEBUG_MOUSE
36 #define BOOTMAGIC_KEY_DEBUG_MOUSE KC_M
42 #ifndef BOOTMAGIC_KEY_SWAP_CONTROL_CAPSLOCK
43 #define BOOTMAGIC_KEY_SWAP_CONTROL_CAPSLOCK KC_LCTRL
45 #ifndef BOOTMAGIC_KEY_CAPSLOCK_TO_CONTROL
46 #define BOOTMAGIC_KEY_CAPSLOCK_TO_CONTROL KC_CAPSLOCK
48 #ifndef BOOTMAGIC_KEY_SWAP_LALT_LGUI
49 #define BOOTMAGIC_KEY_SWAP_LALT_LGUI KC_LALT
51 #ifndef BOOTMAGIC_KEY_SWAP_RALT_RGUI
52 #define BOOTMAGIC_KEY_SWAP_RALT_RGUI KC_RALT
54 #ifndef BOOTMAGIC_KEY_NO_GUI
55 #define BOOTMAGIC_KEY_NO_GUI KC_LGUI
57 #ifndef BOOTMAGIC_KEY_SWAP_GRAVE_ESC
58 #define BOOTMAGIC_KEY_SWAP_GRAVE_ESC KC_GRAVE
60 #ifndef BOOTMAGIC_KEY_SWAP_BACKSLASH_BACKSPACE
61 #define BOOTMAGIC_KEY_SWAP_BACKSLASH_BACKSPACE KC_BSLASH
66 * change default layer
68 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_0
69 #define BOOTMAGIC_KEY_DEFAULT_LAYER_0 KC_0
71 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_1
72 #define BOOTMAGIC_KEY_DEFAULT_LAYER_1 KC_1
74 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_2
75 #define BOOTMAGIC_KEY_DEFAULT_LAYER_2 KC_2
77 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_3
78 #define BOOTMAGIC_KEY_DEFAULT_LAYER_3 KC_3
80 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_4
81 #define BOOTMAGIC_KEY_DEFAULT_LAYER_4 KC_4
83 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_5
84 #define BOOTMAGIC_KEY_DEFAULT_LAYER_5 KC_5
86 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_6
87 #define BOOTMAGIC_KEY_DEFAULT_LAYER_6 KC_6
89 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_7
90 #define BOOTMAGIC_KEY_DEFAULT_LAYER_7 KC_7
95 bool bootmagic_scan_keycode(uint8_t keycode);