I somehow came across a guy who seems to be doing exactly that first part for RGB control of Corsair products.
Dude will add support for your devices in a matter of days if it doesn’t already exist, and won’t even take donations for his project. The open source community is awesome sometimes.
All jokes aside, why do people even bother with vi?