qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.04k stars 38.77k forks source link

[Feature Request] Provide RGBLED_SPLIT like functionality for RGB_MATRIX #9570

Closed tyalie closed 4 years ago

tyalie commented 4 years ago

Feature Request Type

Description

My understanding is, that as of now, there is no way to synchronize both halves of a split keyboard, when using the RGB_MATRIX functionality. On the other hand, RGB_LIGHT seems to support it.

tyalie commented 4 years ago

Okay. I got it working. Animations change on both sides, they know their relative position to each other, ... Only problem now is, that they get heavily out of sync over time.

I've (as of now) no idea how fix that.

tyalie commented 4 years ago

Current idea: I know that the timer depends on the internal clock timer_read32 and that this is very imprecise on micro controllers. One idea would be to do a hand shake once in a while between both parties to calculate the time difference between the boards and apply that to the timer function.

tyalie commented 4 years ago

See #9613