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

Update to RGB Matrix LED structure #32

Merged
merged 12 commits into from
May 20, 2019
Merged

Conversation

drashna
Copy link
Collaborator

@drashna drashna commented Apr 30, 2019

This changes the rgb LED structure to allow for much more customized effects.

This is not all of it, just the start of the code changes.

It may be best to leave this alone until the rest of the code changes are present.

However, Travis CI fails due to the reactive keymap being too large. (the reactive keymap has all reactive modes enabled, which .... is a LOT)

@drashna drashna added the enhancement New feature or request label Apr 30, 2019
@drashna drashna requested review from ezuk and fdidron April 30, 2019 05:29
@drashna drashna force-pushed the per_key_matrix_effects_part_1 branch from cfe7b25 to cd93296 Compare April 30, 2019 07:02
@drashna
Copy link
Collaborator Author

drashna commented Apr 30, 2019

Rebasing reduced thee file size, so Travis CI no longer fails

@drashna
Copy link
Collaborator Author

drashna commented May 6, 2019

@fdidron just making sure, you're holding off on this, because of the significant change to the rgb matrix structure, correct?

If so, that's fine, and there is qmk#5783 that we may want to wait on, to merge at the same time.

It's not an insignificant change, but should further optimize the rgb matrix code.

@fdidron
Copy link
Collaborator

fdidron commented May 6, 2019

@drashna exactly, thought I would hold until the rest of the changes are merged.

Updated effects to test led flags
Updated massdrop to use new flags field for led toggle
@drashna drashna force-pushed the per_key_matrix_effects_part_1 branch from cd93296 to 6364fe4 Compare May 8, 2019 04:46
XScorpion2 added 2 commits May 7, 2019 21:48
… - part 2) (qmk#5783)

* Initial conversion of the rgb_led struct

* Converting last keyboard & updating effects to take advantage of the new structure

* New struct should not be const

* Updated docs

* Changing define ___ for no led to NO_LED

* Missed converting some keymap usages of the old struct layout
* RGB Matrix Typing Heatmap Effect

* Fixing file name and effect init
@drashna drashna changed the title Updated rgb_led struct field modifier to flags (#5619) Update to RGB Matrix LED structure May 8, 2019
@drashna
Copy link
Collaborator Author

drashna commented May 8, 2019

There is actually one more PR that I'd like to wait on before this gets merged. qmk#5811 optimizes a number of things here, too.

@drashna drashna force-pushed the per_key_matrix_effects_part_1 branch 2 times, most recently from ad7278a to fa8fe56 Compare May 11, 2019 01:22
@drashna
Copy link
Collaborator Author

drashna commented May 11, 2019

This is ready to ship!

@drashna drashna force-pushed the per_key_matrix_effects_part_1 branch from 83da6e3 to 3880462 Compare May 11, 2019 05:53
* clean up rgb matrix extern usage

Moved rgb matrix boiler plate into macros

Rebased onto typing heatmap pr

* Fixing the reversed frame buffer access in digital rain

* Fixing digital rain & typing heatmap if keyreactive effects are not enabled

* Apply suggestions from code review

Co-Authored-By: Drashna Jaelre <[email protected]>

* Adding parenthesizes to DRIVER_LED_TOTAL where necessary

* Updated docs

* added notes about parentheses
@drashna drashna force-pushed the per_key_matrix_effects_part_1 branch from 3880462 to df947e1 Compare May 11, 2019 06:03
@drashna drashna force-pushed the per_key_matrix_effects_part_1 branch from df947e1 to c4f2f95 Compare May 11, 2019 06:06
derp, forgot to remove the pragma once
* Fixing hsv to rgb where s is 0 and v is < 255

* Update color.c
…mk#5877)

* Spirals, Pinwheels, and Documentation....Oh My!

* Spiral effect band thickness adjustments

* Fixing animation spin directions
@fdidron fdidron merged commit 5cb5e04 into master May 20, 2019
@fdidron fdidron deleted the per_key_matrix_effects_part_1 branch May 20, 2019 00:44
jacostro added a commit to jacostro/zsa_qmk that referenced this pull request Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants