Refactor wireless guard
This commit is contained in:
parent
675734657f
commit
4843012551
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
#include <behaviors.dtsi>
|
#include <behaviors.dtsi>
|
||||||
#include <behaviors/num_word.dtsi> // requires auto-layer module
|
#include <behaviors/num_word.dtsi> // requires auto-layer module
|
||||||
#include <dt-bindings/zmk/keys.h>
|
#include <dt-bindings/zmk/keys.h>
|
||||||
#if CONFIG_WIRELESS
|
#ifdef CONFIG_WIRELESS
|
||||||
#include <dt-bindings/zmk/bt.h>
|
#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
|
#define _BT_SEL_KEYS_ &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_CLR
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#define X_RH &smart_mouse // thumb row, right
|
#define X_RH &smart_mouse // thumb row, right
|
||||||
|
|
||||||
/* activate bluetooth */
|
/* activate bluetooth */
|
||||||
#define CONFIG_WIRELESS 1
|
#define CONFIG_WIRELESS
|
||||||
|
|
||||||
/* source the main keymap */
|
/* source the main keymap */
|
||||||
#include "base.keymap"
|
#include "base.keymap"
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#define X_RH &kp UP &kp DOWN &none &none &none
|
#define X_RH &kp UP &kp DOWN &none &none &none
|
||||||
|
|
||||||
/* activate bluetooth */
|
/* activate bluetooth */
|
||||||
#define CONFIG_WIRELESS 1
|
#define CONFIG_WIRELESS
|
||||||
|
|
||||||
/* source the main keymap */
|
/* source the main keymap */
|
||||||
#include "base.keymap"
|
#include "base.keymap"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue