Move HUB to layer 5 — fix hold-for-hub on non-CARP layers

ZMK layers have fixed priority by index. HUB at layer 1 was hidden
behind QWRT(2)/FPS(4). Moved HUB to layer 5 (highest) so &mo 5
always wins. Reordered: 0=CARP 1=QWRT 2=STEN 3=FPS 4=reserved 5=HUB.
This commit is contained in:
afiqzudinhadi 2026-06-20 22:48:59 +08:00
parent 1914bb946f
commit f7377f9f48
2 changed files with 48 additions and 63 deletions

View file

@ -42,7 +42,7 @@ This repository contains the custom keymaps for the Corne split keyboard. It als
| BLE Address | `E8:9F:65:F3:75:D5` |
| USB Vendor ID | `0x1D50` (OpenMoko) |
| USB Product ID | `0x615E` (ZMK default) |
| Device Name | `AfiqZudinCorne42` |
| Device Name | `Afiq Zudin Corne42` |
| Display | SSD1306 OLED 128x32 (nice_oled module) |
| LEDs | WS2812 RGB underglow, 27 LEDs |
| BT Profiles | 5 (BT0-BT4) |
@ -67,7 +67,7 @@ TAB D S T N R | I A E O H '
LSHFT Z X C V J | K P , . / RSHFT
ESC CTRL GUI | SPC ALT [HUB]
Combos (layers 0+2):
Combos (layers 0+1):
top+home row same col = 1-0, shift+combo = ! @ # $ % ^ & * ( )
E+O (K+L on QWRT) = BSPC
A+E (J+K on QWRT) = ENTER
@ -75,17 +75,7 @@ Combos (layers 0+2):
[HUB] = hold opens HUB layer, release goes back
```
### Layer 1: HUB
```
BT_CLR BT0 BT1 BT2 BT3 BT4 | + [ UP ] * =
USB/BT _ _ _ _ _ | - LEFT DOWN RIGHT / \
LSHFT Z X C V _ | ->CARP ->QWRT ->STEN ->FPS ->L5 RSHFT
ESC CTRL GUI | SPC ALT _
Combo: SPC+ALT = ENTER
```
### Layer 2: QWRT (QWERTY)
### Layer 1: QWRT (QWERTY)
```
` Q W E R T | Y U I O P ->HUB
TAB A S D F G | H J K L ; '
@ -96,7 +86,7 @@ Combos: same as CARP (top+home = 1-0, K+L = BSPC, J+K = ENTER, SPC+ALT = ENTER)
[HUB] = hold opens HUB layer, release goes back
```
### Layer 3: STEN (Plover keyboard mode)
### Layer 2: STEN (Plover keyboard mode)
```
_ # # # # # | # # # # # ->HUB
_ S T P H * | * F P L T D
@ -104,7 +94,7 @@ _ S K W R * | * R B G S Z
_ A O | E U _
```
### Layer 4: FPS (WASD shifted right for ortho)
### Layer 3: FPS (WASD shifted right for ortho)
```
1/ESC 2 Q [W] E/3 R/4 | 5 6 7 8 9 ->HUB
TAB SHFT [A] [S] [D] G | _ _ _ _ _ _
@ -116,7 +106,17 @@ Combo: SPC+ALT = ENTER (if ALT held via T)
[HUB] = hold opens HUB layer, release goes back
```
### Layer 5: Reserved (ZMK Studio)
### Layer 4: Reserved (ZMK Studio)
### Layer 5: HUB
```
BT_CLR BT0 BT1 BT2 BT3 BT4 | + [ UP ] * =
USB/BT _ _ _ _ _ | - LEFT DOWN RIGHT / \
LSHFT Z X C V _ | ->CARP ->QWRT ->STEN ->FPS ->L4 RSHFT
ESC CTRL GUI | SPC ALT _
Combo: SPC+ALT = ENTER
```
# Related Resources
@ -148,7 +148,7 @@ git clone git@github.com:afiqzudinhadi/zmk-config.git
ZMK Studio is enabled on this keyboard. You can edit the keymap live:
1. Go to [zmk.studio](https://zmk.studio/) in Chrome
2. Connect to `AfiqZudinCorne42` via USB or BLE
2. Connect to `Afiq Zudin Corne42` via USB or BLE
3. Edit layers visually — changes apply instantly
4. Changes persist on the keyboard (survives power cycle)
@ -221,7 +221,7 @@ If you changed the keyboard name or did a settings reset:
1. Open **System Settings → Bluetooth** on macOS
2. Remove the old keyboard entry (e.g. `Corne_Oled_RGB`)
3. Put the keyboard in pairing mode (it should be discoverable automatically)
4. Pair with `AfiqZudinCorne42`
4. Pair with `Afiq Zudin Corne42`
# Settings Reset