Browse Source

[Keyboard] Enable RGB Matrix for Corne (#12091)

pull/12107/head
Drashna Jaelre 3 years ago
committed by GitHub
parent
commit
41933efbf0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions
  1. +1
    -0
      keyboards/crkbd/rev1/common/config.h
  2. +0
    -1
      keyboards/crkbd/rev1/common/rules.mk
  3. +1
    -1
      keyboards/crkbd/rev1/rev1.c

+ 1
- 0
keyboards/crkbd/rev1/common/config.h View File

@ -23,6 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGB_MATRIX_ENABLE
# define RGB_MATRIX_SPLIT { 27, 27 }
# define SPLIT_TRANSPORT_MIRROR
#endif
#define DIODE_DIRECTION COL2ROW

+ 0
- 1
keyboards/crkbd/rev1/common/rules.mk View File

@ -1,2 +1 @@
SPLIT_KEYBOARD = yes
SPLIT_TRANSPORT = mirror # for when Split Mirroring drops, it will maintain mirroring functionality

+ 1
- 1
keyboards/crkbd/rev1/rev1.c View File

@ -87,7 +87,7 @@ led_config_t g_led_config = { {
void matrix_init_kb(void) {
#ifdef RGB_MATRIX_ENABLE
#if defined(RGB_MATRIX_ENABLE) && !defined(RGB_MATRIX_SPLIT)
if (!isLeftHand) {
g_led_config = (led_config_t){ {
{ 51, 50, 45, 44, 37, 36 },


Loading…
Cancel
Save