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

Double knight rider for split keyboards #3524

Closed
wants to merge 2 commits into from
Closed

Double knight rider for split keyboards #3524

wants to merge 2 commits into from

Conversation

broswen
Copy link
Contributor

@broswen broswen commented Jul 30, 2018

This is a new rgb underglow mode inspired from the knight rider mode.
It splits the animation into mirrored halves. This is designed for split keyboards.
It uses the config values for hue/val/sat and uses 3 different speeds from the original knight rider mode.

@Lenbok
Copy link
Contributor

Lenbok commented Jul 31, 2018

It's worth thinking about how/whether this would interact when the split keyboard uses i2c instead of running RGB data over a separate line.

Currently with split keyboards using i2c, each half-keyboard runs its LEDs independently, (so if enabled, the split animation would already be mirrored?)

@broswen
Copy link
Contributor Author

broswen commented Jul 31, 2018

@Lenbok I only have an iris board connected through serial. Is there any documentation you could link about how LEDs are controlled when using i2c?

Or is it as simple as using a different lighting algorithm when #define USE_I2C is defined?

@Lenbok
Copy link
Contributor

Lenbok commented Jul 31, 2018

The i2c RGB support is fairly new (#3120) and currently only supports static modes (fixed, rainbows etc), but people have been experimenting with getting animated modes working (#773).

I think that the current list of RGB light modes is getting pretty long and disorganized and it might be better to allow compile-time customization of the particular set of modes that you wanted. I.e. you could choose to exclude any that were just not wanted, or which weren't appropriate for the type of keyboard, and it would also let you put the modes in the desired order. (Seems worthy of a separate issue though, rather than necessarily affecting this PR)

@drashna
Copy link
Member

drashna commented Jan 25, 2019

There are some merge conflicts that need to be resolved here.

Also, i2c animation support is being worked on.

@drashna
Copy link
Member

drashna commented Mar 27, 2019

Any update on this?

@broswen
Copy link
Contributor Author

broswen commented Apr 12, 2019

@drashna Sorry, I've been busy with school lately.
Would it be worth it to port to the new RGB Matrix feature instead?
Do a lot of keyboards have support for that feature?

@drashna
Copy link
Member

drashna commented May 1, 2019

Not a problem. School always comes first!

As for the RGB matrix... it's different enough that i don't think that this would fit into this.

@drashna
Copy link
Member

drashna commented Sep 20, 2019

Would it be possible to get this updated?

Also, Split RGB has bee "shipped", and should work well, now.

@broswen
Copy link
Contributor Author

broswen commented Sep 24, 2019

@drashna , I'm taking a look at those new RGBLIGHT_SPLIT and RGBLED_SPLIT. Is it as simple as checking for a define and using those variables? I read through the RGB docs but didn't see any specific information about setting RGB LEDs on a split board.

Also, if RGBLIGHT_SPLIT is defined does it mirror (both 0 position on the outside?) or do they both start from the left (assuming a single row of underglow)?

@drashna
Copy link
Member

drashna commented Sep 25, 2019

@broswen yup. It's that simple, now.

And no, the define doesn't mirror it, it detects which is which, and displays it properly.

For instance, On my iris, I have rgbled split enabled, and the effect goes between the halves properly, as if I was using the "extra data" pin to transmit the data, rather than having each wired to each half.

@drashna
Copy link
Member

drashna commented Nov 5, 2019

There are some merge conflicts here.

Could you resolve these?

@drashna drashna requested a review from a team November 5, 2019 07:18
@stale
Copy link

stale bot commented Dec 5, 2019

Thank you for your contribution!
This pull request has been automatically closed because it has not had activity in the last 30 days. Please feel free to give a status update now, ping for review, or re-open when it's ready.

@stale stale bot closed this Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants