L3 fixed wireless LED indication, added Win locking indication, tidied up code

This commit is contained in:
lokher 2024-11-28 11:32:38 +08:00
commit 161a6984ba
15 changed files with 82 additions and 96 deletions

View file

@ -20,7 +20,21 @@
#define ENCODER_DEFAULT_POS 0x3
#define ENCODER_MAP_KEY_DELAY 2
# define LED_DRIVER_SHUTDOWN_PIN B7
#if defined(RGB_MATRIX_ENABLE) || defined(LK_WIRELESS_ENABLE)
/* SPI configuration */
# define SPI_DRIVER SPID1
# define SPI_SCK_PIN A5
# define SPI_MISO_PIN A6
# define SPI_MOSI_PIN A7
#endif
#if defined(RGB_MATRIX_ENABLE)
# define DRIVER_COUNT 2
# define DRIVER_CS_PINS \
{ B8, B9 }
# define LED_DRIVER_SHUTDOWN_PIN B7
# define SNLED23751_SPI_DIVISOR 16
#endif
#ifdef LK_WIRELESS_ENABLE
/* Hardware configuration */
@ -65,12 +79,6 @@
/* Enable bluetooth NKRO */
# define WIRELESS_NKRO_ENABLE
/* Raw hid command for factory test and bluetooth DFU */
# define RAW_HID_CMD 0xAA ... 0xAB
#else
/* Raw hid command for factory test */
# define RAW_HID_CMD 0xAB
#endif
/* Factory test keys */