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

Methods controlling LED's (all) not working with Ryos #2

Open
LordJABA opened this issue Sep 29, 2018 · 2 comments
Open

Methods controlling LED's (all) not working with Ryos #2

LordJABA opened this issue Sep 29, 2018 · 2 comments

Comments

@LordJABA
Copy link

LordJABA commented Sep 29, 2018

I was experimenting with your code.
But could not get it to work. I suspect something changed on Roccat side in the last few years.
Following your test program...
I can connection.Initialize() and then after connection.EnterSdkMode() keyboard led's turn off.
but after that using for ex. connection.BlinkAllKeys(1, 10) has no effect.
Only thing that works is connection.ExitSdkMode() which returns led's to normal.

The test console program behaves the same.

Any chance for an update? I had a plan to use Memory.dll to make some use of my led's displaying health in games etc.

My Code fragment:

    private void Form1_Load(object sender, EventArgs e)
    {
        if (con.Initialize())
        {
            currentAmmo.Text = "RGB CONNECTED";
            if (con.EnterSdkMode())
            {
                currentAmmo.Text = "RGB CONTROL";
                con.BlinkAllKeys(1, 10);
            }
        }
        else
            currentAmmo.Text = "RGB FAIL";
    }

    private void Form1_FormClosing(Object sender, FormClosingEventArgs e)
    {
        curentAmmo.Text = "Closing";
        con.ExitSdkMode();
        sdkmode = false;
    }

'

@CosminLazar
Copy link
Owner

It's been a while since I tested this and maybe they have updated their internal protocol. I am a bit busy at the moment but will keep this issue open and look into it eventually. You are welcome to submit a pull request If you cannot wait and choose to investigate and fix this yourself.

@LordJABA
Copy link
Author

I'm a python programmer by trade so even c# is somewhat of challenge for me, c++ even more. But if I get tired of waiting I will dig out my copy of "symphony in c++" - I was writing in c++ some 10 years ago - and try to update it myself..
Thanks for a response. It itself is more than I expected looking at last update date ;-)

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

No branches or pull requests

2 participants