Skip to content

lunics/zmk-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Splitkb Aurora Sweep

Key mapping for the split keyboard Aurora Sweep with the ZMK Firmware.

Current layout of this keyboard here, inspired from Ergo-L.

Mapping

╭─────────┬─────────┬─────────┬─────────┬─────────╮ ╭─────────┬─────────┬─────────┬─────────┬─────────╮
|    q    |    c    |    o    |    p    |    w    | |    j    |    m    |    d    |    '    |    f    |
├─────────┼─────────┼─────────┼─────────┼─────────┤ ├─────────┼─────────┼─────────┼─────────┼─────────┤
|    a    |    s    |    e    |    n    |    ,    | |    l    |    r    |    t    |    i    |    u    |
├─────────┼─────────┼─────────┼─────────┼─────────┤ ├─────────┼─────────┼─────────┼─────────┼─────────┤
|   z_    |    x    |    -    |    v    |    b    | |    .    |    h    |    g    |    y    |    k    |
╰─────────┴─────────┴─────────┼─────────┼─────────┤ ├─────────┼─────────┼─────────┴─────────┴─────────╯
                              |   esc   |  space  | |  enter  |   tab   |
                              ╰─────────┴─────────╯ ╰─────────┴─────────╯

Functions

ht_symr A               Hold Tap Symbol Right = keep pressed A to enable symbols on the right kb or tap the letter A
ht_winl S               Hold Tap Windows Left = keep pressed S to simulate the left Windows key or tap the letter S
ht_ctll E 
ht_altl N   
ht_ctlr R    
t5                      tap once the letter T = t, tape twice the letter T = 5;     (Tape Dance = &td_t5 = TAPDANCE(t_, num_5))
i6     
ht_fun X    
ht_har B       
ht_altr H    
g2        
y3
ht_shft ESC             keep pressed = SHIFT, simple tap = ESCAPE
ht_navl SPACE           keep pressed enable navigation layer on the left hand
ht_numr ENTER
ht_sper TAB             keep pressed enable special layer on the right hand

Flash the firmware to the keyboard:

  1. Plug in the left kb to the laptop.
  2. Double press the reset button.
  3. Download firmware from the latest workflow of the Github actions: example.
  4. Unzip the firmware.zip.
  5. cp firmware/splitkb_aurora_sweep_left-nice_nano_v2-zmk.uf2 /run/media/$USER/NICENANO Repeat the operation for the right kb.

Pairing keyboard with the laptop:

  1. Turn on the left kb: pwr button UP, turn on right kb: pwr button DOWN (don't trust the pwr mark on the pcb).
  2. Select bluetooth channel on splitkb: ht_har B + bt_sel n
  3. Setup bluetooth controller:
bluetoothctl            # open the cli bluetooth manager
  power on              # turn the controller (laptop) on
  pairable on           # enable the controller for pairing
  scan on               # scan devices
  pair MAC_ADDR         # pair the controller with the splitkb
  connect MAC_ADDR      # connect the controller with the splitkb
  scan off
  pairable off

The left kb is the master and the right one is the slave. The right is connected to the left, which is connected to the laptop.

Build on podman

git clone https://github.com/lunics/zmk-config
mkdir -p local_zmk-config/parent
podman volume create --driver local -o o=bind -o type=none -o device="/home/lunics/usb_copy/linux/hardware/keyboard/zmk/local_zmk-config/" zmk-config
podman volume create --driver local -o o=bind -o type=none -o device="/home/lunics/usb_copy/linux/hardware/keyboard/zmk/local_zmk-config/parent/" zmk-modules

podman run -it --rm \
  --security-opt label=disable \
  --workdir /zmk \
  -v ./lunics_zmk-config:/zmk \
  -v /home/lunics/usb_copy/linux/hardware/keyboard/zmk/local_zmk-config:/workspaces/zmk-config \
  -v /home/lunics/usb_copy/linux/hardware/keyboard/zmk/local_zmk-config/parent:/workspaces/zmk-modules \
  -p 3000:3000 \
  zmkfirmware/zmk-build-arm:stable /bin/bash

west init -l ./config
west update
# west zephyr-export
west build -d build/nice_nano_v2 -b nice_nano_v2 zmk/app
    -- -DSHIELD=aurora_left
west build -t flash

Issue with azerty system

Only qwerty laptops are supported. For the azerty's, that can be changed in some UEFI or from the window manager.

Example for Hyrpland:

input {
  kb_layout = us
  ...
}

Todo

C_AC_SCROLL_UP Scroll Up K_SCROLL_UP Scroll Up C_AC_SCROLL_DOWN Scroll Down K_SCROLL_DOWN Scroll Down

  • combo sdf = del ?
  • combo ? + h/l = home/end

About

Key mapping for the split keyboard Aurora Sweep.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages