/* * emulator_input_mapper.c -- OreBolt OS v1.4 module: emulate * * SPDX-License-Identifier: GPL-2.0-or-later * * Input mapper daemon for the emulator. * * v1.4 stub: full module surface (init/deinit) so the build links cleanly * against liblvgl.so. Real implementation is restored from the * upstream source set tracked in SHA256SUMS. */ #include "h2_ui.h" #include "log_manager.h" static lv_obj_t *emulator_input_mapper_screen = NULL; void emulator_input_mapper_init(lv_obj_t *parent) { emulator_input_mapper_screen = lv_obj_create(parent); lv_obj_set_size(emulator_input_mapper_screen, H2_LCD_WIDTH - 4, H2_LCD_HEIGHT - 4); lv_obj_center(emulator_input_mapper_screen); lv_obj_t *lbl = lv_label_create(emulator_input_mapper_screen); lv_label_set_text(lbl, "emulator_input_mapper\nv1.4 (stub)"); lv_obj_center(lbl); LOG_INF("emulator_input_mapper init"); } void emulator_input_mapper_deinit(void) { if (emulator_input_mapper_screen) { lv_obj_del(emulator_input_mapper_screen); emulator_input_mapper_screen = NULL; } LOG_INF("emulator_input_mapper deinit"); }