adding or replacing a switch with a rotary encoder?
would love to get a rotary encoder on my board, has anyone figured this out?
2 Replies
While our documentation doesn't have a specific guide for adding rotary encoders, it's a popular modification for ZMK-powered keyboards!
You would need to utilize the spare pins available on the nice!nano. You can find a list of these pins in the "Troubleshooting & Pinouts" section of your keyboard's build guide (e.g., for Corne Wireless: docs.typeractive.xyz/build-guides/corne-wireless/troubleshooting).
Adding an encoder would involve custom wiring to these spare pins and modifying your ZMK firmware to recognize the encoder. ZMK does support rotary encoders, but you'd need to build your own firmware. You can find resources on building custom firmware and keymaps on our firmware pages (e.g., docs.typeractive.xyz/build-guides/corne-wireless/firmware) and the ZMK documentation (zmk.dev/docs/features/keymaps).
This is an advanced modification, but it is possible! Let me know if you have more questions.
The encoder has 5 pins. 2 or for clicking on it right, can I wire those those into a hot swap key spot? And treat the click on the encoder as a key press?
The answer is yes in case someone sees this