Skip to content

Commit

Permalink
Use new zmk-rgbled-widget behaviors
Browse files Browse the repository at this point in the history
  • Loading branch information
caksoylar committed Aug 28, 2024
1 parent 8f09b65 commit 4be76b8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/includes/3x5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
# include <dt-bindings/zmk/ext_power.h>
#endif

#include <behaviors/rgbled_widget.dtsi>

// Layer aliases
#define DEF 0
#define BRD 1
Expand Down
3 changes: 3 additions & 0 deletions config/includes/combos.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ COMBO(slsh, &kp SLASH, RB2 RB3, DEF BRD SYM, 80, 50)
COMBO(f12, &kp F12, LB3 LB2, FUN, 100, 200)
COMBO(btclr, &bt BT_CLR, RB2 RB3, FUN, 100, 200)

COMBO(indbat, &ind_bat, LT2 RT2, FUN, 100, 200)
COMBO(indcon, &ind_con, LT1 RT1, FUN, 100, 200)

#if defined(MOUSE_KEYS) && defined(LH1)
COMBO(mse_l, &mo MSE, LH1 LH0, DEF BRD, 150, 0, slow-release;)
#endif
Expand Down
4 changes: 4 additions & 0 deletions keymap-drawer/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ parse_config:
'&swapper': Win Next
'&caps_word': Caps Word
'&inv_qm': ¿
'&ind_bat': Show Batt
'&ind_con': Show Conn

'&kp LC(LG(LEFT))': Desk Left
'&kp LC(LG(RIGHT))': Desk Right
Expand Down Expand Up @@ -62,6 +64,8 @@ parse_config:
combo_lock: {draw_separate: true}
combo_bslh: {draw_separate: true}
combo_slsh: {draw_separate: true}
combo_indbat: {align: top, o: 0.25}
combo_indcon: {align: top}

zmk_keycode_map:
# custom mappings
Expand Down

0 comments on commit 4be76b8

Please sign in to comment.