mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-04-22 23:21:27 +00:00
💄 Messing around with LCD
This commit is contained in:
parent
7aba645729
commit
fdd9acdae5
@ -33,8 +33,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#include "system/serial_link.h"
|
#include "system/serial_link.h"
|
||||||
#include "default_animations.h"
|
#include "default_animations.h"
|
||||||
|
|
||||||
static const uint32_t logo_background_color = LCD_COLOR(0x00, 0x00, 0xFF);
|
static const uint32_t logo_background_color = LCD_COLOR(0x00, 0x00, 0x00);
|
||||||
static const uint32_t initial_color = LCD_COLOR(0, 0, 0);
|
static const uint32_t initial_color = LCD_COLOR(0x7F, 0xFF, 0xFF);
|
||||||
|
|
||||||
static const uint32_t led_emulation_colors[4] = {
|
static const uint32_t led_emulation_colors[4] = {
|
||||||
LCD_COLOR(0, 0, 0),
|
LCD_COLOR(0, 0, 0),
|
||||||
@ -116,7 +116,7 @@ static keyframe_animation_t lcd_bitmap_leds_animation = {
|
|||||||
void initialize_user_visualizer(visualizer_state_t* state) {
|
void initialize_user_visualizer(visualizer_state_t* state) {
|
||||||
// The brightness will be dynamically adjustable in the future
|
// The brightness will be dynamically adjustable in the future
|
||||||
// But for now, change it here.
|
// But for now, change it here.
|
||||||
lcd_backlight_brightness(130);
|
lcd_backlight_brightness(180);
|
||||||
state->current_lcd_color = initial_color;
|
state->current_lcd_color = initial_color;
|
||||||
state->target_lcd_color = logo_background_color;
|
state->target_lcd_color = logo_background_color;
|
||||||
lcd_state = LCD_STATE_INITIAL;
|
lcd_state = LCD_STATE_INITIAL;
|
||||||
|
Loading…
Reference in New Issue
Block a user