Skip to content

Commit

Permalink
Update splitkb_aurora_sofle.keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
r-2tanz4n1 authored Jul 29, 2024
1 parent 8d4c1af commit 8891dbb
Showing 1 changed file with 57 additions and 6 deletions.
63 changes: 57 additions & 6 deletions config/splitkb_aurora_sofle.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,64 @@
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/mouse.h>

/* Uncomment this block if using RGB
&led_strip {
chain-length = <6>;
// chain-length = <35>; // Uncomment if using both per-key and underglow LEDs
// chain-length = <29>; // Uncomment if using only per-key LEDs.


// configuração do auto-shift:

/ {
behaviors {
as_ht: autoshift_hold_tap {
compatible = "zmk,behavior-hold-tap";
label = "AUTOSHIFT_HOLD_TAP";
#binding-cells = <2>;
tapping-term-ms = <200>;
bindings = <&shifted>, <&kp>;
};
};

macros {
shifted: macro_shifted_kp {
#binding-cells = <1>;
label = "MACRO_SHIFTED_KP";
compatible = "zmk,behavior-macro-one-param";
bindings =
<&macro_press &kp LSHFT>,
<&macro_param_1to1 &macro_tap &kp MACRO_PLACEHOLDER>,
<&macro_release &kp LSHFT>;
};

as: autoshift {
compatible = "zmk,behavior-macro-one-param";
#binding-cells = <1>;
label = "AUTOSHIFT_KP";
bindings =
<&macro_press>,
<&macro_param_1to1>,
<&macro_param_1to2>,
<&as_ht MACRO_PLACEHOLDER MACRO_PLACEHOLDER>,
<&macro_pause_for_release>,
<&macro_release>,
<&macro_param_1to1>,
<&macro_param_1to2>,
<&as_ht MACRO_PLACEHOLDER MACRO_PLACEHOLDER>;
};
};

keymap {
compatible = "zmk,keymap";

default_layer {
bindings = <
&as Q &as W &as E &as R &as T &as Y &as U &as I &as O &as P
&as A &as S &as D &as F &as G &as H &as J &as K &as L &as SEMI
&as Z &as X &as C &as V &as B &as N &as M &as COMMA &as DOT &as FSLH
>;
};
};
};
*/

// fim da configuração do auto-shift


/ {
keymap {
Expand Down

0 comments on commit 8891dbb

Please sign in to comment.