Refactor wireless guard

This commit is contained in:
urob 2024-09-13 14:33:48 -04:00
parent 675734657f
commit 4843012551
3 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
#include <behaviors.dtsi>
#include <behaviors/num_word.dtsi> // requires auto-layer module
#include <dt-bindings/zmk/keys.h>
#if CONFIG_WIRELESS
#ifdef CONFIG_WIRELESS
#include <dt-bindings/zmk/bt.h>
#define _BT_SEL_KEYS_ &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_CLR
#else

View file

@ -6,7 +6,7 @@
#define X_RH &smart_mouse // thumb row, right
/* activate bluetooth */
#define CONFIG_WIRELESS 1
#define CONFIG_WIRELESS
/* source the main keymap */
#include "base.keymap"

View file

@ -20,7 +20,7 @@
#define X_RH &kp UP &kp DOWN &none &none &none
/* activate bluetooth */
#define CONFIG_WIRELESS 1
#define CONFIG_WIRELESS
/* source the main keymap */
#include "base.keymap"