Move indev to shared component

This commit is contained in:
Johannes Marbach 2024-03-28 14:31:27 +01:00
parent f81f4587f6
commit b98b8d1be2
10 changed files with 58 additions and 153 deletions

View file

@ -6,13 +6,13 @@
#include "buffyboard.h"
#include "command_line.h"
#include "indev.h"
#include "sq2lv_layouts.h"
#include "terminal.h"
#include "uinput_device.h"
#include "lvgl/lvgl.h"
#include "../shared/indev.h"
#include "../squeek2lvgl/sq2lv.h"
#include <limits.h>
@ -279,9 +279,8 @@ int main(int argc, char *argv[]) {
}
}
/* Connect input devices */
bb_indev_auto_connect();
bb_indev_set_up_mouse_cursor();
/* Start input device monitor and auto-connect available devices */
bb_indev_start_monitor_and_autoconnect(false, true, true);
/* Initialise theme and styles */
set_theme(true);