Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement support for Razer keyboards on Linux using openrazer #2

Open
RedFantom opened this issue Jul 19, 2017 · 5 comments
Open

Implement support for Razer keyboards on Linux using openrazer #2

RedFantom opened this issue Jul 19, 2017 · 5 comments

Comments

@RedFantom
Copy link
Owner

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

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

  • By using the new REST based API of the Razer Synapse software
  • By writing code that calls into DLL-files distributed only with the Razer Synapse software
    Both of these methods clearly make the whole library dependent on not only closed-source software (which I am okay with), but a completely closed ecosystem, which I cannot agree with.

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
Copy link

henryruhs commented Jan 5, 2019

There is openrazer but it only supports linux.

@RedFantom RedFantom changed the title No support for Razer keyboards Implement support for Razer keyboards on Linux using openrazer Jan 10, 2019
@RedFantom
Copy link
Owner Author

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
Copy link

henryruhs commented Jan 10, 2019

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

RedFantom added a commit that referenced this issue Jan 10, 2019
Note that adding individual LED control will require creating key layout maps like for the MasterKeys back-end.
@eadmaster
Copy link

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
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants