Skip to content

Commit 0273ddc

Browse files
committed
Zephyr 4.1 changes
1 parent fb694b7 commit 0273ddc

File tree

6 files changed

+25
-10
lines changed

6 files changed

+25
-10
lines changed

build.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ include:
1919
shield: hypergolic_right
2020
- board: corneish_zen_v1_right
2121
- board: corneish_zen_v2_left
22-
- board: seeeduino_xiao_ble
22+
- board: xiao_ble
2323
shield: rommana_left rgbled_adapter
24-
- board: seeeduino_xiao_ble
24+
- board: xiao_ble
2525
shield: rommana_right rgbled_adapter
26-
- board: seeeduino_xiao_ble
26+
- board: xiao_ble
2727
shield: grumpybird rgbled_adapter
28-
- board: seeeduino_xiao_ble
28+
- board: xiao_ble
2929
shield: hummingbird rgbled_adapter
30-
- board: seeeduino_xiao_ble
30+
- board: xiao_ble
3131
shield: visorbearer
32-
- board: seeeduino_xiao_ble
32+
- board: xiao_ble
3333
shield: adept

config/includes/combos.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ COMBO(calc, &kp C_AL_CALC, RT0 RM0, NAV, 200, 200)
5656
COMBO(btclr, &bt BT_CLR, RB2 RB3, FUN, 100, 200)
5757

5858
COMBO(bootld, &bootloader, LT0 RT0, FUN, 100, 500)
59-
COMBO(sftoff, &soft_off, LM0 RM0, FUN, 100, 500)
59+
6060
};
6161
};

config/visorbearer.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ CONFIG_ZMK_BLE_PASSKEY_ENTRY=y
66

77
# Enable soft-off key, wake via reset
88
CONFIG_ZMK_PM_SOFT_OFF=y
9+
10+
# Keymap modifier order
11+
CONFIG_VISORBEARER_LED_MODIFIER_ORDER="CGAS"

config/visorbearer.keymap

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,17 @@
66
};
77
};
88

9+
#include <behaviors.dtsi>
10+
#include <dt-bindings/zmk/bt.h>
11+
#include <behaviors/visorbearer_led.dtsi>
12+
13+
ind_bat: &vb_ind_bat {};
14+
ind_con: &vb_ind_con {};
15+
916
#include "includes/3x5.dtsi"
10-
#include <behaviors/led_bars.dtsi>
17+
18+
/ {
19+
combos {
20+
combo_sftoff { timeout-ms = <100>; bindings = <&vb_soft_off>; key-positions = <12 13>; layers = <FUN>; require-prior-idle-ms = <500>; };
21+
};
22+
};

config/west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ manifest:
1717
revision: main
1818
- name: visorbearer-zmk-module
1919
url: https://github.com/carrefinho/visorbearer-zmk-module
20-
revision: main
20+
revision: zmk-zephyr-4-1
2121
- name: zmk-keyboards-adept
2222
remote: caksoylar
2323
revision: main

keymap-drawer/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ parse_config:
33
raw_binding_map:
44
'&sys_reset': Reset
55
'&bootloader': Boot
6-
'&soft_off': Soft Off
6+
'&vb_soft_off': Soft Off
77
'&swapper': Win Next
88
'&caps_word': Caps Word
99
'&inv_qm': ¿

0 commit comments

Comments
 (0)