Skip to content

Commit

Permalink
Add zmk-rgbled-widget behaviors
Browse files Browse the repository at this point in the history
  • Loading branch information
englmaxi authored and github-actions[bot] committed Sep 1, 2024
1 parent 449d5a5 commit d417d3b
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 17 deletions.
6 changes: 4 additions & 2 deletions config/keymap/keymap.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
*/

#include <behaviors.dtsi>
#include <dt-bindings/zmk/mouse.h>
#include <behaviors/rgbled_widget.dtsi>

#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/mouse.h>
#include <dt-bindings/zmk/outputs.h>

#ifndef KEYMAP_DRAWER
Expand Down Expand Up @@ -99,7 +101,7 @@
display-name = "FUN";
bindings = <LAYER_FROM34( \
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬────────────────┬─────────────╮
&none, &kp F7, &kp F8, &kp F9, &kp F12, &bt BT_CLR, &out OUT_TOG, &none, &none, &none, \
&none, &kp F7, &kp F8, &kp F9, &kp F12, &bt BT_CLR, &out OUT_TOG, &ind_con, &ind_bat, &none, \
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼────────────────┼─────────────┤
&bootloader, &kp F4, &kp F5, &kp F6, &kp F10, &out OUT_USB, &bts_0, &bts_1, &bts_2, &bootloader, \
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼────────────────┼─────────────┤
Expand Down
15 changes: 12 additions & 3 deletions keymap-drawer/akohekohe.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions keymap-drawer/akohekohe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ layers:
- F12
- {t: '$$mdi:bluetooth$$', s: '$$mdi:close-thick$$', type: text_with_symbol}
- {t: '$$mdi:toggle-switch$$', h: '$$mdi:bluetooth$$', s: '$$mdi:usb$$', type: toggle}
- ''
- ''
- {t: '$$mdi:bluetooth$$', s: '$$mdi:help-circle-outline$$', type: text_with_symbol}
- $$mdi:battery-heart-outline$$
- $$mdi:progress-download$$
- F4
- F5
Expand Down
7 changes: 7 additions & 0 deletions keymap-drawer/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,13 @@ parse_config:
tap: $$mdi:billiards$$
shifted: $$mdi:speedometer$$
type: text_with_symbol

'&ind_con':
tap: $$mdi:bluetooth$$
shifted: $$mdi:help-circle-outline$$
type: text_with_symbol

'&ind_bat': $$mdi:battery-heart-outline$$

zmk_combos:
combo_bl:
Expand Down
15 changes: 12 additions & 3 deletions keymap-drawer/rommana.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions keymap-drawer/rommana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ layers:
- F12
- {t: '$$mdi:bluetooth$$', s: '$$mdi:close-thick$$', type: text_with_symbol}
- {t: '$$mdi:toggle-switch$$', h: '$$mdi:bluetooth$$', s: '$$mdi:usb$$', type: toggle}
- ''
- ''
- {t: '$$mdi:bluetooth$$', s: '$$mdi:help-circle-outline$$', type: text_with_symbol}
- $$mdi:battery-heart-outline$$
- ''
- $$mdi:progress-download$$
- F4
Expand Down
15 changes: 12 additions & 3 deletions keymap-drawer/sweep.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions keymap-drawer/sweep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ layers:
- F12
- {t: '$$mdi:bluetooth$$', s: '$$mdi:close-thick$$', type: text_with_symbol}
- {t: '$$mdi:toggle-switch$$', h: '$$mdi:bluetooth$$', s: '$$mdi:usb$$', type: toggle}
- ''
- ''
- {t: '$$mdi:bluetooth$$', s: '$$mdi:help-circle-outline$$', type: text_with_symbol}
- $$mdi:battery-heart-outline$$
- ''
- $$mdi:progress-download$$
- F4
Expand Down

0 comments on commit d417d3b

Please sign in to comment.