Skip to content

Commit

Permalink
Merge successful remap to arrows layout
Browse files Browse the repository at this point in the history
  • Loading branch information
MatchstickWorks committed Jan 3, 2025
1 parent f02b4fd commit f56a619
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 14 deletions.
1 change: 0 additions & 1 deletion boards/shields/stratapad/stratapad.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
tapping-term-ms = <300>;
bindings = <&kp W>, <&bt BT_CLR>;
};

};

keymap {
Expand Down
44 changes: 31 additions & 13 deletions config/stratapad_arrows.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <dt-bindings/zmk/bt.h>

#define DEFAULT 0
#define BT_SET 1
#define USE 1

#define NONE 0

Expand All @@ -12,8 +12,26 @@
td0: tap_dance_0 {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
tapping-term-ms = <500>;
bindings = <&kp LCTRL>, <&kp LCTRL>, <&mo BT_SET>;
tapping-term-ms = <300>;
bindings = <&kp LEFT>, <&bt BT_SEL 0>;
};
td1: tap_dance_1 {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
tapping-term-ms = <300>;
bindings = <&kp DOWN>, <&bt BT_SEL 1>;
};
td2: tap_dance_2 {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
tapping-term-ms = <300>;
bindings = <&kp RIGHT>, <&bt BT_SEL 2>;
};
td3: tap_dance_3 {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
tapping-term-ms = <300>;
bindings = <&kp UP>, <&bt BT_CLR>;
};
};

Expand All @@ -22,20 +40,20 @@

default_layer {
bindings = <
&kp UP
&kp LEFT
&kp DOWN
&kp RIGHT
&td3
&td0
&td1
&td2
&to 1
>;
};
bt_cmds_layer {
bt_cmds_layer {
bindings = <
&bt BT_CLR
&bt BT_SEL 0
&bt BT_SEL 1
&bt BT_SEL 2
&none
&kp UP
&kp LEFT
&kp DOWN
&kp RIGHT
&kp LCTRL
>;
};
};
Expand Down

0 comments on commit f56a619

Please sign in to comment.