[Keyboard] RGB Matrix support for TBK Mini (#13506)

Co-authored-by: filterpaper <filterpaper@localhost>
This commit is contained in:
Albert Y
2021-07-12 23:52:32 +08:00
committed by GitHub
parent 6b8168c378
commit c024acd752
3 changed files with 61 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
/*
/*
* Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
@@ -45,3 +45,16 @@
#define F_SCL 400000L
#define USB_POLLING_INTERVAL_MS 1
#define MASTER_RIGHT
// RGB matrix support
#ifdef RGB_MATRIX_ENABLE
# define SPLIT_TRANSPORT_MIRROR
# define DRIVER_LED_TOTAL 42 // Number of LEDs
# define RGB_MATRIX_SPLIT { 21, 21 }
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
# ifndef RGB_DISABLE_WHEN_USB_SUSPENDED
# define RGB_DISABLE_WHEN_USB_SUSPENDED true
# endif
# define RGB_MATRIX_KEYPRESSES
#endif