RedFantom / python-rgbkeyboards

Wrappers for various RGB keyboard SDKs in Python
GNU General Public License v3.0
25 stars 3 forks source link

Implement support for Razer keyboards on Linux using openrazer #2

Open RedFantom opened 7 years ago

RedFantom commented 7 years ago

Support for Razer keyboards will not be added, for a few reasons.

There would be two ways to add support for these keyboards:

Razer does provide a separate SDK (which still requires the Synapse software to be installed), but this is quite a complicated one with lots of weird data structures (which, I my opinion, are completely overkill for the task they should perform), which would be difficult to replicate in Python's ctypes.

henryruhs commented 5 years ago

There is openrazer but it only supports linux.

RedFantom commented 5 years ago

Thank you for sharing this with me! When I searched for a solution one-and-a-half years ago, I was unable to find openrazer. However, I will still not be implementing support anytime soon, as there are no testers and thus I do not know whether my code for other keyboards than my own even works...

henryruhs commented 5 years ago

@RedFantom I could provide testing or give an helpful hand - I use openrazer allready in a project.

eadmaster commented 5 years ago

I have openrazer installed as well,and i can test the library. Btw would be nice having some kind of support for windows too.

RedFantom commented 5 years ago

Right now commit 3f40891 adds the only limited support for Razer keyboards. Anyone is welcome to try it and report the results!

However, at the moment I am quite busy already, so it is unlikely that I'll be able to devote time to this project anytime soon. The structure of a keyboard back-end is not extremely complicated and there are quite some back-ends already present to build on, so perhaps someone is interested in picking it up?

I'll accept any stable back-end that does not require external software running (so with Windows DLL-files is fine), but as I no longer run Windows and still only have the single keyboard, testing it would be impossible.