Skip to content

Commit 1e18cf4

Browse files
committed
Enable alternative refresh on Zen
feat: Home Row Mods, cleanup, improvements
1 parent 8d2030e commit 1e18cf4

24 files changed

+535
-1851
lines changed

.github/workflows/deploy.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
- name: Setup Pages
28-
uses: actions/configure-pages@v3
28+
uses: actions/configure-pages@v5
2929
- name: Upload artifact
30-
uses: actions/upload-pages-artifact@v2
30+
uses: actions/upload-pages-artifact@v3
3131
with:
3232
path: "img/"
3333
- name: Deploy to GitHub Pages
3434
id: deployment
35-
uses: actions/deploy-pages@v2
35+
uses: actions/deploy-pages@v4

.github/workflows/draw.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ on:
55
workflow_dispatch: # can be triggered manually
66
push:
77
paths:
8-
- "config/*.keymap"
8+
- "config/corneish_zen.keymap"
99
- "config/*.dtsi"
1010
- "knucklehead/*.dtsi"
11-
- "keymap_drawer.config.yaml"
11+
- "keymap-drawer/config.yaml"
12+
- ".github/workflows/draw.yml"
1213

1314
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1415
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
@@ -18,14 +19,14 @@ concurrency:
1819

1920
jobs:
2021
draw:
21-
uses: minusfive/keymap-drawer/.github/workflows/draw-zmk.yml@main
22+
uses: caksoylar/keymap-drawer/.github/workflows/draw-zmk.yml@main
2223
permissions:
2324
contents: write
2425
with:
2526
install_branch: "main" # branch to install keymap-drawer from
26-
keymap_patterns: "config/*.keymap" # path to the keymaps to parse
27-
config_path: "keymap_drawer.config.yaml" # config file, ignored if not exists
28-
output_folder: "img" # path to save produced SVGs
27+
keymap_patterns: "config/corneish_zen.keymap" # path to the keymaps to parse
28+
config_path: "keymap-drawer/config.yaml" # config file, ignored if it doesn't exist
29+
output_folder: "keymap-drawer" # path to save produced SVGs
2930
# commit_message: "Draw: ${{ github.event.head_commit.message }}"
3031
amend_commit: true # whether to amend the commit or create a new one
31-
32+
fail_on_error: true

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ modules/
55
tools/
66
.west/
77
.DS_Store
8+
.venv/

README.md

+101-146
Large diffs are not rendered by default.

config/corne.conf

+23-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,30 @@
1-
# Uncomment the following line to enable deep sleep
2-
# CONFIG_ZMK_SLEEP=y
1+
# Turn on logging, and set ZMK logging to debug output
2+
# CONFIG_ZMK_USB_LOGGING=y
3+
4+
# Reset BT connections on next firmware boot
5+
# CONFIG_ZMK_BLE_CLEAR_BONDS_ON_START=y
36

4-
# Uncomment the following line to increase the keyboard's wireless range
7+
# Boost Bluetooth TX power
58
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
69

10+
# Require passkey on pairing
11+
CONFIG_ZMK_BLE_PASSKEY_ENTRY=y
12+
13+
# Sleep timeout 30 minutes
14+
CONFIG_ZMK_SLEEP=y
15+
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=1800000
16+
717
# Enable eager debouncing
818
CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=1
919
CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=7
1020

11-
# Uncomment the following line to enable USB Logging (this increases power usage by a significant amount, turn it off when not in use)
12-
# CONFIG_ZMK_USB_LOGGING=y
21+
# Fix battery reporting on Windows
22+
CONFIG_BT_GATT_ENFORCE_SUBSCRIPTION=n
23+
24+
# Experimental: BLE improvements
25+
CONFIG_ZMK_BLE_EXPERIMENTAL_FEATURES=y
26+
27+
# Report battery peripheral battery level
28+
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y
29+
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y
30+

config/corne.keymap

-8
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,3 @@
66

77
#include "../knucklehead/base.dtsi"
88

9-
// Alpha layer: uncomment desired, comment the others
10-
#include "../knucklehead/L1_colemak-dh.dtsi"
11-
// #include "../knucklehead/L1_colemak.dtsi"
12-
// #include "../knucklehead/L1_qwerty.dtsi"
13-
14-
// Other layers
15-
#include "../knucklehead/L2.dtsi"
16-
#include "../knucklehead/L3.dtsi"

config/corneish_zen.conf

+24-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Turn on logging, and set ZMK logging to debug output
22
# CONFIG_ZMK_USB_LOGGING=y
33

