forked from forks/qmk_firmware
21 lines
677 B
C
21 lines
677 B
C
// Copyright 2023 zzeneg (@zzeneg)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "qp_lvgl.h"
|
|
|
|
#define MODS_SHIFT ((get_mods() | get_oneshot_mods()) & MOD_MASK_SHIFT)
|
|
#define MODS_CTRL ((get_mods() | get_oneshot_mods()) & MOD_MASK_CTRL)
|
|
#define MODS_ALT ((get_mods() | get_oneshot_mods()) & MOD_MASK_ALT)
|
|
#define MODS_GUI ((get_mods() | get_oneshot_mods()) & MOD_MASK_GUI)
|
|
|
|
/* shared styles */
|
|
extern lv_style_t style_screen;
|
|
extern lv_style_t style_container;
|
|
extern lv_style_t style_button;
|
|
extern lv_style_t style_button_active;
|
|
|
|
bool display_init_kb(void);
|
|
bool display_init_user(void);
|
|
void display_housekeeping_task(void);
|
|
void display_process_caps(bool active);
|