Skip to content

Commit 089b46e

Browse files
committed
Add visorbearer config
1 parent a3d1c87 commit 089b46e

6 files changed

Lines changed: 25 additions & 0 deletions

File tree

build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ include:
2727
shield: grumpybird rgbled_adapter
2828
- board: seeeduino_xiao_ble
2929
shield: hummingbird rgbled_adapter
30+
- board: seeeduino_xiao_ble
31+
shield: visorbearer

config/includes/combos.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +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)
5960
};
6061
};

config/visorbearer.conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Require passkey on pairing
2+
CONFIG_ZMK_BLE_PASSKEY_ENTRY=y
3+
4+
# Enable experimental BLE settings
5+
#CONFIG_ZMK_BLE_EXPERIMENTAL_CONN=y
6+
7+
# Enable soft-off key, wake via reset
8+
CONFIG_ZMK_PM_SOFT_OFF=y

config/visorbearer.keymap

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#include "keypos_def/keypos_26keys.h"
2+
3+
/ {
4+
chosen {
5+
zmk,physical-layout = &visorbearer_13332_2u_layout;
6+
};
7+
};
8+
9+
#include "includes/3x5.dtsi"
10+
#include <behaviors/led_bars.dtsi>

config/west.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@ manifest:
1515
- name: zmk-smart-toggle
1616
remote: caksoylar
1717
revision: main
18+
- name: visorbearer-zmk-module
19+
url: https://github.com/carrefinho/visorbearer-zmk-module
20+
revision: main
1821
self:
1922
path: config

keymap-drawer/config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ parse_config:
33
raw_binding_map:
44
'&sys_reset': Reset
55
'&bootloader': Boot
6+
'&soft_off': Soft Off
67
'&swapper': Win Next
78
'&caps_word': Caps Word
89
'&inv_qm': ¿

0 commit comments

Comments
 (0)