mirror of https://github.com/zmkfirmware/zmk.git
style: address comments from previous PR
This commit is contained in:
parent
f97e49f99f
commit
f88c8bb9e7
|
|
@ -691,10 +691,10 @@ config ZMK_KEYMAP_SENSORS_DEFAULT_TRIGGERS_PER_ROTATION
|
|||
|
||||
endif # ZMK_KEYMAP_SENSORS
|
||||
|
||||
DT_COMPAT_ZMK_BOOT_MAGIC_KEY := zmk,boot-magic-key
|
||||
config ZMK_BOOT_MAGIC_KEY
|
||||
bool "Enable actions when keys are held at boot"
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_ZMK_BOOT_MAGIC_KEY))
|
||||
default y
|
||||
depends on DT_HAS_ZMK_BOOT_MAGIC_KEY_ENABLED
|
||||
|
||||
config ZMK_BOOT_MAGIC_KEY_TIMEOUT_MS
|
||||
int "Milliseconds to wait for a boot magic key at startup"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ description: |
|
|||
Triggers one or more actions if a specific key is held while the keyboard boots.
|
||||
This is typically used for recovering a keyboard in cases such as &bootloader
|
||||
being missing from the keymap or a split peripheral which isn't connected to
|
||||
the central, and therefore can't process th ekeymap.
|
||||
the central, and therefore can't process the keymap.
|
||||
|
||||
compatible: "zmk,boot-magic-key"
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
|
|||
|
||||
#if IS_ENABLED(CONFIG_ZMK_BLE_PASSKEY_ENTRY)
|
||||
#include <zmk/events/keycode_state_changed.h>
|
||||
#include "ble.h"
|
||||
|
||||
#define PASSKEY_DIGITS 6
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
|
||||
|
||||
struct boot_key_config {
|
||||
int key_position;
|
||||
uint16_t key_position;
|
||||
bool jump_to_bootloader;
|
||||
bool reset_settings;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue