mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-23 00:47:02 +06:00
15 lines
370 B
C
15 lines
370 B
C
|
// Copyright 2023 Ramon Imbao (@ramonimbao)
|
||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
/* RGB */
|
||
|
#define WS2812_SPI SPID2
|
||
|
#define WS2812_SPI_MOSI_PAL_MODE 0
|
||
|
#define WS2812_SPI_SCK_PIN B13
|
||
|
#define WS2812_SPI_SCK_PAL_MODE 0
|
||
|
#define WS2812_EXTERNAL_PULLUP
|
||
|
#define RGB_MATRIX_LED_COUNT 6
|
||
|
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||
|
#define RGB_MATRIX_KEYPRESSES
|