summaryrefslogtreecommitdiffstats
path: root/keyboards/model01/config.h
diff options
context:
space:
mode:
authorJames Laird-Wah <james@laird-wah.net>2018-09-28 05:53:36 +0200
committerDrashna Jaelre <drashna@live.com>2018-09-28 05:53:36 +0200
commitb382076ad1a6d857b6f185077b5f3635801b4ad6 (patch)
tree3c036d86511f3fff0f82b9901dd29334615ec7ef /keyboards/model01/config.h
parent7d2d0c6795eaaa87d4e13fc159807b64ca2d71f9 (diff)
downloadqmk_firmware-b382076ad1a6d857b6f185077b5f3635801b4ad6.tar.gz
qmk_firmware-b382076ad1a6d857b6f185077b5f3635801b4ad6.tar.xz
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 4d5705ea6ceeb11cd2adc018644ec87c51af4e86 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.
Diffstat (limited to 'keyboards/model01/config.h')
-rw-r--r--keyboards/model01/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/model01/config.h b/keyboards/model01/config.h
index 796653f45..167310731 100644
--- a/keyboards/model01/config.h
+++ b/keyboards/model01/config.h
@@ -33,3 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* The scanners already debounce for us */
#define DEBOUNCING_DELAY 0
+
+/* RGB matrix constants */
+#define DRIVER_LED_TOTAL 64