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
63 #ifndef BOOTMAGIC_HOST_NKRO
64 #define BOOTMAGIC_HOST_NKRO KC_N
69 * change default layer
71 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_0
72 #define BOOTMAGIC_KEY_DEFAULT_LAYER_0 KC_0
74 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_1
75 #define BOOTMAGIC_KEY_DEFAULT_LAYER_1 KC_1
77 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_2
78 #define BOOTMAGIC_KEY_DEFAULT_LAYER_2 KC_2
80 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_3
81 #define BOOTMAGIC_KEY_DEFAULT_LAYER_3 KC_3
83 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_4
84 #define BOOTMAGIC_KEY_DEFAULT_LAYER_4 KC_4
86 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_5
87 #define BOOTMAGIC_KEY_DEFAULT_LAYER_5 KC_5
89 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_6
90 #define BOOTMAGIC_KEY_DEFAULT_LAYER_6 KC_6
92 #ifndef BOOTMAGIC_KEY_DEFAULT_LAYER_7
93 #define BOOTMAGIC_KEY_DEFAULT_LAYER_7 KC_7
98 bool bootmagic_scan_key(uint16_t action);