8000 GitHub - joric/hhkb-zmk
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

joric/hhkb-zmk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HHKB Pro 2 with ZMK firmware

This project provides an out-of-tree Zephyr module and shield definition for the HHKB Pro2 daugther board.

The hhkb_pro2 shield defines the default HHKB keymap and zmk,kscan chosen. Any board can use the hhkb_pro2 shield by defining the hhkb_pro2_connector gpio nexus node. Examples can be find in custom_pro2.overlay and whkb_pro2.dts.

Customizing

Clone this repository then add your keymap overlay to the custom_pro2 shield. You can also create more complex customization by creating entirely new boards or shields.

The default Github Actions will build the firmware using the build.yml definition.

Build locally

Follow the steps in the official ZMK document to setup build environment.

Setup Zephyr

west init -l config
west update

To build nice_nano_v2 based board:

west build -s zmk/app -p -b nice_nano_v2 -- \
    -DSHIELD="hhkb_pro2 custom_pro2" \
    -DZMK_CONFIG=$PWD/config

or to build WHKB Pro2:

west build -s zmk/app -p -b whkb_pro2 -- \
    -DSHIELD=hhkb_pro2 \
    -DZMK_CONFIG=$PWD/config

The finished UF2 file is at build/zephyr/zmk.uf2

Soldering a custom board

The default configuration in custom_pro2 is based on the nice_nano_v2 board. It only uses the pins on the left side. The pins' order is upside down so the wires can be bend easily under the case.

It take advantages of the high drive capability of nRF52 GPIO to power the HHKB Pro2 daughter board.

parts

connector

board

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.6%
  • CMake 4.4%
0