Skip to content

Commit

Permalink
Merge commit '6f8157427060ec97d63a37b1b0bbb3d7425280ff' into corne
Browse files Browse the repository at this point in the history
  • Loading branch information
equiman committed Aug 3, 2024
2 parents 47f92c0 + 6f81574 commit 4fe925c
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 32 deletions.
56 changes: 28 additions & 28 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
#include <dt-bindings/zmk/bt.h>

/* Global */
#include "os/all/times.dtsi"
#include "os/all/general.dtsi"
#include "os/windows/layers.dtsi"
#include "os/shared/times.dtsi"
#include "os/shared/general.dtsi"
#include "os/macos/layers.dtsi"
#include "os/windows/layers.dtsi"
#include "os/android/layers.dtsi"

/* Keys */
#include "os/all/keys.dtsi"
#include "os/windows/keys.dtsi"
#include "os/shared/keys.dtsi"
#include "os/macos/keys.dtsi"
#include "os/windows/keys.dtsi"
#include "os/android/keys.dtsi"

/* Helpers */
Expand All @@ -28,17 +28,17 @@

/ {
macros {
#include "os/all/macros/layers.dtsi"
#include "os/all/macros/settings.dtsi"

#include "os/windows/macros/layers.dtsi"
#include "os/windows/macros/int.dtsi"
#include "os/windows/macros/dev.dtsi"
#include "os/shared/macros/layers.dtsi"
#include "os/shared/macros/settings.dtsi"

#include "os/macos/macros/layers.dtsi"
#include "os/macos/macros/int.dtsi"
#include "os/macos/macros/dev.dtsi"

#include "os/windows/macros/layers.dtsi"
#include "os/windows/macros/int.dtsi"
#include "os/windows/macros/dev.dtsi"

#include "os/android/macros/layers.dtsi"
#include "os/android/macros/int.dtsi"
#include "os/android/macros/dev.dtsi"
Expand All @@ -48,19 +48,9 @@

/ {
behaviors {
#include "os/all/morph/shared.dtsi"
#include "os/all/morph/num.dtsi"
#include "os/all/hold/shared.dtsi"

#include "os/windows/morph/layers.dtsi"
#include "os/windows/morph/base.dtsi"
#include "os/windows/morph/int.dtsi"
#include "os/windows/morph/actions.dtsi"
#include "os/windows/morph/dev.dtsi"
#include "os/windows/morph/settings.dtsi"
#include "os/windows/hold/layers.dtsi"
#include "os/windows/hold/base.dtsi"
#include "os/windows/hold/dev.dtsi"
#include "os/shared/morph/shared.dtsi"
#include "os/shared/morph/num.dtsi"
#include "os/shared/hold/shared.dtsi"

#include "os/macos/morph/layers.dtsi"
#include "os/macos/morph/base.dtsi"
Expand All @@ -73,6 +63,16 @@
#include "os/macos/hold/dev.dtsi"
#include "os/macos/hold/settings.dtsi"

#include "os/windows/morph/layers.dtsi"
#include "os/windows/morph/base.dtsi"
#include "os/windows/morph/int.dtsi"
#include "os/windows/morph/actions.dtsi"
#include "os/windows/morph/dev.dtsi"
#include "os/windows/morph/settings.dtsi"
#include "os/windows/hold/layers.dtsi"
#include "os/windows/hold/base.dtsi"
#include "os/windows/hold/dev.dtsi"

#include "os/android/morph/layers.dtsi"
#include "os/android/morph/base.dtsi"
#include "os/android/morph/int.dtsi"
Expand All @@ -86,12 +86,12 @@
combos {
compatible = "zmk,combos";

#include "os/windows/combos/base.dtsi"
#include "os/windows/combos/help.dtsi"

#include "os/macos/combos/base.dtsi"
#include "os/macos/combos/help.dtsi"

#include "os/windows/combos/base.dtsi"
#include "os/windows/combos/help.dtsi"

#include "os/android/combos/base.dtsi"
};
};
Expand All @@ -100,8 +100,8 @@
keymap {
compatible = "zmk,keymap";

#include "os/windows/keymap.dtsi"
#include "os/macos/keymap.dtsi"
#include "os/windows/keymap.dtsi"
#include "os/android/keymap.dtsi"
};
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,28 @@ m_s_b1: macro_stg_bluetooth_1 {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings =
<&bt BT_SEL 0 &to_wBAS>;
<&bt BT_SEL 0 &to_mBAS>;
};

m_s_b2: macro_stg_bluetooth_2 {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings =
<&bt BT_SEL 1 &to_wBAS>;
<&bt BT_SEL 1 &to_mBAS>;
};

m_s_b3: macro_stg_bluetooth_3 {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings =
<&bt BT_SEL 2 &to_mBAS>;
<&bt BT_SEL 2 &to_sBAS>;
};

m_s_b4: macro_stg_bluetooth_4 {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings =
<&bt BT_SEL 3 &to_mBAS>;
<&bt BT_SEL 3 &to_sBAS>;
};

m_s_b5: macro_stg_bluetooth_5 {
Expand All @@ -39,3 +39,15 @@ m_s_b6: macro_stg_bluetooth_6 {
bindings =
<&bt BT_SEL 5 &to_aBAS>;
};

// mp_sSTG_bluetooth
MORPH_KAS(
s,
STG,
bluetooth,
rectangle,
MOD_LALT,
&none, // tap: none
&bt BT_CLR, // alt: clear selected profile
&bt BT_CLR_ALL // shift: clear all profiles
)
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4fe925c

Please sign in to comment.