Corne with display dongle full compilation
This commit is contained in:
parent
44e05230cf
commit
95d732af57
92 changed files with 5264 additions and 1881 deletions
215
config/boards/shields/dongle_display/widgets/modifiers_sym.c
Normal file
215
config/boards/shields/dongle_display/widgets/modifiers_sym.c
Normal file
|
|
@ -0,0 +1,215 @@
|
|||
/*
|
||||
* Copyright (c) 2024 The ZMK Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <lvgl.h>
|
||||
|
||||
#ifndef LV_ATTRIBUTE_MEM_ALIGN
|
||||
#define LV_ATTRIBUTE_MEM_ALIGN
|
||||
#endif
|
||||
|
||||
#ifndef LV_ATTRIBUTE_IMG_CONTROL
|
||||
#define LV_ATTRIBUTE_IMG_CONTROL
|
||||
#endif
|
||||
|
||||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_CONTROL uint8_t control_map[] = {
|
||||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/
|
||||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/
|
||||
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x03, 0x00,
|
||||
0x07, 0x80,
|
||||
0x0c, 0xc0,
|
||||
0x18, 0x60,
|
||||
0x30, 0x30,
|
||||
0x20, 0x10,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
};
|
||||
|
||||
const lv_img_dsc_t control_icon = {
|
||||
.header.cf = LV_IMG_CF_INDEXED_1BIT,
|
||||
.header.always_zero = 0,
|
||||
.header.reserved = 0,
|
||||
.header.w = 14,
|
||||
.header.h = 14,
|
||||
.data_size = 36,
|
||||
.data = control_map,
|
||||
};
|
||||
|
||||
#ifndef LV_ATTRIBUTE_IMG_SHIFT
|
||||
#define LV_ATTRIBUTE_IMG_SHIFT
|
||||
#endif
|
||||
|
||||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_SHIFT uint8_t shift_map[] = {
|
||||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/
|
||||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/
|
||||
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x03, 0x00,
|
||||
0x07, 0x80,
|
||||
0x0c, 0xc0,
|
||||
0x18, 0x60,
|
||||
0x30, 0x30,
|
||||
0x78, 0x78,
|
||||
0x08, 0x40,
|
||||
0x08, 0x40,
|
||||
0x08, 0x40,
|
||||
0x0f, 0xc0,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
};
|
||||
|
||||
const lv_img_dsc_t shift_icon = {
|
||||
.header.cf = LV_IMG_CF_INDEXED_1BIT,
|
||||
.header.always_zero = 0,
|
||||
.header.reserved = 0,
|
||||
.header.w = 14,
|
||||
.header.h = 14,
|
||||
.data_size = 36,
|
||||
.data = shift_map,
|
||||
};
|
||||
|
||||
#ifndef LV_ATTRIBUTE_IMG_ALT
|
||||
#define LV_ATTRIBUTE_IMG_ALT
|
||||
#endif
|
||||
|
||||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_ALT uint8_t alt_map[] = {
|
||||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/
|
||||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/
|
||||
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x32, 0xf8,
|
||||
0x4a, 0x20,
|
||||
0x4a, 0x20,
|
||||
0x7a, 0x20,
|
||||
0x4a, 0x20,
|
||||
0x4b, 0xa0,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
};
|
||||
|
||||
const lv_img_dsc_t alt_icon = {
|
||||
.header.cf = LV_IMG_CF_INDEXED_1BIT,
|
||||
.header.always_zero = 0,
|
||||
.header.reserved = 0,
|
||||
.header.w = 14,
|
||||
.header.h = 14,
|
||||
.data_size = 36,
|
||||
.data = alt_map,
|
||||
};
|
||||
|
||||
#ifndef LV_ATTRIBUTE_IMG_GUI
|
||||
#define LV_ATTRIBUTE_IMG_GUI
|
||||
#endif
|
||||
|
||||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_GUI uint8_t win_map[] = {
|
||||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/
|
||||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/
|
||||
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0xf0,
|
||||
0x0b, 0xf0,
|
||||
0x3b, 0xf0,
|
||||
0x3b, 0xf0,
|
||||
0x3b, 0xf0,
|
||||
0x00, 0x00,
|
||||
0x3b, 0xf0,
|
||||
0x3b, 0xf0,
|
||||
0x3b, 0xf0,
|
||||
0x03, 0xf0,
|
||||
0x00, 0x30,
|
||||
0x00, 0x00,
|
||||
};
|
||||
|
||||
const lv_img_dsc_t win_icon = {
|
||||
.header.cf = LV_IMG_CF_INDEXED_1BIT,
|
||||
.header.always_zero = 0,
|
||||
.header.reserved = 0,
|
||||
.header.w = 14,
|
||||
.header.h = 14,
|
||||
.data_size = 36,
|
||||
.data = win_map,
|
||||
};
|
||||
|
||||
#ifndef LV_ATTRIBUTE_IMG_CMD
|
||||
#define LV_ATTRIBUTE_IMG_CMD
|
||||
#endif
|
||||
|
||||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_CMD uint8_t cmd_map[] = {
|
||||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/
|
||||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/
|
||||
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x18, 0x60,
|
||||
0x24, 0x90,
|
||||
0x24, 0x90,
|
||||
0x1f, 0xe0,
|
||||
0x04, 0x80,
|
||||
0x04, 0x80,
|
||||
0x1f, 0xe0,
|
||||
0x24, 0x90,
|
||||
0x24, 0x90,
|
||||
0x18, 0x60,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
};
|
||||
|
||||
const lv_img_dsc_t cmd_icon = {
|
||||
.header.cf = LV_IMG_CF_INDEXED_1BIT,
|
||||
.header.always_zero = 0,
|
||||
.header.reserved = 0,
|
||||
.header.w = 14,
|
||||
.header.h = 14,
|
||||
.data_size = 36,
|
||||
.data = cmd_map,
|
||||
};
|
||||
|
||||
#ifndef LV_ATTRIBUTE_IMG_OPT
|
||||
#define LV_ATTRIBUTE_IMG_OPT
|
||||
#endif
|
||||
|
||||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_OPT uint8_t opt_map[] = {
|
||||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/
|
||||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/
|
||||
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x3c, 0xe0,
|
||||
0x3c, 0xe0,
|
||||
0x06, 0x00,
|
||||
0x06, 0x00,
|
||||
0x06, 0x00,
|
||||
0x03, 0x00,
|
||||
0x03, 0x00,
|
||||
0x03, 0x00,
|
||||
0x01, 0xe0,
|
||||
0x01, 0xe0,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
};
|
||||
|
||||
const lv_img_dsc_t opt_icon = {
|
||||
.header.cf = LV_IMG_CF_INDEXED_1BIT,
|
||||
.header.always_zero = 0,
|
||||
.header.reserved = 0,
|
||||
.header.w = 14,
|
||||
.header.h = 14,
|
||||
.data_size = 36,
|
||||
.data = opt_map,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue