Move some led drivers to common folder (#13749)
* Move some led drivers to common folder
This commit is contained in:
parent
aeb252435d
commit
206a995ccd
64 changed files with 58 additions and 58 deletions
|
@ -242,7 +242,7 @@ endif
|
|||
|
||||
ifeq ($(strip $(LED_MATRIX_DRIVER)), IS31FL3731)
|
||||
OPT_DEFS += -DIS31FL3731 -DSTM32_I2C -DHAL_USE_I2C=TRUE
|
||||
COMMON_VPATH += $(DRIVER_PATH)/issi
|
||||
COMMON_VPATH += $(DRIVER_PATH)/led/issi
|
||||
SRC += is31fl3731-simple.c
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
endif
|
||||
|
@ -272,35 +272,35 @@ endif
|
|||
|
||||
ifeq ($(strip $(RGB_MATRIX_DRIVER)), AW20216)
|
||||
OPT_DEFS += -DAW20216 -DSTM32_SPI -DHAL_USE_SPI=TRUE
|
||||
COMMON_VPATH += $(DRIVER_PATH)/awinic
|
||||
COMMON_VPATH += $(DRIVER_PATH)/led
|
||||
SRC += aw20216.c
|
||||
QUANTUM_LIB_SRC += spi_master.c
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(RGB_MATRIX_DRIVER)), IS31FL3731)
|
||||
OPT_DEFS += -DIS31FL3731 -DSTM32_I2C -DHAL_USE_I2C=TRUE
|
||||
COMMON_VPATH += $(DRIVER_PATH)/issi
|
||||
COMMON_VPATH += $(DRIVER_PATH)/led/issi
|
||||
SRC += is31fl3731.c
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(RGB_MATRIX_DRIVER)), IS31FL3733)
|
||||
OPT_DEFS += -DIS31FL3733 -DSTM32_I2C -DHAL_USE_I2C=TRUE
|
||||
COMMON_VPATH += $(DRIVER_PATH)/issi
|
||||
COMMON_VPATH += $(DRIVER_PATH)/led/issi
|
||||
SRC += is31fl3733.c
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(RGB_MATRIX_DRIVER)), IS31FL3737)
|
||||
OPT_DEFS += -DIS31FL3737 -DSTM32_I2C -DHAL_USE_I2C=TRUE
|
||||
COMMON_VPATH += $(DRIVER_PATH)/issi
|
||||
COMMON_VPATH += $(DRIVER_PATH)/led/issi
|
||||
SRC += is31fl3737.c
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(RGB_MATRIX_DRIVER)), IS31FL3741)
|
||||
OPT_DEFS += -DIS31FL3741 -DSTM32_I2C -DHAL_USE_I2C=TRUE
|
||||
COMMON_VPATH += $(DRIVER_PATH)/issi
|
||||
COMMON_VPATH += $(DRIVER_PATH)/led/issi
|
||||
SRC += is31fl3741.c
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
endif
|
||||
|
@ -417,7 +417,7 @@ ifeq ($(strip $(WS2812_DRIVER_REQUIRED)), yes)
|
|||
endif
|
||||
|
||||
ifeq ($(strip $(APA102_DRIVER_REQUIRED)), yes)
|
||||
COMMON_VPATH += $(DRIVER_PATH)/apa102
|
||||
COMMON_VPATH += $(DRIVER_PATH)/led
|
||||
SRC += apa102.c
|
||||
endif
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
|
|||
}
|
||||
```
|
||||
|
||||
Where `Cx_y` is the location of the LED in the matrix defined by [the datasheet](https://www.issi.com/WW/pdf/31FL3731.pdf) and the header file `drivers/issi/is31fl3731-simple.h`. The `driver` is the index of the driver you defined in your `config.h` (`0`, `1`, `2`, or `3` ).
|
||||
Where `Cx_y` is the location of the LED in the matrix defined by [the datasheet](https://www.issi.com/WW/pdf/31FL3731.pdf) and the header file `drivers/led/issi/is31fl3731-simple.h`. The `driver` is the index of the driver you defined in your `config.h` (`0`, `1`, `2`, or `3` ).
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
|
|||
}
|
||||
```
|
||||
|
||||
Where `Cx_y` is the location of the LED in the matrix defined by [the datasheet](https://www.issi.com/WW/pdf/31FL3731.pdf) and the header file `drivers/issi/is31fl3731.h`. The `driver` is the index of the driver you defined in your `config.h` (`0`, `1`, `2`, or `3`).
|
||||
Where `Cx_y` is the location of the LED in the matrix defined by [the datasheet](https://www.issi.com/WW/pdf/31FL3731.pdf) and the header file `drivers/led/issi/is31fl3731.h`. The `driver` is the index of the driver you defined in your `config.h` (`0`, `1`, `2`, or `3`).
|
||||
|
||||
---
|
||||
### IS31FL3733 :id=is31fl3733
|
||||
|
@ -134,7 +134,7 @@ const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
|
|||
}
|
||||
```
|
||||
|
||||
Where `X_Y` is the location of the LED in the matrix defined by [the datasheet](https://www.issi.com/WW/pdf/31FL3733.pdf) and the header file `drivers/issi/is31fl3733.h`. The `driver` is the index of the driver you defined in your `config.h` (`0`, `1`, `2`, or `3` for now).
|
||||
Where `X_Y` is the location of the LED in the matrix defined by [the datasheet](https://www.issi.com/WW/pdf/31FL3733.pdf) and the header file `drivers/led/issi/is31fl3733.h`. The `driver` is the index of the driver you defined in your `config.h` (`0`, `1`, `2`, or `3` for now).
|
||||
|
||||
---
|
||||
### IS31FL3737 :id=is31fl3737
|
||||
|
@ -198,7 +198,7 @@ const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
|||
}
|
||||
```
|
||||
|
||||
Where `X_Y` is the location of the LED in the matrix defined by [the datasheet](https://www.issi.com/WW/pdf/31FL3737.pdf) and the header file `drivers/issi/is31fl3737.h`. The `driver` is the index of the driver you defined in your `config.h` (Only `0`, `1` for now).
|
||||
Where `X_Y` is the location of the LED in the matrix defined by [the datasheet](https://www.issi.com/WW/pdf/31FL3737.pdf) and the header file `drivers/led/issi/is31fl3737.h`. The `driver` is the index of the driver you defined in your `config.h` (Only `0`, `1` for now).
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ I2C IS31FL3731 RGB コントローラを使ったアドレス指定可能な LED
|
|||
....
|
||||
}
|
||||
|
||||
ここで、`Cx_y` は[データシート](https://www.issi.com/WW/pdf/31FL3731.pdf)およびヘッダファイル `drivers/issi/is31fl3731-simple.h` で定義されるマトリックス内の LED の位置です。`driver` は `config.h` で定義したドライバのインデックス(`0`、`1`、`2`、`3`のいずれか)です。
|
||||
ここで、`Cx_y` は[データシート](https://www.issi.com/WW/pdf/31FL3731.pdf)およびヘッダファイル `drivers/led/issi/is31fl3731-simple.h` で定義されるマトリックス内の LED の位置です。`driver` は `config.h` で定義したドライバのインデックス(`0`、`1`、`2`、`3`のいずれか)です。
|
||||
|
||||
## キーコード
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
#include "indicators.h"
|
||||
#include "drivers/issi/is31fl3731-simple.h"
|
||||
#include "drivers/led/issi/is31fl3731-simple.h"
|
||||
#include "i2c_master.h"
|
||||
|
||||
/* Set up IS31FL3731 for use in powering indicator LEDs. Absolutely overkill for this job but it was already in the design.
|
||||
|
|
|
@ -24,7 +24,7 @@ AUDIO_ENABLE = no # Audio output
|
|||
|
||||
# project specific files
|
||||
SRC += indicators.c \
|
||||
drivers/issi/is31fl3731-simple.c
|
||||
drivers/led/issi/is31fl3731-simple.c
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
|
||||
LAYOUTS = alice alice_split_bs
|
||||
|
|
|
@ -31,6 +31,6 @@ LAYOUTS = 60_ansi
|
|||
# project specific files
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
drivers/issi/is31fl3733.c \
|
||||
drivers/led/issi/is31fl3733.c \
|
||||
quantum/color.c \
|
||||
drivers/chibios/i2c_master.c
|
||||
|
|
|
@ -29,6 +29,6 @@ CIE1931_CURVE = yes
|
|||
# project specific files
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
drivers/issi/is31fl3733.c \
|
||||
drivers/led/issi/is31fl3733.c \
|
||||
quantum/color.c \
|
||||
drivers/chibios/i2c_master.c
|
||||
|
|
|
@ -31,6 +31,6 @@ LAYOUTS = 60_iso
|
|||
# project specific files
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
drivers/issi/is31fl3733.c \
|
||||
drivers/led/issi/is31fl3733.c \
|
||||
quantum/color.c \
|
||||
drivers/chibios/i2c_master.c
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#endif
|
||||
|
||||
#include "ansi.h"
|
||||
#include "drivers/issi/is31fl3733.h"
|
||||
#include "drivers/led/issi/is31fl3733.h"
|
||||
|
||||
uint8_t R = 0;
|
||||
uint8_t G = 0;
|
||||
|
|
|
@ -34,6 +34,6 @@ LAYOUTS = 65_ansi
|
|||
# project specific files
|
||||
SRC += keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
drivers/issi/is31fl3733.c \
|
||||
drivers/led/issi/is31fl3733.c \
|
||||
quantum/color.c
|
||||
QUANTUM_LIB_SRC += drivers/chibios/i2c_master.c
|
||||
|
|
|
@ -31,6 +31,6 @@ CIE1931_CURVE = yes
|
|||
# project specific files
|
||||
SRC += keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
quantum/color.c
|
||||
QUANTUM_LIB_SRC += drivers/chibios/i2c_master.c
|
||||
|
|
|
@ -33,6 +33,6 @@ LAYOUTS = 68_ansi
|
|||
# project specific files
|
||||
SRC += keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
drivers/issi/is31fl3733.c \
|
||||
drivers/led/issi/is31fl3733.c \
|
||||
quantum/color.c
|
||||
QUANTUM_LIB_SRC += drivers/chibios/i2c_master.c
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#endif
|
||||
|
||||
#include "nk65.h"
|
||||
#include "drivers/issi/is31fl3733.h"
|
||||
#include "drivers/led/issi/is31fl3733.h"
|
||||
|
||||
/* Indicator LEDS are part of the LED driver
|
||||
* Top LED is blue only. LED driver 2 RGB 7 Green channel
|
||||
|
|
|
@ -31,6 +31,6 @@ LAYOUTS = 65_ansi
|
|||
# project specific files
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
drivers/issi/is31fl3733.c \
|
||||
drivers/led/issi/is31fl3733.c \
|
||||
quantum/color.c \
|
||||
drivers/chibios/i2c_master.c
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#endif
|
||||
|
||||
#include "nk87.h"
|
||||
#include "drivers/issi/is31fl3733.h"
|
||||
#include "drivers/led/issi/is31fl3733.h"
|
||||
|
||||
/* Indicator LEDS are part of the LED driver
|
||||
* Top LED is blue only. LED driver 2 RGB 63 Blue channel
|
||||
|
|
|
@ -32,6 +32,6 @@ CIE1931_CURVE = yes
|
|||
# project specific files
|
||||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
drivers/issi/is31fl3733.c \
|
||||
drivers/led/issi/is31fl3733.c \
|
||||
quantum/color.c \
|
||||
drivers/chibios/i2c_master.c
|
||||
|
|
|
@ -28,7 +28,7 @@ CIE1931_CURVE = yes
|
|||
SRC += keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c
|
||||
drivers/led/issi/is31fl3731.c
|
||||
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
|
||||
|
|
|
@ -34,5 +34,5 @@ LAYOUTS = 60_hhkb
|
|||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
|
|
@ -42,5 +42,5 @@ CIE1931_CURVE = yes
|
|||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
|
|
@ -31,5 +31,5 @@ OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
|
|||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
|
|
@ -31,5 +31,5 @@ OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
|
|||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
|
|
@ -44,5 +44,5 @@ LAYOUTS = 60_hhkb
|
|||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
|
|
@ -31,5 +31,5 @@ OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
|
|||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
|
|
@ -31,5 +31,5 @@ OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
|
|||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
|
|
@ -41,5 +41,5 @@ CIE1931_CURVE = yes
|
|||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3218.c \
|
||||
drivers/led/issi/is31fl3218.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
|
|
@ -34,5 +34,5 @@ CIE1931_CURVE = yes
|
|||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
|
|
@ -30,7 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
|||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# project specific files
|
||||
SRC = drivers/issi/is31fl3736.c \
|
||||
SRC = drivers/led/issi/is31fl3736.c \
|
||||
drivers/avr/i2c_master.c \
|
||||
quantum/color.c \
|
||||
keyboards/wilba_tech/wt_mono_backlight.c \
|
||||
|
|
|
@ -42,5 +42,5 @@ CIE1931_CURVE = yes
|
|||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
|
|
@ -42,5 +42,5 @@ CIE1931_CURVE = yes
|
|||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
|
|
@ -42,5 +42,5 @@ CIE1931_CURVE = yes
|
|||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
|
|
@ -30,7 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
|||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# project specific files
|
||||
SRC = drivers/issi/is31fl3736.c \
|
||||
SRC = drivers/led/issi/is31fl3736.c \
|
||||
drivers/avr/i2c_master.c \
|
||||
quantum/color.c \
|
||||
keyboards/wilba_tech/wt_mono_backlight.c \
|
||||
|
|
|
@ -30,7 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
|||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# project specific files
|
||||
SRC = drivers/issi/is31fl3736.c \
|
||||
SRC = drivers/led/issi/is31fl3736.c \
|
||||
drivers/avr/i2c_master.c \
|
||||
quantum/color.c \
|
||||
keyboards/wilba_tech/wt_mono_backlight.c \
|
||||
|
|
|
@ -30,7 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
|||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# project specific files
|
||||
SRC = drivers/issi/is31fl3736.c \
|
||||
SRC = drivers/led/issi/is31fl3736.c \
|
||||
drivers/avr/i2c_master.c \
|
||||
quantum/color.c \
|
||||
keyboards/wilba_tech/wt_mono_backlight.c \
|
||||
|
|
|
@ -30,7 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
|||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# project specific files
|
||||
SRC = drivers/issi/is31fl3736.c \
|
||||
SRC = drivers/led/issi/is31fl3736.c \
|
||||
drivers/avr/i2c_master.c \
|
||||
quantum/color.c \
|
||||
keyboards/wilba_tech/wt_mono_backlight.c \
|
||||
|
|
|
@ -30,7 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
|||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# project specific files
|
||||
SRC = drivers/issi/is31fl3736.c \
|
||||
SRC = drivers/led/issi/is31fl3736.c \
|
||||
drivers/avr/i2c_master.c \
|
||||
quantum/color.c \
|
||||
keyboards/wilba_tech/wt_mono_backlight.c \
|
||||
|
|
|
@ -30,7 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
|||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# project specific files
|
||||
SRC = drivers/issi/is31fl3736.c \
|
||||
SRC = drivers/led/issi/is31fl3736.c \
|
||||
drivers/avr/i2c_master.c \
|
||||
quantum/color.c \
|
||||
keyboards/wilba_tech/wt_mono_backlight.c \
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#error VIA_EEPROM_CUSTOM_CONFIG_SIZE was not defined to store backlight_config struct
|
||||
#endif
|
||||
|
||||
#include "drivers/issi/is31fl3736.h"
|
||||
#include "drivers/led/issi/is31fl3736.h"
|
||||
|
||||
#define ISSI_ADDR_DEFAULT 0x50
|
||||
|
||||
|
|
|
@ -78,19 +78,19 @@ LED_TYPE g_ws2812_leds[WS2812_LED_TOTAL];
|
|||
#endif
|
||||
|
||||
#if defined(RGB_BACKLIGHT_M6_B)
|
||||
#include "drivers/issi/is31fl3218.h"
|
||||
#include "drivers/led/issi/is31fl3218.h"
|
||||
#define BACKLIGHT_LED_COUNT 6
|
||||
#elif defined(RGB_BACKLIGHT_HS60)
|
||||
#include "drivers/issi/is31fl3733.h"
|
||||
#include "drivers/led/issi/is31fl3733.h"
|
||||
#define BACKLIGHT_LED_COUNT 64
|
||||
#elif defined(RGB_BACKLIGHT_NK65) || defined(RGB_BACKLIGHT_NEBULA68) || defined(RGB_BACKLIGHT_KW_MEGA)
|
||||
#include "drivers/issi/is31fl3733.h"
|
||||
#include "drivers/led/issi/is31fl3733.h"
|
||||
#define BACKLIGHT_LED_COUNT 69
|
||||
#elif defined(RGB_BACKLIGHT_NK87)
|
||||
#include "drivers/issi/is31fl3733.h"
|
||||
#include "drivers/led/issi/is31fl3733.h"
|
||||
#define BACKLIGHT_LED_COUNT 128
|
||||
#else
|
||||
#include "drivers/issi/is31fl3731.h"
|
||||
#include "drivers/led/issi/is31fl3731.h"
|
||||
#if defined(RGB_BACKLIGHT_U80_A)
|
||||
#define BACKLIGHT_LED_COUNT 108
|
||||
#elif defined(RGB_BACKLIGHT_DAWN60)
|
||||
|
|
|
@ -44,5 +44,5 @@ LAYOUTS = 60_ansi 60_iso 60_hhkb 60_ansi_split_bs_rshift
|
|||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
|
|
@ -42,5 +42,5 @@ CIE1931_CURVE = yes
|
|||
SRC = keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
drivers/avr/i2c_master.c
|
||||
|
|
|
@ -42,7 +42,7 @@ CIE1931_CURVE = yes
|
|||
SRC += keyboards/wilba_tech/wt_main.c \
|
||||
keyboards/wilba_tech/wt_rgb_backlight.c \
|
||||
quantum/color.c \
|
||||
drivers/issi/is31fl3731.c \
|
||||
drivers/led/issi/is31fl3731.c \
|
||||
ws2812.c
|
||||
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <i2c_master.h>
|
||||
#include <led_tables.h>
|
||||
#include <rgb_matrix.h>
|
||||
#include "drivers/issi/is31fl3731.h"
|
||||
#include "drivers/led/issi/is31fl3731.h"
|
||||
#include "ws2812.h"
|
||||
#include "rev1_qmk.h"
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ RGB_MATRIX_DRIVER = custom # Enable RGB matrix effects.
|
|||
COMMON_VPATH += $(DRIVER_PATH)/issi
|
||||
|
||||
# project specific files
|
||||
SRC += drivers/issi/is31fl3731.c \
|
||||
SRC += drivers/led/issi/is31fl3731.c \
|
||||
ws2812.c
|
||||
|
||||
QUANTUM_LIB_SRC += i2c_master.c
|
||||
|
|
|
@ -23,7 +23,7 @@ void matrix_io_delay(void) { __asm__ volatile("nop\nnop\nnop\n"); }
|
|||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
#include <i2c_master.h>
|
||||
#include "drivers/issi/is31fl3741.h"
|
||||
#include "drivers/led/issi/is31fl3741.h"
|
||||
const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
|
|
|
@ -29,7 +29,7 @@ RGB_MATRIX_ENABLE = yes
|
|||
RGB_MATRIX_DRIVER = custom
|
||||
|
||||
COMMON_VPATH += $(DRIVER_PATH)/issi
|
||||
SRC += drivers/issi/is31fl3741.c
|
||||
SRC += drivers/led/issi/is31fl3741.c
|
||||
|
||||
LTO_ENABLE = yes
|
||||
OPT = 2
|
||||
|
|
Loading…
Reference in a new issue