Move backlight config to data driven (#19910)
This commit is contained in:
@@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define AUDIO_VOICES
|
||||
#define AUDIO_PIN C6
|
||||
|
||||
#define BACKLIGHT_LEVELS 10
|
||||
#define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255}
|
||||
|
||||
#define RGB_DI_PIN F4 // Have to set it to something to get the ws2812 code to compile
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0x6060",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"driver": "custom",
|
||||
"levels": 10
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
@@ -9,7 +9,6 @@
|
||||
#include "lighting.h"
|
||||
#include "debug.h"
|
||||
|
||||
#define BACKLIGHT_BREATHING
|
||||
#include "quantum.h"
|
||||
|
||||
uint16_t click_hz = CLICK_HZ;
|
||||
|
@@ -13,7 +13,6 @@ AUDIO_ENABLE = yes # Audio output
|
||||
|
||||
# RGB code is implemented in lfkeyboards, not WS2812
|
||||
RGBLIGHT_CUSTOM_DRIVER = yes
|
||||
BACKLIGHT_DRIVER = custom
|
||||
SLEEP_LED_ENABLE = yes
|
||||
|
||||
ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
|
||||
|
@@ -13,7 +13,6 @@ AUDIO_ENABLE = yes # Audio output
|
||||
|
||||
# RGB code is implemented in lfkeyboards, not WS2812
|
||||
RGBLIGHT_CUSTOM_DRIVER = yes
|
||||
BACKLIGHT_DRIVER = custom
|
||||
SLEEP_LED_ENABLE = yes
|
||||
|
||||
ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
|
||||
|
Reference in New Issue
Block a user