summaryrefslogtreecommitdiffstats
path: root/keyboards/gmmk/pro/rules.mk
diff options
context:
space:
mode:
authorGigahawk <jasperchan515@gmail.com>2021-06-09 18:40:25 -0700
committerGitHub <noreply@github.com>2021-06-10 11:40:25 +1000
commit32b2ac0a807bdb088df685e6118f4c0966b6cca4 (patch)
treec1720e551dc875bd585dc1136f4f99ea00f23c28 /keyboards/gmmk/pro/rules.mk
parente21a03990116b439de2d4a0181f4a87d048e0366 (diff)
GMMK Pro RGB Support (#13147)
* Enable SPI1 for GMMK pro * Setup initial boilerplate for new LED driver * RGB matrix minimally functional * Map full LED matrix * Return keymap to default * Fix printscreen LED mapping * Reduce max brightness * Default values for AW20216 * Add documentation for AW20216 * Disable console and warnings * Run cformat * Update drivers/awinic/aw20216.h Co-authored-by: Drashna Jaelre <drashna@live.com> * make aw struct match issi struct Co-authored-by: Drashna Jaelre <drashna@live.com> * add led location defines Co-authored-by: Drashna Jaelre <drashna@live.com> * Use led pin definitions in keyboard.c * Add driver indices to led map * Fix elif typo * Run cformat * Update docs * Fix typo in docs * Document global brightness limits Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/gmmk/pro/rules.mk')
-rw-r--r--keyboards/gmmk/pro/rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/gmmk/pro/rules.mk b/keyboards/gmmk/pro/rules.mk
index b12d055a3d..6221d64082 100644
--- a/keyboards/gmmk/pro/rules.mk
+++ b/keyboards/gmmk/pro/rules.mk
@@ -21,3 +21,5 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
BLUETOOTH_ENABLE = no # Enable Bluetooth
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes
+RGB_MATRIX_ENABLE = yes
+RGB_MATRIX_DRIVER = AW20216