Merge pull request #12039 from s-hadinger/lvgl_touchscreen

LVGL add support for touchscreen
This commit is contained in:
s-hadinger 2021-05-07 18:47:58 +02:00 committed by GitHub
commit ad43411469
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 4784 additions and 4707 deletions

View File

@ -12,7 +12,8 @@
extern int lv0_start(bvm *vm);
extern int lv0_add_button_encoder(bvm *vm); // add buttons with encoder logic
extern int lv0_register_button_encoder(bvm *vm); // add buttons with encoder logic
extern int lv0_register_touch_screen(bvm *vm); // add touch screen
extern int lv0_load_montserrat_font(bvm *vm);
extern int lv0_load_seg7_font(bvm *vm);
@ -624,7 +625,10 @@ be_native_module_attr_table(lvgl) {
be_native_module_function("start", lv0_start),
be_native_module_function("add_button_encoder", lv0_add_button_encoder),
be_native_module_function("register_button_encoder", lv0_register_button_encoder),
be_native_module_function("register_touch_screen", lv0_register_touch_screen),
be_native_module_function("montserrat_font", lv0_load_montserrat_font),
be_native_module_function("seg7_font", lv0_load_seg7_font),
be_native_module_function("load_font", lv0_load_font),
@ -1175,7 +1179,10 @@ module lvgl (scope: global) {
TEXTAREA_CURSOR_LAST, int(32767)
start, func(lv0_start)
add_button_encoder, func(lv0_add_button_encoder)
register_button_encoder, func(lv0_register_button_encoder)
register_touch_screen, func(lv0_register_touch_screen)
montserrat_font, func(lv0_load_montserrat_font)
seg7_font, func(lv0_load_seg7_font)
load_font, func(lv0_load_font)

View File

@ -16,7 +16,8 @@ extern int lv0_start(bvm *vm);
extern int lv0_init(bvm *vm);
extern int lv0_add_button_encoder(bvm *vm); // add buttons with encoder logic
extern int lv0_register_button_encoder(bvm *vm); // add buttons with encoder logic
extern int lv0_register_touch_screen(bvm *vm); // touch screen
extern int lv0_scr_act(bvm *vm);
extern int lv0_layer_top(bvm *vm);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,473 +1,474 @@
#include "be_constobj.h"
static be_define_const_map_slots(m_liblvgl_map) {
{ be_const_key(DISP_SIZE_MEDIUM, 32), be_const_int(1) },
{ be_const_key(EVENT_DRAG_THROW_BEGIN, -1), be_const_int(10) },
{ be_const_key(TXT_FLAG_FIT, -1), be_const_int(16) },
{ be_const_key(SYMBOL_IMAGE, -1), be_const_str(&be_local_const_str_SYMBOL_IMAGE) },
{ be_const_key(GREEN, 194), be_const_int(32768) },
{ be_const_key(LAYOUT_ROW_MID, -1), be_const_int(6) },
{ be_const_key(TEMPL_STYLE_X, -1), be_const_int(0) },
{ be_const_key(BLEND_MODE_ADDITIVE, -1), be_const_int(1) },
{ be_const_key(FS_RES_TOUT, -1), be_const_int(8) },
{ be_const_key(LABEL_LONG_EXPAND, 349), be_const_int(0) },
{ be_const_key(montserrat_font, 309), be_const_func(lv0_load_montserrat_font) },
{ be_const_key(BORDER_SIDE_INTERNAL, -1), be_const_int(16) },
{ be_const_key(ALIGN_IN_BOTTOM_LEFT, -1), be_const_int(4) },
{ be_const_key(screenshot, -1), be_const_func(lv0_screenshot) },
{ be_const_key(TXT_FLAG_CENTER, 430), be_const_int(4) },
{ be_const_key(TABVIEW_TAB_POS_NONE, -1), be_const_int(0) },
{ be_const_key(LABEL_ALIGN_LEFT, 196), be_const_int(0) },
{ be_const_key(ALIGN_IN_TOP_MID, 93), be_const_int(2) },
{ be_const_key(ALIGN_OUT_TOP_MID, 347), be_const_int(10) },
{ be_const_key(STATE_PRESSED, 454), be_const_int(16) },
{ be_const_key(CHART_CURSOR_RIGHT, -1), be_const_int(1) },
{ be_const_key(STYLE_BG_OPA, -1), be_const_int(44) },
{ be_const_key(STYLE_PAD_BOTTOM, -1), be_const_int(17) },
{ be_const_key(STYLE_SCALE_BORDER_WIDTH, -1), be_const_int(193) },
{ be_const_key(SYMBOL_DUMMY, -1), be_const_str(&be_local_const_str_SYMBOL_DUMMY) },
{ be_const_key(SYMBOL_BELL, -1), be_const_str(&be_local_const_str_SYMBOL_BELL) },
{ be_const_key(SYMBOL_PLUS, 134), be_const_str(&be_local_const_str_SYMBOL_PLUS) },
{ be_const_key(SYMBOL_REFRESH, -1), be_const_str(&be_local_const_str_SYMBOL_REFRESH) },
{ be_const_key(CALENDAR_PART_DATE, 383), be_const_int(3) },
{ be_const_key(ALIGN_OUT_BOTTOM_MID, -1), be_const_int(13) },
{ be_const_key(DRAG_DIR_ONE, -1), be_const_int(4) },
{ be_const_key(SCROLLBAR_MODE_ON, -1), be_const_int(1) },
{ be_const_key(OPA_70, 167), be_const_int(178) },
{ be_const_key(YELLOW, -1), be_const_int(16776960) },
{ be_const_key(CPICKER_PART_MAIN, -1), be_const_int(0) },
{ be_const_key(CHART_PART_BG, -1), be_const_int(0) },
{ be_const_key(STYLE_PAD_LEFT, -1), be_const_int(18) },
{ be_const_key(SYMBOL_TRASH, -1), be_const_str(&be_local_const_str_SYMBOL_TRASH) },
{ be_const_key(get_ver_res, -1), be_const_func(lv0_get_ver_res) },
{ be_const_key(OPA_50, -1), be_const_int(127) },
{ be_const_key(OLIVE, 330), be_const_int(8421376) },
{ be_const_key(STYLE_IMAGE_RECOLOR, 111), be_const_int(32937) },
{ be_const_key(SYMBOL_WARNING, -1), be_const_str(&be_local_const_str_SYMBOL_WARNING) },
{ be_const_key(OBJ_PART_ALL, -1), be_const_int(255) },
{ be_const_key(DROPDOWN_DIR_LEFT, -1), be_const_int(2) },
{ be_const_key(TEXT_DECOR_UNDERLINE, 105), be_const_int(1) },
{ be_const_key(ARC_PART_INDIC, -1), be_const_int(1) },
{ be_const_key(ALIGN_OUT_TOP_RIGHT, 319), be_const_int(11) },
{ be_const_key(CHART_CURSOR_DOWN, 59), be_const_int(8) },
{ be_const_key(STYLE_PATTERN_REPEAT, -1), be_const_int(97) },
{ be_const_key(TABVIEW_TAB_POS_LEFT, -1), be_const_int(3) },
{ be_const_key(FS_RES_HW_ERR, -1), be_const_int(1) },
{ be_const_key(ALIGN_CENTER, 18), be_const_int(0) },
{ be_const_key(LAYOUT_COLUMN_LEFT, 209), be_const_int(2) },
{ be_const_key(TABVIEW_TAB_POS_BOTTOM, -1), be_const_int(2) },
{ be_const_key(EVENT_REFRESH, 341), be_const_int(18) },
{ be_const_key(DROPDOWN_DIR_UP, -1), be_const_int(1) },
{ be_const_key(EVENT_DELETE, 65), be_const_int(21) },
{ be_const_key(OPA_10, 146), be_const_int(25) },
{ be_const_key(EVENT_KEY, -1), be_const_int(12) },
{ be_const_key(LIST_PART_EDGE_FLASH, 219), be_const_int(2) },
{ be_const_key(KEYBOARD_MODE_TEXT_UPPER, -1), be_const_int(1) },
{ be_const_key(GAUGE_PART_NEEDLE, -1), be_const_int(2) },
{ be_const_key(LABEL_LONG_CROP, -1), be_const_int(5) },
{ be_const_key(STYLE_SHADOW_OPA, 327), be_const_int(92) },
{ be_const_key(BTNMATRIX_CTRL_DISABLED, -1), be_const_int(32) },
{ be_const_key(TXT_CMD_STATE_WAIT, -1), be_const_int(0) },
{ be_const_key(SPINNER_TYPE_CONSTANT_ARC, -1), be_const_int(2) },
{ be_const_key(OPA_20, 414), be_const_int(51) },
{ be_const_key(LABEL_LONG_SROLL_CIRC, 218), be_const_int(4) },
{ be_const_key(DISP_ROT_NONE, -1), be_const_int(0) },
{ be_const_key(ALIGN_OUT_RIGHT_MID, 308), be_const_int(19) },
{ be_const_key(KEYBOARD_MODE_TEXT_LOWER, -1), be_const_int(0) },
{ be_const_key(SYMBOL_UP, -1), be_const_str(&be_local_const_str_SYMBOL_UP) },
{ be_const_key(STYLE_BG_BLEND_MODE, 282), be_const_int(32) },
{ be_const_key(BORDER_SIDE_FULL, -1), be_const_int(15) },
{ be_const_key(ARC_TYPE_NORMAL, 445), be_const_int(0) },
{ be_const_key(SYMBOL_BATTERY_EMPTY, 243), be_const_str(&be_local_const_str_SYMBOL_BATTERY_EMPTY) },
{ be_const_key(GESTURE_DIR_TOP, 351), be_const_int(0) },
{ be_const_key(ALIGN_OUT_TOP_LEFT, -1), be_const_int(9) },
{ be_const_key(LABEL_LONG_SROLL, -1), be_const_int(3) },
{ be_const_key(SYMBOL_LEFT, 63), be_const_str(&be_local_const_str_SYMBOL_LEFT) },
{ be_const_key(SYMBOL_BATTERY_2, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_2) },
{ be_const_key(LABEL_ALIGN_CENTER, -1), be_const_int(1) },
{ be_const_key(STYLE_IMAGE_RECOLOR_OPA, -1), be_const_int(32941) },
{ be_const_key(LAYOUT_CENTER, -1), be_const_int(1) },
{ be_const_key(KEY_NEXT, -1), be_const_int(9) },
{ be_const_key(CALENDAR_PART_HEADER, -1), be_const_int(1) },
{ be_const_key(GRAY, -1), be_const_int(8421504) },
{ be_const_key(DISP_SIZE_SMALL, -1), be_const_int(0) },
{ be_const_key(SYMBOL_EYE_CLOSE, -1), be_const_str(&be_local_const_str_SYMBOL_EYE_CLOSE) },
{ be_const_key(FIT_TIGHT, -1), be_const_int(1) },
{ be_const_key(scr_act, -1), be_const_func(lv0_scr_act) },
{ be_const_key(BORDER_SIDE_LEFT, -1), be_const_int(4) },
{ be_const_key(STYLE_TEXT_BLEND_MODE, 259), be_const_int(32899) },
{ be_const_key(BTNMATRIX_CTRL_CHECKABLE, 440), be_const_int(64) },
{ be_const_key(SYMBOL_DRIVE, -1), be_const_str(&be_local_const_str_SYMBOL_DRIVE) },
{ be_const_key(SYMBOL_NEXT, 7), be_const_str(&be_local_const_str_SYMBOL_NEXT) },
{ be_const_key(SPINNER_DIR_BACKWARD, -1), be_const_int(1) },
{ be_const_key(TEMPL_STYLE_Y, 406), be_const_int(1) },
{ be_const_key(STYLE_BG_GRAD_STOP, 429), be_const_int(34) },
{ be_const_key(FS_RES_OUT_OF_MEM, -1), be_const_int(10) },
{ be_const_key(PAGE_EDGE_TOP, -1), be_const_int(2) },
{ be_const_key(PROTECT_NONE, 331), be_const_int(0) },
{ be_const_key(STYLE_OUTLINE_WIDTH, -1), be_const_int(64) },
{ be_const_key(GRAD_DIR_VER, 117), be_const_int(1) },
{ be_const_key(KEY_END, -1), be_const_int(3) },
{ be_const_key(PROTECT_PRESS_LOST, -1), be_const_int(16) },
{ be_const_key(FS_RES_INV_PARAM, -1), be_const_int(11) },
{ be_const_key(TXT_FLAG_RIGHT, 339), be_const_int(8) },
{ be_const_key(STYLE_SCALE_WIDTH, -1), be_const_int(192) },
{ be_const_key(EVENT_PRESSING, -1), be_const_int(1) },
{ be_const_key(ROLLER_MODE_INFINITE, 29), be_const_int(1) },
{ be_const_key(SYMBOL_SHUFFLE, -1), be_const_str(&be_local_const_str_SYMBOL_SHUFFLE) },
{ be_const_key(STYLE_SHADOW_OFS_Y, -1), be_const_int(82) },
{ be_const_key(DRAG_DIR_HOR, -1), be_const_int(1) },
{ be_const_key(BAR_TYPE_SYMMETRICAL, -1), be_const_int(1) },
{ be_const_key(ALIGN_OUT_LEFT_BOTTOM, 328), be_const_int(17) },
{ be_const_key(SYMBOL_CUT, 247), be_const_str(&be_local_const_str_SYMBOL_CUT) },
{ be_const_key(ARC_PART_KNOB, 362), be_const_int(2) },
{ be_const_key(OPA_80, -1), be_const_int(204) },
{ be_const_key(STYLE_TRANSFORM_ANGLE, 58), be_const_int(6) },
{ be_const_key(TEXT_DECOR_NONE, 179), be_const_int(0) },
{ be_const_key(SYMBOL_PASTE, 288), be_const_str(&be_local_const_str_SYMBOL_PASTE) },
{ be_const_key(CPICKER_COLOR_MODE_VALUE, -1), be_const_int(2) },
{ be_const_key(STYLE_PATTERN_IMAGE, 210), be_const_int(110) },
{ be_const_key(STYLE_IMAGE_BLEND_MODE, -1), be_const_int(32928) },
{ be_const_key(CHART_TYPE_NONE, -1), be_const_int(0) },
{ be_const_key(BTNMATRIX_CTRL_NO_REPEAT, 88), be_const_int(16) },
{ be_const_key(EVENT_LEAVE, 138), be_const_int(15) },
{ be_const_key(CHECKBOX_PART_BG, 252), be_const_int(0) },
{ be_const_key(STATE_DISABLED, 107), be_const_int(32) },
{ be_const_key(STYLE_PATTERN_RECOLOR, 238), be_const_int(105) },
{ be_const_key(INDEV_STATE_REL, -1), be_const_int(0) },
{ be_const_key(BTN_STATE_CHECKED_DISABLED, -1), be_const_int(5) },
{ be_const_key(EVENT_INSERT, -1), be_const_int(17) },
{ be_const_key(LINEMETER_PART_MAIN, -1), be_const_int(0) },
{ be_const_key(start, -1), be_const_func(lv0_start) },
{ be_const_key(OPA_90, -1), be_const_int(229) },
{ be_const_key(STYLE_SHADOW_SPREAD, -1), be_const_int(83) },
{ be_const_key(ALIGN_IN_RIGHT_MID, -1), be_const_int(8) },
{ be_const_key(SYMBOL_BATTERY_3, 360), be_const_str(&be_local_const_str_SYMBOL_BATTERY_3) },
{ be_const_key(LIME, -1), be_const_int(65280) },
{ be_const_key(BAR_TYPE_CUSTOM, -1), be_const_int(2) },
{ be_const_key(LIST_PART_SCROLLBAR, 166), be_const_int(1) },
{ be_const_key(STYLE_LINE_ROUNDED, -1), be_const_int(148) },
{ be_const_key(STYLE_TRANSFORM_HEIGHT, 298), be_const_int(5) },
{ be_const_key(PROTECT_POS, 177), be_const_int(4) },
{ be_const_key(CHART_AXIS_SECONDARY_Y, -1), be_const_int(1) },
{ be_const_key(TEAL, -1), be_const_int(32896) },
{ be_const_key(SCROLLBAR_MODE_HIDE, -1), be_const_int(4) },
{ be_const_key(SYMBOL_WIFI, 215), be_const_str(&be_local_const_str_SYMBOL_WIFI) },
{ be_const_key(DROPDOWN_PART_MAIN, -1), be_const_int(0) },
{ be_const_key(FIT_PARENT, 416), be_const_int(2) },
{ be_const_key(ALIGN_OUT_BOTTOM_LEFT, -1), be_const_int(12) },
{ be_const_key(GRAD_DIR_HOR, -1), be_const_int(2) },
{ be_const_key(STYLE_OUTLINE_OPA, 229), be_const_int(76) },
{ be_const_key(DROPDOWN_PART_SCROLLBAR, -1), be_const_int(65) },
{ be_const_key(LAYOUT_GRID, 426), be_const_int(11) },
{ be_const_key(LAYOUT_COLUMN_RIGHT, -1), be_const_int(4) },
{ be_const_key(HSPI, 149), be_const_int(0) },
{ be_const_key(KEYBOARD_PART_BTN, 0), be_const_int(1) },
{ be_const_key(KEYBOARD_MODE_SPECIAL, -1), be_const_int(2) },
{ be_const_key(CHART_AXIS_DRAW_LAST_TICK, -1), be_const_int(1) },
{ be_const_key(PROTECT_CHILD_CHG, 432), be_const_int(1) },
{ be_const_key(TXT_FLAG_RECOLOR, -1), be_const_int(1) },
{ be_const_key(FS_MODE_WR, 345), be_const_int(1) },
{ be_const_key(CPICKER_PART_KNOB, -1), be_const_int(1) },
{ be_const_key(OPA_TRANSP, 336), be_const_int(0) },
{ be_const_key(STYLE_BG_MAIN_STOP, 184), be_const_int(33) },
{ be_const_key(EVENT_DRAG_END, 40), be_const_int(9) },
{ be_const_key(seg7_font, -1), be_const_func(lv0_load_seg7_font) },
{ be_const_key(KEYBOARD_PART_BG, -1), be_const_int(0) },
{ be_const_key(STYLE_OUTLINE_BLEND_MODE, 304), be_const_int(66) },
{ be_const_key(KEY_ESC, -1), be_const_int(27) },
{ be_const_key(CHART_TYPE_COLUMN, 46), be_const_int(2) },
{ be_const_key(EVENT_VALUE_CHANGED, -1), be_const_int(16) },
{ be_const_key(CPICKER_TYPE_DISC, -1), be_const_int(1) },
{ be_const_key(SYMBOL_PLAY, -1), be_const_str(&be_local_const_str_SYMBOL_PLAY) },
{ be_const_key(DROPDOWN_DIR_DOWN, -1), be_const_int(0) },
{ be_const_key(LAYOUT_ROW_BOTTOM, 227), be_const_int(7) },
{ be_const_key(BTNMATRIX_CTRL_CLICK_TRIG, -1), be_const_int(256) },
{ be_const_key(STYLE_TEXT_FONT, -1), be_const_int(32910) },
{ be_const_key(EVENT_RELEASED, 48), be_const_int(7) },
{ be_const_key(SYMBOL_COPY, -1), be_const_str(&be_local_const_str_SYMBOL_COPY) },
{ be_const_key(ALIGN_IN_BOTTOM_RIGHT, 108), be_const_int(6) },
{ be_const_key(SYMBOL_SD_CARD, -1), be_const_str(&be_local_const_str_SYMBOL_SD_CARD) },
{ be_const_key(CHART_PART_SERIES, -1), be_const_int(2) },
{ be_const_key(FS_RES_NOT_IMP, -1), be_const_int(9) },
{ be_const_key(SYMBOL_EYE_OPEN, -1), be_const_str(&be_local_const_str_SYMBOL_EYE_OPEN) },
{ be_const_key(SYMBOL_BULLET, -1), be_const_str(&be_local_const_str_SYMBOL_BULLET) },
{ be_const_key(STYLE_LINE_DASH_WIDTH, -1), be_const_int(146) },
{ be_const_key(CHART_CURSOR_UP, -1), be_const_int(2) },
{ be_const_key(ALIGN_IN_LEFT_MID, -1), be_const_int(7) },
{ be_const_key(LABEL_ALIGN_RIGHT, -1), be_const_int(2) },
{ be_const_key(I2C, -1), be_const_int(1) },
{ be_const_key(CPICKER_COLOR_MODE_HUE, -1), be_const_int(0) },
{ be_const_key(ANIM_ON, -1), be_const_int(1) },
{ be_const_key(FS_RES_UNKNOWN, -1), be_const_int(12) },
{ be_const_key(LIST_PART_BG, -1), be_const_int(0) },
{ be_const_key(SYMBOL_PAUSE, -1), be_const_str(&be_local_const_str_SYMBOL_PAUSE) },
{ be_const_key(MAROON, 435), be_const_int(8388608) },
{ be_const_key(OBJ_PART_MAIN, -1), be_const_int(0) },
{ be_const_key(STYLE_SHADOW_OFS_X, -1), be_const_int(81) },
{ be_const_key(get_hor_res, -1), be_const_func(lv0_get_hor_res) },
{ be_const_key(EVENT_CLICKED, -1), be_const_int(6) },
{ be_const_key(PROTECT_CLICK_FOCUS, -1), be_const_int(32) },
{ be_const_key(STYLE_SHADOW_COLOR, -1), be_const_int(89) },
{ be_const_key(SYMBOL_STOP, -1), be_const_str(&be_local_const_str_SYMBOL_STOP) },
{ be_const_key(STYLE_SIZE, -1), be_const_int(3) },
{ be_const_key(VSPI, -1), be_const_int(1) },
{ be_const_key(DISP_ROT_180, 3), be_const_int(2) },
{ be_const_key(STYLE_TRANSITION_PATH, -1), be_const_int(190) },
{ be_const_key(NAVY, -1), be_const_int(128) },
{ be_const_key(SYMBOL_MINUS, -1), be_const_str(&be_local_const_str_SYMBOL_MINUS) },
{ be_const_key(EVENT_GESTURE, -1), be_const_int(11) },
{ be_const_key(BTN_STATE_PRESSED, -1), be_const_int(1) },
{ be_const_key(ROLLER_MODE_NORMAL, -1), be_const_int(0) },
{ be_const_key(STYLE_OUTLINE_COLOR, -1), be_const_int(73) },
{ be_const_key(LABEL_LONG_DOT, -1), be_const_int(2) },
{ be_const_key(TXT_CMD_STATE_IN, 197), be_const_int(2) },
{ be_const_key(TXT_FLAG_NONE, 420), be_const_int(0) },
{ be_const_key(GAUGE_PART_MAIN, 231), be_const_int(0) },
{ be_const_key(CPICKER_COLOR_MODE_SATURATION, 73), be_const_int(1) },
{ be_const_key(STYLE_SCALE_GRAD_COLOR, 449), be_const_int(201) },
{ be_const_key(SPINNER_TYPE_SPINNING_ARC, -1), be_const_int(0) },
{ be_const_key(STYLE_TEXT_LETTER_SPACE, -1), be_const_int(32896) },
{ be_const_key(ALIGN_OUT_BOTTOM_RIGHT, 74), be_const_int(14) },
{ be_const_key(KEY_PREV, 181), be_const_int(11) },
{ be_const_key(EVENT_CANCEL, -1), be_const_int(20) },
{ be_const_key(STYLE_BORDER_WIDTH, -1), be_const_int(48) },
{ be_const_key(LABEL_LONG_BREAK, -1), be_const_int(1) },
{ be_const_key(ARC_TYPE_REVERSE, -1), be_const_int(2) },
{ be_const_key(STYLE_TRANSITION_PROP_4, 16), be_const_int(181) },
{ be_const_key(SYMBOL_RIGHT, -1), be_const_str(&be_local_const_str_SYMBOL_RIGHT) },
{ be_const_key(FS_RES_FS_ERR, 232), be_const_int(2) },
{ be_const_key(STYLE_PAD_TOP, 456), be_const_int(16) },
{ be_const_key(CHECKBOX_PART_BULLET, -1), be_const_int(64) },
{ be_const_key(SILVER, -1), be_const_int(12632256) },
{ be_const_key(TXT_FLAG_EXPAND, -1), be_const_int(2) },
{ be_const_key(STYLE_VALUE_BLEND_MODE, 418), be_const_int(114) },
{ be_const_key(TABVIEW_TAB_POS_RIGHT, -1), be_const_int(4) },
{ be_const_key(SSPI, -1), be_const_int(2) },
{ be_const_key(SLIDER_TYPE_NORMAL, -1), be_const_int(0) },
{ be_const_key(TEXT_DECOR_STRIKETHROUGH, -1), be_const_int(2) },
{ be_const_key(LAYOUT_PRETTY_MID, -1), be_const_int(9) },
{ be_const_key(ANIM_OFF, -1), be_const_int(0) },
{ be_const_key(STATE_DEFAULT, -1), be_const_int(0) },
{ be_const_key(LAYOUT_COLUMN_MID, -1), be_const_int(3) },
{ be_const_key(STYLE_TEXT_OPA, -1), be_const_int(32908) },
{ be_const_key(STYLE_TRANSITION_PROP_1, -1), be_const_int(178) },
{ be_const_key(STYLE_CLIP_CORNER, 125), be_const_int(2) },
{ be_const_key(SPINNER_TYPE_FILLSPIN_ARC, 291), be_const_int(1) },
{ be_const_key(FS_RES_DENIED, 20), be_const_int(6) },
{ be_const_key(INDEV_STATE_PR, -1), be_const_int(1) },
{ be_const_key(BLEND_MODE_SUBTRACTIVE, -1), be_const_int(2) },
{ be_const_key(KEY_UP, -1), be_const_int(17) },
{ be_const_key(STYLE_TEXT_SEL_COLOR, -1), be_const_int(32906) },
{ be_const_key(SYMBOL_FILE, -1), be_const_str(&be_local_const_str_SYMBOL_FILE) },
{ be_const_key(STYLE_BORDER_OPA, -1), be_const_int(60) },
{ be_const_key(BTN_STATE_DISABLED, 279), be_const_int(2) },
{ be_const_key(FIT_NONE, -1), be_const_int(0) },
{ be_const_key(layer_sys, 296), be_const_func(lv0_layer_sys) },
{ be_const_key(BTN_STATE_RELEASED, -1), be_const_int(0) },
{ be_const_key(STYLE_OPA_SCALE, -1), be_const_int(32780) },
{ be_const_key(SPINNER_DIR_FORWARD, 295), be_const_int(0) },
{ be_const_key(STYLE_BG_GRAD_COLOR, -1), be_const_int(42) },
{ be_const_key(STYLE_TEXT_COLOR, -1), be_const_int(32905) },
{ be_const_key(CHART_UPDATE_MODE_SHIFT, 262), be_const_int(0) },
{ be_const_key(SYMBOL_CHARGE, 419), be_const_str(&be_local_const_str_SYMBOL_CHARGE) },
{ be_const_key(STATE_FOCUSED, -1), be_const_int(2) },
{ be_const_key(KEY_RIGHT, -1), be_const_int(19) },
{ be_const_key(BORDER_SIDE_NONE, 189), be_const_int(0) },
{ be_const_key(PAGE_EDGE_RIGHT, -1), be_const_int(4) },
{ be_const_key(STATE_CHECKED, -1), be_const_int(1) },
{ be_const_key(STYLE_BORDER_SIDE, 61), be_const_int(49) },
{ be_const_key(STYLE_BG_COLOR, 460), be_const_int(41) },
{ be_const_key(BTNMATRIX_CTRL_CHECK_STATE, -1), be_const_int(128) },
{ be_const_key(FS_RES_LOCKED, 119), be_const_int(5) },
{ be_const_key(STYLE_LINE_OPA, -1), be_const_int(156) },
{ be_const_key(CPICKER_TYPE_RECT, 350), be_const_int(0) },
{ be_const_key(SYMBOL_PREV, 301), be_const_str(&be_local_const_str_SYMBOL_PREV) },
{ be_const_key(ALIGN_OUT_RIGHT_BOTTOM, -1), be_const_int(20) },
{ be_const_key(SCROLLBAR_MODE_OFF, 201), be_const_int(0) },
{ be_const_key(BORDER_SIDE_RIGHT, -1), be_const_int(8) },
{ be_const_key(STYLE_RADIUS, -1), be_const_int(1) },
{ be_const_key(SYMBOL_CLOSE, -1), be_const_str(&be_local_const_str_SYMBOL_CLOSE) },
{ be_const_key(PROTECT_PARENT, -1), be_const_int(2) },
{ be_const_key(STYLE_OUTLINE_PAD, -1), be_const_int(65) },
{ be_const_key(ALIGN_OUT_LEFT_TOP, -1), be_const_int(15) },
{ be_const_key(EVENT_DEFOCUSED, -1), be_const_int(14) },
{ be_const_key(STYLE_PATTERN_OPA, -1), be_const_int(108) },
{ be_const_key(SLIDER_TYPE_RANGE, -1), be_const_int(2) },
{ be_const_key(OPA_100, -1), be_const_int(255) },
{ be_const_key(SYMBOL_DOWNLOAD, -1), be_const_str(&be_local_const_str_SYMBOL_DOWNLOAD) },
{ be_const_key(KEY_BACKSPACE, -1), be_const_int(8) },
{ be_const_key(PAGE_EDGE_LEFT, -1), be_const_int(1) },
{ be_const_key(ARC_PART_BG, 448), be_const_int(0) },
{ be_const_key(STYLE_SCALE_END_BORDER_WIDTH, 316), be_const_int(194) },
{ be_const_key(STYLE_PATTERN_BLEND_MODE, -1), be_const_int(96) },
{ be_const_key(BLACK, 208), be_const_int(0) },
{ be_const_key(STYLE_SCALE_END_COLOR, -1), be_const_int(202) },
{ be_const_key(EVENT_DRAG_BEGIN, 43), be_const_int(8) },
{ be_const_key(GESTURE_DIR_LEFT, 434), be_const_int(2) },
{ be_const_key(DRAG_DIR_VER, -1), be_const_int(2) },
{ be_const_key(DISP_SIZE_LARGE, -1), be_const_int(2) },
{ be_const_key(STYLE_VALUE_OFS_X, -1), be_const_int(115) },
{ be_const_key(BLUE, -1), be_const_int(255) },
{ be_const_key(BORDER_SIDE_TOP, -1), be_const_int(2) },
{ be_const_key(SYMBOL_AUDIO, 6), be_const_str(&be_local_const_str_SYMBOL_AUDIO) },
{ be_const_key(STYLE_SHADOW_WIDTH, 101), be_const_int(80) },
{ be_const_key(LAYOUT_ROW_TOP, 326), be_const_int(5) },
{ be_const_key(ALIGN_IN_TOP_LEFT, 311), be_const_int(1) },
{ be_const_key(STYLE_PATTERN_RECOLOR_OPA, -1), be_const_int(109) },
{ be_const_key(LAYOUT_PRETTY_TOP, 94), be_const_int(8) },
{ be_const_key(OPA_30, 248), be_const_int(76) },
{ be_const_key(GESTURE_DIR_RIGHT, -1), be_const_int(3) },
{ be_const_key(STYLE_VALUE_OPA, -1), be_const_int(124) },
{ be_const_key(CHART_PART_CURSOR, -1), be_const_int(3) },
{ be_const_key(GAUGE_PART_MAJOR, -1), be_const_int(1) },
{ be_const_key(FS_RES_OK, 12), be_const_int(0) },
{ be_const_key(STYLE_BORDER_COLOR, -1), be_const_int(57) },
{ be_const_key(DISP_SIZE_EXTRA_LARGE, -1), be_const_int(3) },
{ be_const_key(SYMBOL_BATTERY_FULL, 370), be_const_str(&be_local_const_str_SYMBOL_BATTERY_FULL) },
{ be_const_key(KEY_DEL, 116), be_const_int(127) },
{ be_const_key(CHART_CURSOR_NONE, 292), be_const_int(0) },
{ be_const_key(EVENT_PRESSED, 394), be_const_int(0) },
{ be_const_key(STYLE_VALUE_LINE_SPACE, -1), be_const_int(113) },
{ be_const_key(STYLE_TEXT_SEL_BG_COLOR, -1), be_const_int(32907) },
{ be_const_key(PURPLE, 160), be_const_int(8388736) },
{ be_const_key(LAYOUT_PRETTY_BOTTOM, -1), be_const_int(10) },
{ be_const_key(SYMBOL_VOLUME_MAX, -1), be_const_str(&be_local_const_str_SYMBOL_VOLUME_MAX) },
{ be_const_key(SLIDER_TYPE_SYMMETRICAL, -1), be_const_int(1) },
{ be_const_key(SYMBOL_HOME, 392), be_const_str(&be_local_const_str_SYMBOL_HOME) },
{ be_const_key(CHART_AXIS_PRIMARY_Y, -1), be_const_int(0) },
{ be_const_key(STYLE_SHADOW_BLEND_MODE, 393), be_const_int(84) },
{ be_const_key(STYLE_TEXT_LINE_SPACE, -1), be_const_int(32897) },
{ be_const_key(BTNMATRIX_CTRL_HIDDEN, 207), be_const_int(8) },
{ be_const_key(STYLE_LINE_WIDTH, 198), be_const_int(144) },
{ be_const_key(CALENDAR_PART_DAY_NAMES, -1), be_const_int(2) },
{ be_const_key(OBJMASK_PART_MAIN, 53), be_const_int(0) },
{ be_const_key(STYLE_TRANSITION_PROP_2, -1), be_const_int(179) },
{ be_const_key(SYMBOL_EDIT, -1), be_const_str(&be_local_const_str_SYMBOL_EDIT) },
{ be_const_key(KEY_DOWN, -1), be_const_int(18) },
{ be_const_key(SYMBOL_LIST, 120), be_const_str(&be_local_const_str_SYMBOL_LIST) },
{ be_const_key(STYLE_TRANSITION_PROP_5, -1), be_const_int(182) },
{ be_const_key(GESTURE_DIR_BOTTOM, -1), be_const_int(1) },
{ be_const_key(PAGE_EDGE_BOTTOM, 82), be_const_int(8) },
{ be_const_key(STYLE_TRANSFORM_WIDTH, -1), be_const_int(4) },
{ be_const_key(EVENT_LONG_PRESSED, -1), be_const_int(4) },
{ be_const_key(CYAN, 37), be_const_int(65535) },
{ be_const_key(STYLE_TRANSITION_TIME, -1), be_const_int(176) },
{ be_const_key(STYLE_VALUE_LETTER_SPACE, -1), be_const_int(112) },
{ be_const_key(FS_RES_FULL, 266), be_const_int(4) },
{ be_const_key(ARC_TYPE_SYMMETRIC, -1), be_const_int(1) },
{ be_const_key(STYLE_SCALE_END_LINE_WIDTH, -1), be_const_int(195) },
{ be_const_key(FS_MODE_RD, 367), be_const_int(2) },
{ be_const_key(TEXTAREA_CURSOR_LAST, 373), be_const_int(32767) },
{ be_const_key(GRAD_DIR_NONE, 284), be_const_int(0) },
{ be_const_key(STYLE_MARGIN_TOP, 385), be_const_int(21) },
{ be_const_key(SPI, -1), be_const_int(0) },
{ be_const_key(load_font, -1), be_const_func(lv0_load_font) },
{ be_const_key(EVENT_SHORT_CLICKED, -1), be_const_int(3) },
{ be_const_key(CHART_UPDATE_MODE_CIRCULAR, 122), be_const_int(1) },
{ be_const_key(SYMBOL_UPLOAD, 137), be_const_str(&be_local_const_str_SYMBOL_UPLOAD) },
{ be_const_key(DROPDOWN_DIR_RIGHT, -1), be_const_int(3) },
{ be_const_key(PROTECT_FOLLOW, 303), be_const_int(8) },
{ be_const_key(SYMBOL_BATTERY_1, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_1) },
{ be_const_key(WHITE, -1), be_const_int(16777215) },
{ be_const_key(SCROLLBAR_MODE_UNHIDE, 447), be_const_int(8) },
{ be_const_key(ALIGN_IN_BOTTOM_MID, -1), be_const_int(5) },
{ be_const_key(STYLE_TRANSFORM_ZOOM, -1), be_const_int(7) },
{ be_const_key(OPA_60, -1), be_const_int(153) },
{ be_const_key(SYMBOL_DIRECTORY, 405), be_const_str(&be_local_const_str_SYMBOL_DIRECTORY) },
{ be_const_key(EVENT_APPLY, -1), be_const_int(19) },
{ be_const_key(SYMBOL_EJECT, -1), be_const_str(&be_local_const_str_SYMBOL_EJECT) },
{ be_const_key(PROTECT_EVENT_TO_DISABLED, -1), be_const_int(64) },
{ be_const_key(OPA_COVER, 441), be_const_int(255) },
{ be_const_key(TXT_CMD_STATE_PAR, -1), be_const_int(1) },
{ be_const_key(CALENDAR_PART_BG, 80), be_const_int(0) },
{ be_const_key(MAGENTA, 352), be_const_int(16711935) },
{ be_const_key(LAYOUT_OFF, 377), be_const_int(0) },
{ be_const_key(SYMBOL_CALL, -1), be_const_str(&be_local_const_str_SYMBOL_CALL) },
{ be_const_key(EVENT_PRESS_LOST, 436), be_const_int(2) },
{ be_const_key(ALIGN_OUT_LEFT_MID, -1), be_const_int(16) },
{ be_const_key(BAR_TYPE_NORMAL, -1), be_const_int(0) },
{ be_const_key(BTN_STATE_CHECKED_PRESSED, -1), be_const_int(4) },
{ be_const_key(DRAG_DIR_BOTH, -1), be_const_int(3) },
{ be_const_key(layer_top, -1), be_const_func(lv0_layer_top) },
{ be_const_key(DROPDOWN_PART_LIST, -1), be_const_int(64) },
{ be_const_key(BLEND_MODE_NORMAL, -1), be_const_int(0) },
{ be_const_key(SYMBOL_KEYBOARD, -1), be_const_str(&be_local_const_str_SYMBOL_KEYBOARD) },
{ be_const_key(STYLE_BORDER_BLEND_MODE, -1), be_const_int(50) },
{ be_const_key(STYLE_LINE_BLEND_MODE, 364), be_const_int(145) },
{ be_const_key(STYLE_VALUE_FONT, 444), be_const_int(126) },
{ be_const_key(STYLE_VALUE_OFS_Y, -1), be_const_int(116) },
{ be_const_key(KEY_LEFT, -1), be_const_int(20) },
{ be_const_key(DISP_ROT_270, -1), be_const_int(3) },
{ be_const_key(RED, -1), be_const_int(16711680) },
{ be_const_key(CHART_AXIS_INVERSE_LABELS_ORDER, -1), be_const_int(2) },
{ be_const_key(STATE_HOVERED, -1), be_const_int(8) },
{ be_const_key(SYMBOL_SAVE, -1), be_const_str(&be_local_const_str_SYMBOL_SAVE) },
{ be_const_key(LED_PART_MAIN, 212), be_const_int(0) },
{ be_const_key(SYMBOL_SETTINGS, 409), be_const_str(&be_local_const_str_SYMBOL_SETTINGS) },
{ be_const_key(CHART_AXIS_SKIP_LAST_TICK, 265), be_const_int(0) },
{ be_const_key(BTN_STATE_CHECKED_RELEASED, -1), be_const_int(3) },
{ be_const_key(STYLE_PAD_RIGHT, -1), be_const_int(19) },
{ be_const_key(FS_RES_BUSY, 237), be_const_int(7) },
{ be_const_key(SCROLLBAR_MODE_DRAG, -1), be_const_int(2) },
{ be_const_key(BORDER_SIDE_BOTTOM, -1), be_const_int(1) },
{ be_const_key(KEY_HOME, 47), be_const_int(2) },
{ be_const_key(STYLE_TRANSITION_PROP_6, -1), be_const_int(183) },
{ be_const_key(OPA_40, -1), be_const_int(102) },
{ be_const_key(SYMBOL_MUTE, -1), be_const_str(&be_local_const_str_SYMBOL_MUTE) },
{ be_const_key(SYMBOL_LOOP, -1), be_const_str(&be_local_const_str_SYMBOL_LOOP) },
{ be_const_key(SCROLLBAR_MODE_AUTO, 154), be_const_int(3) },
{ be_const_key(KEY_ENTER, -1), be_const_int(10) },
{ be_const_key(SYMBOL_NEW_LINE, -1), be_const_str(&be_local_const_str_SYMBOL_NEW_LINE) },
{ be_const_key(SYMBOL_DOWN, -1), be_const_str(&be_local_const_str_SYMBOL_DOWN) },
{ be_const_key(STYLE_VALUE_ALIGN, -1), be_const_int(117) },
{ be_const_key(FIT_MAX, -1), be_const_int(3) },
{ be_const_key(STYLE_LINE_DASH_GAP, 452), be_const_int(147) },
{ be_const_key(SYMBOL_OK, -1), be_const_str(&be_local_const_str_SYMBOL_OK) },
{ be_const_key(OBJ_PART_VIRTUAL_FIRST, -1), be_const_int(1) },
{ be_const_key(CHART_CURSOR_LEFT, 276), be_const_int(4) },
{ be_const_key(STYLE_MARGIN_BOTTOM, 356), be_const_int(22) },
{ be_const_key(STYLE_MARGIN_RIGHT, -1), be_const_int(24) },
{ be_const_key(ALIGN_IN_TOP_RIGHT, -1), be_const_int(3) },
{ be_const_key(STYLE_TRANSITION_PROP_3, 269), be_const_int(180) },
{ be_const_key(STYLE_VALUE_COLOR, -1), be_const_int(121) },
{ be_const_key(STYLE_TEXT_DECOR, -1), be_const_int(32898) },
{ be_const_key(SYMBOL_BACKSPACE, 261), be_const_str(&be_local_const_str_SYMBOL_BACKSPACE) },
{ be_const_key(SYMBOL_USB, -1), be_const_str(&be_local_const_str_SYMBOL_USB) },
{ be_const_key(CHART_TYPE_LINE, -1), be_const_int(1) },
{ be_const_key(STYLE_VALUE_STR, -1), be_const_int(127) },
{ be_const_key(SYMBOL_VIDEO, -1), be_const_str(&be_local_const_str_SYMBOL_VIDEO) },
{ be_const_key(screenshot, 63), be_const_func(lv0_screenshot) },
{ be_const_key(ALIGN_OUT_LEFT_BOTTOM, -1), be_const_int(17) },
{ be_const_key(SYMBOL_PLAY, 26), be_const_str(&be_local_const_str_SYMBOL_PLAY) },
{ be_const_key(DISP_SIZE_MEDIUM, -1), be_const_int(1) },
{ be_const_key(SYMBOL_BLUETOOTH, -1), be_const_str(&be_local_const_str_SYMBOL_BLUETOOTH) },
{ be_const_key(CHART_PART_SERIES_BG, 91), be_const_int(1) },
{ be_const_key(DROPDOWN_PART_SELECTED, 267), be_const_int(66) },
{ be_const_key(STYLE_BG_GRAD_DIR, -1), be_const_int(35) },
{ be_const_key(EVENT_FOCUSED, 461), be_const_int(13) },
{ be_const_key(SYMBOL_VOLUME_MID, -1), be_const_str(&be_local_const_str_SYMBOL_VOLUME_MID) },
{ be_const_key(STYLE_TRANSITION_DELAY, -1), be_const_int(177) },
{ be_const_key(STYLE_LINE_COLOR, -1), be_const_int(153) },
{ be_const_key(ALIGN_OUT_RIGHT_TOP, -1), be_const_int(18) },
{ be_const_key(OPA_0, 2), be_const_int(0) },
{ be_const_key(SYMBOL_GPS, -1), be_const_str(&be_local_const_str_SYMBOL_GPS) },
{ be_const_key(LABEL_ALIGN_AUTO, -1), be_const_int(3) },
{ be_const_key(SYMBOL_POWER, -1), be_const_str(&be_local_const_str_SYMBOL_POWER) },
{ be_const_key(TABVIEW_TAB_POS_TOP, -1), be_const_int(1) },
{ be_const_key(STYLE_BORDER_POST, -1), be_const_int(51) },
{ be_const_key(FS_RES_NOT_EX, -1), be_const_int(3) },
{ be_const_key(AQUA, -1), be_const_int(65535) },
{ be_const_key(STYLE_PAD_INNER, -1), be_const_int(20) },
{ be_const_key(KEYBOARD_MODE_NUM, -1), be_const_int(3) },
{ be_const_key(EVENT_LONG_PRESSED_REPEAT, 417), be_const_int(5) },
{ be_const_key(add_button_encoder, -1), be_const_func(lv0_add_button_encoder) },
{ be_const_key(DISP_ROT_90, -1), be_const_int(1) },
{ be_const_key(STATE_EDITED, -1), be_const_int(4) },
{ be_const_key(STYLE_MARGIN_LEFT, 87), be_const_int(23) },
{ be_const_key(SLIDER_TYPE_RANGE, -1), be_const_int(2) },
{ be_const_key(LED_PART_MAIN, -1), be_const_int(0) },
{ be_const_key(SPINNER_DIR_BACKWARD, -1), be_const_int(1) },
{ be_const_key(STYLE_LINE_DASH_GAP, 233), be_const_int(147) },
{ be_const_key(STYLE_TRANSITION_PROP_2, -1), be_const_int(179) },
{ be_const_key(LABEL_LONG_DOT, -1), be_const_int(2) },
{ be_const_key(OPA_TRANSP, 79), be_const_int(0) },
{ be_const_key(OBJMASK_PART_MAIN, 32), be_const_int(0) },
{ be_const_key(DISP_SIZE_LARGE, 61), be_const_int(2) },
{ be_const_key(SYMBOL_SAVE, -1), be_const_str(&be_local_const_str_SYMBOL_SAVE) },
{ be_const_key(SLIDER_TYPE_SYMMETRICAL, 276), be_const_int(1) },
{ be_const_key(CHART_TYPE_LINE, -1), be_const_int(1) },
{ be_const_key(BLEND_MODE_ADDITIVE, -1), be_const_int(1) },
{ be_const_key(ALIGN_OUT_RIGHT_BOTTOM, -1), be_const_int(20) },
{ be_const_key(ALIGN_IN_BOTTOM_LEFT, -1), be_const_int(4) },
{ be_const_key(CHART_PART_SERIES, -1), be_const_int(2) },
{ be_const_key(LABEL_LONG_EXPAND, -1), be_const_int(0) },
{ be_const_key(STYLE_TEXT_LETTER_SPACE, 274), be_const_int(32896) },
{ be_const_key(SYMBOL_LIST, -1), be_const_str(&be_local_const_str_SYMBOL_LIST) },
{ be_const_key(STYLE_TRANSITION_PROP_6, -1), be_const_int(183) },
{ be_const_key(SYMBOL_HOME, -1), be_const_str(&be_local_const_str_SYMBOL_HOME) },
{ be_const_key(CHART_CURSOR_RIGHT, 160), be_const_int(1) },
{ be_const_key(OBJ_PART_REAL_FIRST, -1), be_const_int(64) },
{ be_const_key(STYLE_IMAGE_OPA, -1), be_const_int(32940) },
{ be_const_key(STYLE_PAD_RIGHT, -1), be_const_int(19) },
{ be_const_key(EVENT_LONG_PRESSED, 135), be_const_int(4) },
{ be_const_key(TXT_FLAG_EXPAND, 66), be_const_int(2) },
{ be_const_key(BORDER_SIDE_RIGHT, 137), be_const_int(8) },
{ be_const_key(OBJ_PART_MAIN, -1), be_const_int(0) },
{ be_const_key(SYMBOL_NEW_LINE, -1), be_const_str(&be_local_const_str_SYMBOL_NEW_LINE) },
{ be_const_key(ANIM_OFF, -1), be_const_int(0) },
{ be_const_key(SYMBOL_OK, -1), be_const_str(&be_local_const_str_SYMBOL_OK) },
{ be_const_key(CALENDAR_PART_DAY_NAMES, 336), be_const_int(2) },
{ be_const_key(OPA_70, -1), be_const_int(178) },
{ be_const_key(OPA_60, 134), be_const_int(153) },
{ be_const_key(I2C, 339), be_const_int(1) },
{ be_const_key(PAGE_EDGE_LEFT, -1), be_const_int(1) },
{ be_const_key(OBJ_PART_ALL, -1), be_const_int(255) },
{ be_const_key(ALIGN_OUT_LEFT_TOP, 43), be_const_int(15) },
{ be_const_key(STYLE_LINE_DASH_WIDTH, -1), be_const_int(146) },
{ be_const_key(STYLE_SCALE_END_LINE_WIDTH, 17), be_const_int(195) },
{ be_const_key(LABEL_LONG_SROLL, -1), be_const_int(3) },
{ be_const_key(STYLE_SHADOW_COLOR, -1), be_const_int(89) },
{ be_const_key(BLEND_MODE_NORMAL, 442), be_const_int(0) },
{ be_const_key(layer_top, 236), be_const_func(lv0_layer_top) },
{ be_const_key(KEY_DEL, 211), be_const_int(127) },
{ be_const_key(FIT_MAX, -1), be_const_int(3) },
{ be_const_key(STYLE_CLIP_CORNER, 226), be_const_int(2) },
{ be_const_key(CHART_CURSOR_DOWN, 355), be_const_int(8) },
{ be_const_key(LAYOUT_COLUMN_LEFT, 448), be_const_int(2) },
{ be_const_key(LAYOUT_CENTER, 462), be_const_int(1) },
{ be_const_key(EVENT_APPLY, -1), be_const_int(19) },
{ be_const_key(BAR_TYPE_SYMMETRICAL, -1), be_const_int(1) },
{ be_const_key(SSPI, 406), be_const_int(2) },
{ be_const_key(STYLE_SCALE_BORDER_WIDTH, 148), be_const_int(193) },
{ be_const_key(SYMBOL_STOP, -1), be_const_str(&be_local_const_str_SYMBOL_STOP) },
{ be_const_key(FS_RES_NOT_IMP, -1), be_const_int(9) },
{ be_const_key(CPICKER_PART_MAIN, 144), be_const_int(0) },
{ be_const_key(KEY_NEXT, -1), be_const_int(9) },
{ be_const_key(SYMBOL_MINUS, 153), be_const_str(&be_local_const_str_SYMBOL_MINUS) },
{ be_const_key(ALIGN_OUT_TOP_RIGHT, -1), be_const_int(11) },
{ be_const_key(SYMBOL_EYE_CLOSE, -1), be_const_str(&be_local_const_str_SYMBOL_EYE_CLOSE) },
{ be_const_key(CHART_AXIS_PRIMARY_Y, 68), be_const_int(0) },
{ be_const_key(BTNMATRIX_CTRL_HIDDEN, -1), be_const_int(8) },
{ be_const_key(OPA_10, 118), be_const_int(25) },
{ be_const_key(SCROLLBAR_MODE_HIDE, -1), be_const_int(4) },
{ be_const_key(STYLE_BORDER_OPA, -1), be_const_int(60) },
{ be_const_key(SPINNER_TYPE_FILLSPIN_ARC, -1), be_const_int(1) },
{ be_const_key(STYLE_SHADOW_OFS_Y, 344), be_const_int(82) },
{ be_const_key(STYLE_TRANSFORM_ANGLE, -1), be_const_int(6) },
{ be_const_key(STYLE_TEXT_BLEND_MODE, -1), be_const_int(32899) },
{ be_const_key(STATE_PRESSED, 39), be_const_int(16) },
{ be_const_key(TXT_FLAG_FIT, -1), be_const_int(16) },
{ be_const_key(CPICKER_COLOR_MODE_SATURATION, 60), be_const_int(1) },
{ be_const_key(LIST_PART_EDGE_FLASH, -1), be_const_int(2) },
{ be_const_key(FS_RES_OUT_OF_MEM, 80), be_const_int(10) },
{ be_const_key(GRAD_DIR_VER, 122), be_const_int(1) },
{ be_const_key(BLACK, 435), be_const_int(0) },
{ be_const_key(CHART_PART_SERIES_BG, -1), be_const_int(1) },
{ be_const_key(STYLE_TRANSITION_PROP_4, -1), be_const_int(181) },
{ be_const_key(TXT_FLAG_RIGHT, 446), be_const_int(8) },
{ be_const_key(PAGE_EDGE_RIGHT, -1), be_const_int(4) },
{ be_const_key(ARC_PART_BG, 185), be_const_int(0) },
{ be_const_key(GESTURE_DIR_TOP, -1), be_const_int(0) },
{ be_const_key(TXT_CMD_STATE_WAIT, -1), be_const_int(0) },
{ be_const_key(DROPDOWN_DIR_UP, -1), be_const_int(1) },
{ be_const_key(STYLE_TEXT_SEL_COLOR, -1), be_const_int(32906) },
{ be_const_key(EVENT_DRAG_BEGIN, 112), be_const_int(8) },
{ be_const_key(FIT_NONE, -1), be_const_int(0) },
{ be_const_key(STYLE_PATTERN_RECOLOR_OPA, -1), be_const_int(109) },
{ be_const_key(BAR_TYPE_CUSTOM, -1), be_const_int(2) },
{ be_const_key(FS_RES_LOCKED, 141), be_const_int(5) },
{ be_const_key(SYMBOL_BATTERY_1, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_1) },
{ be_const_key(EVENT_CLICKED, 322), be_const_int(6) },
{ be_const_key(register_touch_screen, -1), be_const_func(lv0_register_touch_screen) },
{ be_const_key(CPICKER_COLOR_MODE_VALUE, -1), be_const_int(2) },
{ be_const_key(TEXT_DECOR_NONE, -1), be_const_int(0) },
{ be_const_key(KEY_DOWN, 414), be_const_int(18) },
{ be_const_key(EVENT_LEAVE, -1), be_const_int(15) },
{ be_const_key(STYLE_VALUE_OPA, -1), be_const_int(124) },
{ be_const_key(PROTECT_CLICK_FOCUS, -1), be_const_int(32) },
{ be_const_key(SYMBOL_EYE_OPEN, -1), be_const_str(&be_local_const_str_SYMBOL_EYE_OPEN) },
{ be_const_key(FS_RES_FULL, 337), be_const_int(4) },
{ be_const_key(OPA_80, 113), be_const_int(204) },
{ be_const_key(EVENT_VALUE_CHANGED, 302), be_const_int(16) },
{ be_const_key(STYLE_PATTERN_IMAGE, -1), be_const_int(110) },
{ be_const_key(KEYBOARD_MODE_SPECIAL, 180), be_const_int(2) },
{ be_const_key(KEY_BACKSPACE, 100), be_const_int(8) },
{ be_const_key(SYMBOL_FILE, -1), be_const_str(&be_local_const_str_SYMBOL_FILE) },
{ be_const_key(OPA_90, -1), be_const_int(229) },
{ be_const_key(FS_MODE_RD, 199), be_const_int(2) },
{ be_const_key(ARC_PART_INDIC, -1), be_const_int(1) },
{ be_const_key(ARC_TYPE_NORMAL, -1), be_const_int(0) },
{ be_const_key(GAUGE_PART_MAIN, -1), be_const_int(0) },
{ be_const_key(STYLE_VALUE_FONT, 441), be_const_int(126) },
{ be_const_key(STYLE_VALUE_ALIGN, 238), be_const_int(117) },
{ be_const_key(INDEV_STATE_REL, -1), be_const_int(0) },
{ be_const_key(STYLE_TRANSITION_PROP_3, 328), be_const_int(180) },
{ be_const_key(SYMBOL_EJECT, 424), be_const_str(&be_local_const_str_SYMBOL_EJECT) },
{ be_const_key(BORDER_SIDE_FULL, -1), be_const_int(15) },
{ be_const_key(SYMBOL_BACKSPACE, 179), be_const_str(&be_local_const_str_SYMBOL_BACKSPACE) },
{ be_const_key(SCROLLBAR_MODE_OFF, 131), be_const_int(0) },
{ be_const_key(ALIGN_OUT_BOTTOM_LEFT, 183), be_const_int(12) },
{ be_const_key(DISP_SIZE_SMALL, -1), be_const_int(0) },
{ be_const_key(KEY_PREV, 237), be_const_int(11) },
{ be_const_key(SYMBOL_VOLUME_MID, 410), be_const_str(&be_local_const_str_SYMBOL_VOLUME_MID) },
{ be_const_key(PAGE_EDGE_TOP, 120), be_const_int(2) },
{ be_const_key(HSPI, -1), be_const_int(0) },
{ be_const_key(YELLOW, -1), be_const_int(16776960) },
{ be_const_key(ARC_TYPE_SYMMETRIC, -1), be_const_int(1) },
{ be_const_key(FS_MODE_WR, 270), be_const_int(1) },
{ be_const_key(CPICKER_PART_KNOB, -1), be_const_int(1) },
{ be_const_key(ALIGN_IN_RIGHT_MID, 443), be_const_int(8) },
{ be_const_key(CPICKER_TYPE_DISC, -1), be_const_int(1) },
{ be_const_key(LABEL_ALIGN_RIGHT, -1), be_const_int(2) },
{ be_const_key(STYLE_LINE_BLEND_MODE, -1), be_const_int(145) },
{ be_const_key(CHART_CURSOR_NONE, 53), be_const_int(0) },
{ be_const_key(KEY_ESC, -1), be_const_int(27) },
{ be_const_key(DROPDOWN_DIR_DOWN, -1), be_const_int(0) },
{ be_const_key(BTNMATRIX_CTRL_CLICK_TRIG, 350), be_const_int(256) },
{ be_const_key(OPA_100, -1), be_const_int(255) },
{ be_const_key(scr_act, 38), be_const_func(lv0_scr_act) },
{ be_const_key(BTNMATRIX_CTRL_DISABLED, -1), be_const_int(32) },
{ be_const_key(BTN_STATE_PRESSED, 201), be_const_int(1) },
{ be_const_key(KEY_RIGHT, 403), be_const_int(19) },
{ be_const_key(load_font, -1), be_const_func(lv0_load_font) },
{ be_const_key(CPICKER_COLOR_MODE_HUE, -1), be_const_int(0) },
{ be_const_key(LIST_PART_SCROLLBAR, -1), be_const_int(1) },
{ be_const_key(CHART_AXIS_INVERSE_LABELS_ORDER, -1), be_const_int(2) },
{ be_const_key(DRAG_DIR_BOTH, -1), be_const_int(3) },
{ be_const_key(STYLE_BORDER_WIDTH, 228), be_const_int(48) },
{ be_const_key(FS_RES_UNKNOWN, 263), be_const_int(12) },
{ be_const_key(LABEL_LONG_SROLL_CIRC, 157), be_const_int(4) },
{ be_const_key(MAROON, -1), be_const_int(8388608) },
{ be_const_key(EVENT_INSERT, -1), be_const_int(17) },
{ be_const_key(STYLE_PAD_LEFT, -1), be_const_int(18) },
{ be_const_key(ALIGN_OUT_BOTTOM_MID, 405), be_const_int(13) },
{ be_const_key(ALIGN_IN_TOP_MID, -1), be_const_int(2) },
{ be_const_key(SYMBOL_WIFI, 5), be_const_str(&be_local_const_str_SYMBOL_WIFI) },
{ be_const_key(EVENT_DRAG_THROW_BEGIN, -1), be_const_int(10) },
{ be_const_key(SYMBOL_MUTE, 87), be_const_str(&be_local_const_str_SYMBOL_MUTE) },
{ be_const_key(TEMPL_STYLE_Y, 52), be_const_int(1) },
{ be_const_key(EVENT_PRESSING, -1), be_const_int(1) },
{ be_const_key(BLEND_MODE_SUBTRACTIVE, 313), be_const_int(2) },
{ be_const_key(CHART_PART_CURSOR, -1), be_const_int(3) },
{ be_const_key(SYMBOL_BULLET, 315), be_const_str(&be_local_const_str_SYMBOL_BULLET) },
{ be_const_key(VSPI, -1), be_const_int(1) },
{ be_const_key(SYMBOL_VOLUME_MAX, -1), be_const_str(&be_local_const_str_SYMBOL_VOLUME_MAX) },
{ be_const_key(ARC_TYPE_REVERSE, -1), be_const_int(2) },
{ be_const_key(BTN_STATE_CHECKED_PRESSED, -1), be_const_int(4) },
{ be_const_key(PROTECT_PRESS_LOST, -1), be_const_int(16) },
{ be_const_key(FS_RES_HW_ERR, 333), be_const_int(1) },
{ be_const_key(KEY_UP, -1), be_const_int(17) },
{ be_const_key(PROTECT_CHILD_CHG, -1), be_const_int(1) },
{ be_const_key(STYLE_SCALE_GRAD_COLOR, -1), be_const_int(201) },
{ be_const_key(STYLE_SHADOW_SPREAD, -1), be_const_int(83) },
{ be_const_key(LABEL_ALIGN_CENTER, -1), be_const_int(1) },
{ be_const_key(ALIGN_IN_TOP_RIGHT, 253), be_const_int(3) },
{ be_const_key(LAYOUT_ROW_MID, 56), be_const_int(6) },
{ be_const_key(TXT_FLAG_CENTER, -1), be_const_int(4) },
{ be_const_key(GAUGE_PART_MAJOR, 3), be_const_int(1) },
{ be_const_key(SYMBOL_BATTERY_EMPTY, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_EMPTY) },
{ be_const_key(STYLE_LINE_WIDTH, -1), be_const_int(144) },
{ be_const_key(LAYOUT_ROW_BOTTOM, 225), be_const_int(7) },
{ be_const_key(BORDER_SIDE_TOP, -1), be_const_int(2) },
{ be_const_key(CHART_TYPE_NONE, 74), be_const_int(0) },
{ be_const_key(ALIGN_OUT_LEFT_MID, 71), be_const_int(16) },
{ be_const_key(DISP_ROT_270, 264), be_const_int(3) },
{ be_const_key(TXT_CMD_STATE_PAR, -1), be_const_int(1) },
{ be_const_key(SYMBOL_CLOSE, -1), be_const_str(&be_local_const_str_SYMBOL_CLOSE) },
{ be_const_key(STYLE_TEXT_FONT, -1), be_const_int(32910) },
{ be_const_key(TXT_FLAG_NONE, 372), be_const_int(0) },
{ be_const_key(STYLE_BORDER_COLOR, -1), be_const_int(57) },
{ be_const_key(FS_RES_DENIED, 234), be_const_int(6) },
{ be_const_key(STYLE_IMAGE_BLEND_MODE, 267), be_const_int(32928) },
{ be_const_key(EVENT_CANCEL, -1), be_const_int(20) },
{ be_const_key(FS_RES_NOT_EX, -1), be_const_int(3) },
{ be_const_key(STYLE_MARGIN_LEFT, 271), be_const_int(23) },
{ be_const_key(PROTECT_FOLLOW, 89), be_const_int(8) },
{ be_const_key(WHITE, 54), be_const_int(16777215) },
{ be_const_key(DROPDOWN_PART_SELECTED, -1), be_const_int(66) },
{ be_const_key(PURPLE, -1), be_const_int(8388736) },
{ be_const_key(CHECKBOX_PART_BULLET, 266), be_const_int(64) },
{ be_const_key(SYMBOL_KEYBOARD, -1), be_const_str(&be_local_const_str_SYMBOL_KEYBOARD) },
{ be_const_key(CHART_AXIS_SKIP_LAST_TICK, -1), be_const_int(0) },
{ be_const_key(LAYOUT_COLUMN_MID, -1), be_const_int(3) },
{ be_const_key(GRAD_DIR_HOR, 246), be_const_int(2) },
{ be_const_key(SILVER, 409), be_const_int(12632256) },
{ be_const_key(STYLE_MARGIN_BOTTOM, -1), be_const_int(22) },
{ be_const_key(STYLE_SCALE_END_COLOR, 82), be_const_int(202) },
{ be_const_key(STYLE_LINE_ROUNDED, 173), be_const_int(148) },
{ be_const_key(STYLE_VALUE_OFS_Y, -1), be_const_int(116) },
{ be_const_key(SYMBOL_NEXT, 109), be_const_str(&be_local_const_str_SYMBOL_NEXT) },
{ be_const_key(SLIDER_TYPE_NORMAL, 400), be_const_int(0) },
{ be_const_key(DRAG_DIR_HOR, -1), be_const_int(1) },
{ be_const_key(EVENT_GESTURE, 307), be_const_int(11) },
{ be_const_key(EVENT_PRESSED, -1), be_const_int(0) },
{ be_const_key(STATE_DEFAULT, 167), be_const_int(0) },
{ be_const_key(LABEL_LONG_BREAK, -1), be_const_int(1) },
{ be_const_key(FIT_TIGHT, -1), be_const_int(1) },
{ be_const_key(SPINNER_TYPE_SPINNING_ARC, -1), be_const_int(0) },
{ be_const_key(SYMBOL_RIGHT, 380), be_const_str(&be_local_const_str_SYMBOL_RIGHT) },
{ be_const_key(SYMBOL_COPY, 196), be_const_str(&be_local_const_str_SYMBOL_COPY) },
{ be_const_key(STYLE_BORDER_BLEND_MODE, -1), be_const_int(50) },
{ be_const_key(STYLE_BG_BLEND_MODE, -1), be_const_int(32) },
{ be_const_key(BLUE, -1), be_const_int(255) },
{ be_const_key(SYMBOL_REFRESH, -1), be_const_str(&be_local_const_str_SYMBOL_REFRESH) },
{ be_const_key(ALIGN_OUT_TOP_MID, -1), be_const_int(10) },
{ be_const_key(ROLLER_MODE_INFINITE, -1), be_const_int(1) },
{ be_const_key(CHART_AXIS_SECONDARY_Y, -1), be_const_int(1) },
{ be_const_key(STATE_EDITED, -1), be_const_int(4) },
{ be_const_key(ANIM_ON, -1), be_const_int(1) },
{ be_const_key(STATE_FOCUSED, -1), be_const_int(2) },
{ be_const_key(EVENT_DEFOCUSED, -1), be_const_int(14) },
{ be_const_key(layer_sys, 321), be_const_func(lv0_layer_sys) },
{ be_const_key(STYLE_SHADOW_OFS_X, -1), be_const_int(81) },
{ be_const_key(seg7_font, 434), be_const_func(lv0_load_seg7_font) },
{ be_const_key(LAYOUT_COLUMN_RIGHT, 369), be_const_int(4) },
{ be_const_key(ALIGN_IN_BOTTOM_MID, -1), be_const_int(5) },
{ be_const_key(DRAG_DIR_ONE, 341), be_const_int(4) },
{ be_const_key(KEY_ENTER, 294), be_const_int(10) },
{ be_const_key(GAUGE_PART_NEEDLE, 171), be_const_int(2) },
{ be_const_key(SPINNER_DIR_FORWARD, 10), be_const_int(0) },
{ be_const_key(STATE_CHECKED, -1), be_const_int(1) },
{ be_const_key(STYLE_MARGIN_TOP, 83), be_const_int(21) },
{ be_const_key(STYLE_SHADOW_BLEND_MODE, 331), be_const_int(84) },
{ be_const_key(SYMBOL_DOWNLOAD, -1), be_const_str(&be_local_const_str_SYMBOL_DOWNLOAD) },
{ be_const_key(KEYBOARD_MODE_TEXT_UPPER, -1), be_const_int(1) },
{ be_const_key(ALIGN_OUT_BOTTOM_RIGHT, -1), be_const_int(14) },
{ be_const_key(BORDER_SIDE_INTERNAL, 338), be_const_int(16) },
{ be_const_key(CALENDAR_PART_BG, -1), be_const_int(0) },
{ be_const_key(CHART_PART_BG, -1), be_const_int(0) },
{ be_const_key(STATE_DISABLED, -1), be_const_int(32) },
{ be_const_key(FS_RES_TOUT, 280), be_const_int(8) },
{ be_const_key(OPA_COVER, 99), be_const_int(255) },
{ be_const_key(SYMBOL_DRIVE, -1), be_const_str(&be_local_const_str_SYMBOL_DRIVE) },
{ be_const_key(SYMBOL_IMAGE, 37), be_const_str(&be_local_const_str_SYMBOL_IMAGE) },
{ be_const_key(OPA_50, 354), be_const_int(127) },
{ be_const_key(STYLE_OUTLINE_OPA, 385), be_const_int(76) },
{ be_const_key(STYLE_OUTLINE_PAD, 365), be_const_int(65) },
{ be_const_key(BORDER_SIDE_LEFT, -1), be_const_int(4) },
{ be_const_key(STYLE_MARGIN_RIGHT, 62), be_const_int(24) },
{ be_const_key(STYLE_BG_COLOR, 402), be_const_int(41) },
{ be_const_key(BAR_TYPE_NORMAL, -1), be_const_int(0) },
{ be_const_key(STYLE_IMAGE_OPA, 286), be_const_int(32940) },
{ be_const_key(SCROLLBAR_MODE_ON, 212), be_const_int(1) },
{ be_const_key(KEY_END, 413), be_const_int(3) },
{ be_const_key(OPA_0, -1), be_const_int(0) },
{ be_const_key(CHECKBOX_PART_BG, -1), be_const_int(0) },
{ be_const_key(STYLE_TEXT_SEL_BG_COLOR, -1), be_const_int(32907) },
{ be_const_key(STYLE_OPA_SCALE, -1), be_const_int(32780) },
{ be_const_key(register_button_encoder, -1), be_const_func(lv0_register_button_encoder) },
{ be_const_key(SYMBOL_USB, -1), be_const_str(&be_local_const_str_SYMBOL_USB) },
{ be_const_key(TEMPL_STYLE_X, 155), be_const_int(0) },
{ be_const_key(TABVIEW_TAB_POS_BOTTOM, -1), be_const_int(2) },
{ be_const_key(CYAN, -1), be_const_int(65535) },
{ be_const_key(STYLE_OUTLINE_WIDTH, -1), be_const_int(64) },
{ be_const_key(STYLE_PAD_INNER, -1), be_const_int(20) },
{ be_const_key(STYLE_SIZE, -1), be_const_int(3) },
{ be_const_key(STYLE_VALUE_STR, -1), be_const_int(127) },
{ be_const_key(STYLE_PATTERN_BLEND_MODE, 318), be_const_int(96) },
{ be_const_key(EVENT_DELETE, 291), be_const_int(21) },
{ be_const_key(STYLE_VALUE_LINE_SPACE, -1), be_const_int(113) },
{ be_const_key(KEYBOARD_PART_BTN, 136), be_const_int(1) },
{ be_const_key(FS_RES_FS_ERR, -1), be_const_int(2) },
{ be_const_key(LAYOUT_GRID, -1), be_const_int(11) },
{ be_const_key(EVENT_SHORT_CLICKED, 281), be_const_int(3) },
{ be_const_key(LAYOUT_PRETTY_TOP, -1), be_const_int(8) },
{ be_const_key(KEY_HOME, 342), be_const_int(2) },
{ be_const_key(SYMBOL_DUMMY, -1), be_const_str(&be_local_const_str_SYMBOL_DUMMY) },
{ be_const_key(OBJ_PART_VIRTUAL_FIRST, -1), be_const_int(1) },
{ be_const_key(LABEL_LONG_CROP, -1), be_const_int(5) },
{ be_const_key(STATE_HOVERED, 123), be_const_int(8) },
{ be_const_key(STYLE_LINE_COLOR, 395), be_const_int(153) },
{ be_const_key(ALIGN_OUT_TOP_LEFT, -1), be_const_int(9) },
{ be_const_key(PROTECT_EVENT_TO_DISABLED, -1), be_const_int(64) },
{ be_const_key(SYMBOL_CHARGE, -1), be_const_str(&be_local_const_str_SYMBOL_CHARGE) },
{ be_const_key(INDEV_STATE_PR, -1), be_const_int(1) },
{ be_const_key(CHART_UPDATE_MODE_CIRCULAR, 88), be_const_int(1) },
{ be_const_key(SYMBOL_EDIT, -1), be_const_str(&be_local_const_str_SYMBOL_EDIT) },
{ be_const_key(ARC_PART_KNOB, -1), be_const_int(2) },
{ be_const_key(STYLE_TEXT_LINE_SPACE, -1), be_const_int(32897) },
{ be_const_key(STYLE_VALUE_LETTER_SPACE, -1), be_const_int(112) },
{ be_const_key(STYLE_SCALE_WIDTH, -1), be_const_int(192) },
{ be_const_key(AQUA, 254), be_const_int(65535) },
{ be_const_key(LAYOUT_PRETTY_MID, 19), be_const_int(9) },
{ be_const_key(DISP_ROT_90, -1), be_const_int(1) },
{ be_const_key(BTN_STATE_RELEASED, -1), be_const_int(0) },
{ be_const_key(DROPDOWN_PART_MAIN, -1), be_const_int(0) },
{ be_const_key(OPA_30, -1), be_const_int(76) },
{ be_const_key(SYMBOL_POWER, 431), be_const_str(&be_local_const_str_SYMBOL_POWER) },
{ be_const_key(GESTURE_DIR_RIGHT, -1), be_const_int(3) },
{ be_const_key(get_ver_res, 186), be_const_func(lv0_get_ver_res) },
{ be_const_key(SYMBOL_LOOP, -1), be_const_str(&be_local_const_str_SYMBOL_LOOP) },
{ be_const_key(DROPDOWN_DIR_LEFT, -1), be_const_int(2) },
{ be_const_key(LINEMETER_PART_MAIN, -1), be_const_int(0) },
{ be_const_key(STYLE_OUTLINE_COLOR, -1), be_const_int(73) },
{ be_const_key(SPINNER_TYPE_CONSTANT_ARC, -1), be_const_int(2) },
{ be_const_key(ROLLER_MODE_NORMAL, -1), be_const_int(0) },
{ be_const_key(SYMBOL_WARNING, 45), be_const_str(&be_local_const_str_SYMBOL_WARNING) },
{ be_const_key(STYLE_VALUE_BLEND_MODE, -1), be_const_int(114) },
{ be_const_key(KEYBOARD_MODE_NUM, -1), be_const_int(3) },
{ be_const_key(STYLE_BG_GRAD_STOP, -1), be_const_int(34) },
{ be_const_key(STYLE_VALUE_OFS_X, -1), be_const_int(115) },
{ be_const_key(SYMBOL_PLUS, -1), be_const_str(&be_local_const_str_SYMBOL_PLUS) },
{ be_const_key(CHART_AXIS_DRAW_LAST_TICK, -1), be_const_int(1) },
{ be_const_key(EVENT_FOCUSED, -1), be_const_int(13) },
{ be_const_key(STYLE_TRANSFORM_ZOOM, -1), be_const_int(7) },
{ be_const_key(TEXT_DECOR_STRIKETHROUGH, -1), be_const_int(2) },
{ be_const_key(LIST_PART_BG, -1), be_const_int(0) },
{ be_const_key(DROPDOWN_PART_LIST, 126), be_const_int(64) },
{ be_const_key(SYMBOL_BATTERY_3, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_3) },
{ be_const_key(STYLE_PAD_BOTTOM, -1), be_const_int(17) },
{ be_const_key(LAYOUT_PRETTY_BOTTOM, -1), be_const_int(10) },
{ be_const_key(GESTURE_DIR_LEFT, -1), be_const_int(2) },
{ be_const_key(STYLE_OUTLINE_BLEND_MODE, -1), be_const_int(66) },
{ be_const_key(STYLE_BG_MAIN_STOP, 107), be_const_int(33) },
{ be_const_key(PROTECT_POS, 250), be_const_int(4) },
{ be_const_key(PAGE_EDGE_BOTTOM, -1), be_const_int(8) },
{ be_const_key(CHART_UPDATE_MODE_SHIFT, 143), be_const_int(0) },
{ be_const_key(STYLE_TRANSITION_TIME, -1), be_const_int(176) },
{ be_const_key(STYLE_TRANSITION_PROP_1, -1), be_const_int(178) },
{ be_const_key(SYMBOL_UP, -1), be_const_str(&be_local_const_str_SYMBOL_UP) },
{ be_const_key(STYLE_PATTERN_OPA, -1), be_const_int(108) },
{ be_const_key(DRAG_DIR_VER, -1), be_const_int(2) },
{ be_const_key(PROTECT_PARENT, -1), be_const_int(2) },
{ be_const_key(STYLE_SHADOW_OPA, 352), be_const_int(92) },
{ be_const_key(STYLE_PATTERN_REPEAT, 72), be_const_int(97) },
{ be_const_key(SPI, 361), be_const_int(0) },
{ be_const_key(TEAL, -1), be_const_int(32896) },
{ be_const_key(EVENT_REFRESH, -1), be_const_int(18) },
{ be_const_key(DISP_SIZE_EXTRA_LARGE, -1), be_const_int(3) },
{ be_const_key(STYLE_BG_GRAD_DIR, -1), be_const_int(35) },
{ be_const_key(GRAD_DIR_NONE, -1), be_const_int(0) },
{ be_const_key(ALIGN_OUT_RIGHT_MID, -1), be_const_int(19) },
{ be_const_key(DROPDOWN_DIR_RIGHT, 417), be_const_int(3) },
{ be_const_key(STYLE_TRANSITION_PROP_5, -1), be_const_int(182) },
{ be_const_key(CHART_CURSOR_UP, -1), be_const_int(2) },
{ be_const_key(CHART_TYPE_COLUMN, -1), be_const_int(2) },
{ be_const_key(CPICKER_TYPE_RECT, -1), be_const_int(0) },
{ be_const_key(TABVIEW_TAB_POS_NONE, 23), be_const_int(0) },
{ be_const_key(STYLE_TEXT_OPA, -1), be_const_int(32908) },
{ be_const_key(OPA_20, 221), be_const_int(51) },
{ be_const_key(EVENT_KEY, -1), be_const_int(12) },
{ be_const_key(STYLE_SCALE_END_BORDER_WIDTH, -1), be_const_int(194) },
{ be_const_key(EVENT_PRESS_LOST, -1), be_const_int(2) },
{ be_const_key(BTN_STATE_CHECKED_RELEASED, 146), be_const_int(3) },
{ be_const_key(FS_RES_OK, 69), be_const_int(0) },
{ be_const_key(SYMBOL_BELL, -1), be_const_str(&be_local_const_str_SYMBOL_BELL) },
{ be_const_key(SYMBOL_BATTERY_FULL, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_FULL) },
{ be_const_key(ALIGN_IN_TOP_LEFT, 206), be_const_int(1) },
{ be_const_key(OPA_40, -1), be_const_int(102) },
{ be_const_key(BTNMATRIX_CTRL_NO_REPEAT, -1), be_const_int(16) },
{ be_const_key(STYLE_BORDER_SIDE, -1), be_const_int(49) },
{ be_const_key(LABEL_ALIGN_LEFT, -1), be_const_int(0) },
{ be_const_key(STYLE_IMAGE_RECOLOR, 408), be_const_int(32937) },
{ be_const_key(NAVY, -1), be_const_int(128) },
{ be_const_key(GREEN, -1), be_const_int(32768) },
{ be_const_key(SYMBOL_SHUFFLE, 217), be_const_str(&be_local_const_str_SYMBOL_SHUFFLE) },
{ be_const_key(GRAY, -1), be_const_int(8421504) },
{ be_const_key(STYLE_SHADOW_WIDTH, -1), be_const_int(80) },
{ be_const_key(SYMBOL_DIRECTORY, -1), be_const_str(&be_local_const_str_SYMBOL_DIRECTORY) },
{ be_const_key(BTNMATRIX_CTRL_CHECK_STATE, -1), be_const_int(128) },
{ be_const_key(TEXT_DECOR_UNDERLINE, 367), be_const_int(1) },
{ be_const_key(STYLE_BG_GRAD_COLOR, 142), be_const_int(42) },
{ be_const_key(SYMBOL_CALL, -1), be_const_str(&be_local_const_str_SYMBOL_CALL) },
{ be_const_key(STYLE_RADIUS, -1), be_const_int(1) },
{ be_const_key(CALENDAR_PART_HEADER, -1), be_const_int(1) },
{ be_const_key(start, 261), be_const_func(lv0_start) },
{ be_const_key(LAYOUT_ROW_TOP, -1), be_const_int(5) },
{ be_const_key(BTN_STATE_CHECKED_DISABLED, -1), be_const_int(5) },
{ be_const_key(SYMBOL_GPS, -1), be_const_str(&be_local_const_str_SYMBOL_GPS) },
{ be_const_key(get_hor_res, -1), be_const_func(lv0_get_hor_res) },
{ be_const_key(SYMBOL_AUDIO, -1), be_const_str(&be_local_const_str_SYMBOL_AUDIO) },
{ be_const_key(STYLE_BORDER_POST, 284), be_const_int(51) },
{ be_const_key(SYMBOL_SD_CARD, -1), be_const_str(&be_local_const_str_SYMBOL_SD_CARD) },
{ be_const_key(BORDER_SIDE_BOTTOM, 14), be_const_int(1) },
{ be_const_key(DROPDOWN_PART_SCROLLBAR, -1), be_const_int(65) },
{ be_const_key(SYMBOL_LEFT, -1), be_const_str(&be_local_const_str_SYMBOL_LEFT) },
{ be_const_key(KEY_LEFT, -1), be_const_int(20) },
{ be_const_key(LIME, -1), be_const_int(65280) },
{ be_const_key(SYMBOL_PASTE, -1), be_const_str(&be_local_const_str_SYMBOL_PASTE) },
{ be_const_key(SYMBOL_PAUSE, -1), be_const_str(&be_local_const_str_SYMBOL_PAUSE) },
{ be_const_key(FS_RES_INV_PARAM, -1), be_const_int(11) },
{ be_const_key(ALIGN_CENTER, -1), be_const_int(0) },
{ be_const_key(EVENT_RELEASED, -1), be_const_int(7) },
{ be_const_key(SYMBOL_PREV, -1), be_const_str(&be_local_const_str_SYMBOL_PREV) },
{ be_const_key(RED, -1), be_const_int(16711680) },
{ be_const_key(BORDER_SIDE_NONE, -1), be_const_int(0) },
{ be_const_key(ALIGN_IN_BOTTOM_RIGHT, -1), be_const_int(6) },
{ be_const_key(SYMBOL_TRASH, -1), be_const_str(&be_local_const_str_SYMBOL_TRASH) },
{ be_const_key(STYLE_PAD_TOP, -1), be_const_int(16) },
{ be_const_key(ALIGN_IN_LEFT_MID, 224), be_const_int(7) },
{ be_const_key(SYMBOL_CUT, 426), be_const_str(&be_local_const_str_SYMBOL_CUT) },
{ be_const_key(STYLE_IMAGE_RECOLOR_OPA, -1), be_const_int(32941) },
{ be_const_key(SCROLLBAR_MODE_AUTO, 150), be_const_int(3) },
{ be_const_key(STYLE_PATTERN_RECOLOR, 58), be_const_int(105) },
{ be_const_key(TABVIEW_TAB_POS_TOP, 438), be_const_int(1) },
{ be_const_key(BTN_STATE_DISABLED, -1), be_const_int(2) },
{ be_const_key(TEXTAREA_CURSOR_LAST, 285), be_const_int(32767) },
{ be_const_key(STYLE_TEXT_DECOR, 363), be_const_int(32898) },
{ be_const_key(FS_RES_BUSY, 399), be_const_int(7) },
{ be_const_key(KEYBOARD_MODE_TEXT_LOWER, -1), be_const_int(0) },
{ be_const_key(DISP_ROT_180, -1), be_const_int(2) },
{ be_const_key(OLIVE, -1), be_const_int(8421376) },
{ be_const_key(LAYOUT_OFF, -1), be_const_int(0) },
{ be_const_key(EVENT_DRAG_END, -1), be_const_int(9) },
{ be_const_key(EVENT_LONG_PRESSED_REPEAT, 432), be_const_int(5) },
{ be_const_key(SYMBOL_VIDEO, -1), be_const_str(&be_local_const_str_SYMBOL_VIDEO) },
{ be_const_key(SYMBOL_UPLOAD, -1), be_const_str(&be_local_const_str_SYMBOL_UPLOAD) },
{ be_const_key(KEYBOARD_PART_BG, -1), be_const_int(0) },
{ be_const_key(STYLE_TRANSITION_PATH, 116), be_const_int(190) },
{ be_const_key(STYLE_TRANSFORM_WIDTH, -1), be_const_int(4) },
{ be_const_key(STYLE_VALUE_COLOR, -1), be_const_int(121) },
{ be_const_key(ALIGN_OUT_RIGHT_TOP, -1), be_const_int(18) },
{ be_const_key(SYMBOL_DOWN, 168), be_const_str(&be_local_const_str_SYMBOL_DOWN) },
{ be_const_key(STYLE_TRANSITION_DELAY, -1), be_const_int(177) },
{ be_const_key(TABVIEW_TAB_POS_LEFT, -1), be_const_int(3) },
{ be_const_key(CALENDAR_PART_DATE, -1), be_const_int(3) },
{ be_const_key(TABVIEW_TAB_POS_RIGHT, 457), be_const_int(4) },
{ be_const_key(TXT_FLAG_RECOLOR, 353), be_const_int(1) },
{ be_const_key(FIT_PARENT, 182), be_const_int(2) },
{ be_const_key(LABEL_ALIGN_AUTO, -1), be_const_int(3) },
{ be_const_key(SYMBOL_BATTERY_2, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_2) },
{ be_const_key(TXT_CMD_STATE_IN, -1), be_const_int(2) },
{ be_const_key(STYLE_TEXT_COLOR, -1), be_const_int(32905) },
{ be_const_key(SCROLLBAR_MODE_DRAG, -1), be_const_int(2) },
{ be_const_key(MAGENTA, 377), be_const_int(16711935) },
{ be_const_key(DISP_ROT_NONE, 70), be_const_int(0) },
{ be_const_key(montserrat_font, 176), be_const_func(lv0_load_montserrat_font) },
{ be_const_key(STYLE_LINE_OPA, -1), be_const_int(156) },
{ be_const_key(BTNMATRIX_CTRL_CHECKABLE, -1), be_const_int(64) },
{ be_const_key(PROTECT_NONE, -1), be_const_int(0) },
{ be_const_key(SCROLLBAR_MODE_UNHIDE, -1), be_const_int(8) },
{ be_const_key(GESTURE_DIR_BOTTOM, 41), be_const_int(1) },
{ be_const_key(STYLE_TRANSFORM_HEIGHT, -1), be_const_int(5) },
{ be_const_key(STYLE_BG_OPA, -1), be_const_int(44) },
{ be_const_key(SYMBOL_SETTINGS, 379), be_const_str(&be_local_const_str_SYMBOL_SETTINGS) },
{ be_const_key(CHART_CURSOR_LEFT, -1), be_const_int(4) },
};
static be_define_const_map(
m_liblvgl_map,
462
463
);
static be_define_const_module(

View File

@ -624,15 +624,16 @@ extern "C" {
*
* Calls uDisplay and starts LVGL
*
* lv.add_button_encoder([inv: bool]) -> nil
* lv.register_button_encoder([inv: bool]) -> nil
\*********************************************************************************************/
bool lvbe_encoder_with_keys_read(lv_indev_drv_t * drv, lv_indev_data_t*data);
bool lvbe_touch_screen_read(lv_indev_drv_t * drv, lv_indev_data_t*data);
int lv0_add_button_encoder(bvm *vm); // add buttons with encoder logic
int lv0_add_button_encoder(bvm *vm) {
int lv0_register_button_encoder(bvm *vm); // add buttons with encoder logic
int lv0_register_button_encoder(bvm *vm) {
int32_t argc = be_top(vm); // Get the number of arguments
bool inverted = false;
// berry_log_P("lv0_add_button_encoder argc=%d inverted=%d", argc, be_tobool(vm, 1));
// berry_log_P("lv0_register_button_encoder argc=%d inverted=%d", argc, be_tobool(vm, 1));
if (argc >= 1) {
inverted = be_tobool(vm, 1); // get the inverted flag
}
@ -666,6 +667,24 @@ extern "C" {
be_return(vm);
}
// register a touch screen
int lv0_register_touch_screen(bvm *vm); // add touch screen
int lv0_register_touch_screen(bvm *vm) {
lv_indev_drv_init(&lvbe.indev_drv);
lvbe.indev_drv.type = LV_INDEV_TYPE_POINTER;
lvbe.indev_drv.read_cb = lvbe_touch_screen_read;
lv_indev_t * indev = lv_indev_drv_register(&lvbe.indev_drv);
lvbe.indev_list.addHead(indev); // keep track of indevs
be_getglobal(vm, "lv_indev"); // create an object of class lv_indev with the pointer
be_pushint(vm, (int32_t) indev);
be_call(vm, 1);
be_pop(vm, 1);
be_return(vm);
}
/*********************************************************************************************\
* LVGL Input Devices - callbacks
\*********************************************************************************************/
@ -707,6 +726,24 @@ extern "C" {
return more_to_report;
}
bool lvbe_touch_screen_read(lv_indev_drv_t * drv, lv_indev_data_t*data){
static int16_t prev_x = 0;
static int16_t prev_y = 0;
int16_t touchpad_x, touchpad_y;
int32_t touchpad_press;
if (udisp_ReadTouch(&touchpad_x, &touchpad_y, &touchpad_press)) {
if (touchpad_press) {
prev_x = touchpad_x;
prev_y = touchpad_y;
}
data->point.x = prev_x;
data->point.y = prev_y;
data->state = touchpad_press ? LV_INDEV_STATE_PR : LV_INDEV_STATE_REL;
}
return false; // no more event in buffer
}
/*********************************************************************************************\
* Methods specific to Tasmota LVGL
\*********************************************************************************************/

View File

@ -24,6 +24,10 @@
#define XDSP_17 17
#if defined(USE_FT5206) || defined(USE_XPT2046)
#define USE_TOUCH_SCREEN
#endif
#include <uDisplay.h>
bool udisp_init_done = false;
@ -360,7 +364,7 @@ void TS_RotConvert(int16_t *x, int16_t *y) {
if (renderer) renderer->TS_RotConvert(x, y);
}
#if defined(USE_FT5206) || defined(USE_XPT2046)
#ifdef USE_TOUCH_SCREEN
void udisp_CheckTouch() {
ctouch_counter++;
if (2 == ctouch_counter) {
@ -371,6 +375,22 @@ void udisp_CheckTouch() {
}
#endif
/*
* Read the status of the Touch Screen
* Returns true if ok, false if no touchscreen configured
*/
bool udisp_ReadTouch(int16_t * _x, int16_t * _y, int32_t * _touched) {
#ifdef USE_TOUCH_SCREEN
// read from xdrv_55_touch.ino
if (_x) { *_x = touch_xp; }
if (_y) { *_y = touch_yp; }
if (_touched) { *_touched = touched ? 1 : 0; }
return true;
#else
return false;
#endif
}
int8_t replacepin(char **cp, uint16_t pin) {
int8_t res = 0;
char *lp = *cp;
@ -480,7 +500,7 @@ bool Xdsp17(uint8_t function) {
break;
#endif // USE_DISPLAY_MODES1TO5
#if defined(USE_FT5206) || defined(USE_XPT2046)
#if defined(USE_TOUCH_SCREEN) && !defined(USE_DISPLAY_LVGL_ONLY)
case FUNC_DISPLAY_EVERY_50_MSECOND:
if (FT5206_found || XPT2046_found) {
udisp_CheckTouch();

View File

@ -321,7 +321,8 @@ extern int lv0_start(bvm *vm);
extern int lv0_init(bvm *vm);
extern int lv0_add_button_encoder(bvm *vm); // add buttons with encoder logic
extern int lv0_register_button_encoder(bvm *vm); // add buttons with encoder logic
extern int lv0_register_touch_screen(bvm *vm); // touch screen
extern int lv0_scr_act(bvm *vm);
extern int lv0_layer_top(bvm *vm);
@ -456,7 +457,8 @@ print("""/********************************************************************
extern int lv0_start(bvm *vm);
extern int lv0_add_button_encoder(bvm *vm); // add buttons with encoder logic
extern int lv0_register_button_encoder(bvm *vm); // add buttons with encoder logic
extern int lv0_register_touch_screen(bvm *vm); // add touch screen
extern int lv0_load_montserrat_font(bvm *vm);
extern int lv0_load_seg7_font(bvm *vm);
@ -577,7 +579,10 @@ for k_v in lv_module:
print("""
be_native_module_function("start", lv0_start),
be_native_module_function("add_button_encoder", lv0_add_button_encoder),
be_native_module_function("register_button_encoder", lv0_register_button_encoder),
be_native_module_function("register_touch_screen", lv0_register_touch_screen),
be_native_module_function("montserrat_font", lv0_load_montserrat_font),
be_native_module_function("seg7_font", lv0_load_seg7_font),
be_native_module_function("load_font", lv0_load_font),
@ -749,7 +754,10 @@ for k_v in lv_module:
print("""
start, func(lv0_start)
add_button_encoder, func(lv0_add_button_encoder)
register_button_encoder, func(lv0_register_button_encoder)
register_touch_screen, func(lv0_register_touch_screen)
montserrat_font, func(lv0_load_montserrat_font)
seg7_font, func(lv0_load_seg7_font)
load_font, func(lv0_load_font)