zmkfirmware / zmk

ZMK Firmware Repository
https://zmk.dev/
MIT License
2.48k stars 2.56k forks source link

Encoder does not work if only on peripheral side #2301

Open lookforrachel opened 1 month ago

lookforrachel commented 1 month ago

I added one encoder to the right half of my split keyboard (periphery side). I did not add an encoder to the left half (central side).

When I enabled logging on the keyboards, the left half (central side) received no data when I turned the encoder on the right half (periphery side). When I switched the right half to be the central side and the left half to be the periphery side, my encoder works.

EC11 is dependent on the presence of an enabled encoder in the devicetree. Since I don't have an encoder on the left, it's forced to n which then forces the choice for trigger thread to none.

This can be seen in my build logs

Here is a link to my github branch where the left side (no encoder) is the central side and the right side is periphery but the central side does not receive any sensor data from the encoder.