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

Crkbd RGB Matrix config with WS2812 #5627

Merged
merged 1 commit into from
Apr 16, 2019

Conversation

r2d2rogers
Copy link
Contributor

Add WS2812 driver RGB Matrix config for crkbd.

Description

Added RGB Matrix config to rev1/rev1.c to be available if you enable the RGB_MATRIX_ENABLE flag in the keymap config.h

Currently works as mirrored unless you flash two hex files.

For best results compile the second file with the Right and Left sections of g_rgb_leds swapped, to put the right hand on top for the hex you flash to the right hand side.

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@r2d2rogers
Copy link
Contributor Author

This enables RGB matrix for a keymap if you add RGB_MATRIX_ENABLE = WS2812 to your rules.mk

Optionally you can add

#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_KEYPRESSES
#endif

to the keymap config.h for reactive animations.

@mechmerlin
Copy link
Contributor

You're getting a few "firmware is too large issues"

@drashna
Copy link
Member

drashna commented Apr 16, 2019

@mechmerlin Those would mostly go away if somebody merged #5471 :)

@drashna drashna merged commit 565a781 into qmk:master Apr 16, 2019
@r2d2rogers r2d2rogers deleted the crkbd-rgb-matrix-config branch April 16, 2019 17:31
foosinn pushed a commit to foosinn/qmk_firmware that referenced this pull request May 6, 2019
shimesaba-type0 pushed a commit to shimesaba-type0/qmk_firmware that referenced this pull request Jun 22, 2019
Timbus pushed a commit to Timbus/qmk_firmware that referenced this pull request Jun 23, 2019
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

Successfully merging this pull request may close these issues.

3 participants