Keyboard: keyboardio model01: rgbmatrix support (#3989)

* model01: implement RGB matrix feature

LEDs can still be individually controlled if this is switched off.

* model01: use fast banked LED setting commands

* model01: update default keymap to use RGB matrix

* model01: update RGB matrix support to match common_features.mk

* rgb_matrix: include <string.h>

This was missing after commit 4d5705ea6c
which introduces a use of memset().

* model01: make g_rgb_leds weak

This allows users to override which LEDs are configured as
modifiers, or tweak the x/y coordinates, should they so choose.
This commit is contained in:
James Laird-Wah 2018-09-28 13:53:36 +10:00 committed by Drashna Jaelre
parent 7d2d0c6795
commit b382076ad1
6 changed files with 182 additions and 36 deletions

View file

@ -21,6 +21,7 @@
#include "progmem.h"
#include "config.h"
#include "eeprom.h"
#include <string.h>
#include <math.h>
rgb_config_t rgb_matrix_config;