Please add Label Name and Sensor Bindings in .keymap
See original GitHub issueWe need label = "LayerName"; for oled display and sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>; for Rotary Encode
Also need add dynamic for sensor-bindings
Just replace line 100 to 107 in /api/services/zmk/keymap.js
return `
${name.replace(/[^a-zA-Z0-9_]/g, '_')} {
label = "${name.replace('layer', '')}";
bindings = <
${rendered}
>;
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
};
`
})
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Keymap | JetBrains Fleet Documentation
Add the binding by specifying an additional object in the keymap array. The object has to contain key combination and trigger name:.
Read more >32.4. Customizing Key Bindings
This section describes key bindings, which map keys to commands, and keymaps, which record key bindings. It also explains how to customize key...
Read more >New Keyboard Shield | ZMK Firmware
New Keyboard Shield. Overview. This guide will walk through the steps necessary to add ZMK support for a keyboard the uses a (Pro...
Read more >make local map bindings available through a global prefix
I have already created a tree of my own keymaps with global commands, and it is available on M-SPC . But now I'd...
Read more >Feature: Encoder layers · Issue #333 · zmkfirmware/zmk - GitHub
Implement a separate set of encoder layers, plus an override of the encoder functions per layer. If &trans is defined then no override...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @nickcoutsos Thank you so much for replying to my issues. This is exactly what I was looking for. I will respond if there are any problems.
Hi @LamDVT, if you’re still around and using the editor I’ve added support for editing sensor bindings. I don’t have a keyboard of my own with rotary encoders built in so if you end up trying this feature out I’d be interested in knowing how you find the new functionality.