the-via / app

GNU General Public License v3.0
900 stars 201 forks source link

VIA integration with ZMK #57

Open lental opened 2 years ago

lental commented 2 years ago

Hey - Couldn't find a good place to ask this question. Feel free to redirect me to the best place to ask things like this.

It seems like most of the heavy lifting of a basic ZMK integration with VIA would be on ZMK - implementing the relevant APIs for discovery, EEPROM dynamic keymap storage, and then usage of the dynamic keymap. Is there anything principally improper with attempting to perform this integration (Licensing issues? Implicit or explicit agreements with QMK-TMK maintainers? Inability to guarantee parity over QMK integration?) or is this just a matter of execution and contributions?

Thanks!

olivia commented 2 years ago

IMO, there isn't any reason as to why it would be disallowed. The protocol that VIA communicates with isn't patented or licensed in itself. Given that ZMK is MIT licensed and QMK is GPLv2, there might be some provisions around sublicensing if you ended up lifting code directly from the QMK repo. There would be the trouble with keeping the protocol in lock-step with both QMK and ZMK, but such is the way of dependencies 🤷

In short, I would be supportive of such an initiative if there were folks on ZMK willing to build the protocol into the firmware on that side.

drashna commented 2 years ago

The biggest issue is licensing and policy: https://zmk.dev/docs/development/clean-room

So while there is no technical issue with it ... unless somebody on zmk's dev team works on it, it most likely will not be implemented or accepted.