4+
# Reset BT connections on next firmware boot
5+
# CONFIG_ZMK_BLE_CLEAR_BONDS_ON_START=y
6+
47
# Boost Bluetooth TX power
58
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
69

@@ -11,19 +14,30 @@ CONFIG_ZMK_BLE_PASSKEY_ENTRY=y
1114
CONFIG_ZMK_SLEEP=y
1215
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=1800000
1316

14-
# Reset BT connections on next firmware boot
15-
# CONFIG_ZMK_BLE_CLEAR_BONDS_ON_START=y
17+
# Enable eager debouncing
18+
CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=1
19+
CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=7
20+
21+
# Fix battery reporting on Windows
22+
CONFIG_BT_GATT_ENFORCE_SUBSCRIPTION=n
23+
24+
# Experimental: BLE improvements
25+
CONFIG_ZMK_BLE_EXPERIMENTAL_FEATURES=y
26+
27+
# Report battery peripheral battery level
28+
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y
29+
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y
30+
31+
# Stock status screen
32+
# CONFIG_ZMK_DISPLAY_HIDE_MOMENTARY_LAYERS=y
33+
# CONFIG_CUSTOM_WIDGET_LAYER_STATUS_HIDE_HEADING=y
34+
# CONFIG_CUSTOM_WIDGET_LOGO_IMAGE_ZMK=y
1635

17-
#######################
1836
# Zen display tweaks
19-
# https://gist.github.com/caksoylar/c411313990978e1903c244f03039187a
20-
#######################
21-
CONFIG_ZMK_DISPLAY_FULL_REFRESH_PERIOD=300
37+
# - See: https://gist.github.com/caksoylar/c411313990978e1903c244f03039187a
38+
# CONFIG_ZMK_DISPLAY_FULL_REFRESH_PERIOD=300
2239
# Invert display
2340
# CONFIG_IL0323_INVERT=y
2441
# Use alternative refresh method
2542
# CONFIG_IL0323_ALTERNATIVE_REFRESH=y
26-
# Stock status screen
27-
#CONFIG_ZMK_DISPLAY_HIDE_MOMENTARY_LAYERS=y
28-
CONFIG_CUSTOM_WIDGET_LAYER_STATUS_HIDE_HEADING=y
29-
#CONFIG_CUSTOM_WIDGET_LOGO_IMAGE_ZMK=y
43+

config/corneish_zen.keymap

+1-9
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,9 @@
66

77
#include "../knucklehead/base.dtsi"
88

9-
// Alpha layer: uncomment desired, comment the others
10-
#include "../knucklehead/L1_colemak-dh.dtsi"
11-
// #include "../knucklehead/L1_colemak.dtsi"
12-
// #include "../knucklehead/L1_qwerty.dtsi"
13-
14-
// Other layers
15-
#include "../knucklehead/L2.dtsi"
16-
#include "../knucklehead/L3.dtsi"
17-
189
/ {
1910
chosen {
2011
zmk,matrix_transform = &default_transform;
2112
};
2213
};
14+

config/west.yml

+36-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,46 @@
1+
# Copied from: https://github.com/urob/zmk-config/blob/main/config/west.yml
2+
#
3+
# This file specifies the build dependencies for Github Action workflows and
4+
# for local build environments. The workspace has three toplevel directories
5+
# containing the user config, user modules and ZMK. Zephyr and its dependencies
6+
# are namespaced under /zmk to keep the toplevel clean.
7+
#
8+
# ZMK-Workspace
9+
# ├── config
10+
# ├── modules (user modules)
11+
# └── zmk
12+
# └── modules (Zephyr modules)
13+
#
14+
# To create a local build environment, clone this repository and then run the
15+
# following commands from its toplevel directory:
16+
#
17+
# $ west init -l config
18+
# $ west update
19+
# $ west zephyr-export
20+
#
21+
---
122
manifest:
223
remotes:
24+
- name: zmkfirmware
25+
url-base: https://github.com/zmkfirmware
326
- name: urob
427
url-base: https://github.com/urob
28+
- name: caksoylar
29+
url-base: https://github.com/caksoylar
30+
531
projects:
632
- name: zmk
33+
remote: zmkfirmware
34+
import: app/west.yml
35+
revision: main
36+
37+
- name: zmk-auto-layer
738
remote: urob
839
revision: main
9-
import: app/west.yml
40+
41+
- name: zmk-tri-state
42+
remote: caksoylar
43+
revision: split-locality
44+
1045
self:
1146
path: config

img/corne.svg

-1,237
This file was deleted.

0 commit comments

Comments
 (0)