From 44b43710f2d49363bebe042f0a421361346db04d Mon Sep 17 00:00:00 2001 From: Pavlo Hamov Date: Tue, 11 Feb 2020 22:56:54 +0200 Subject: [PATCH] samples: display: lvgl use posix input, remove defaults Add support of SDL mouse events as input for the LVGL platforms: native_posix(_64) Signed-off-by: Pavlo Hamov --- samples/display/lvgl/boards/native_posix.conf | 4 +++- samples/display/lvgl/boards/native_posix_64.conf | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/samples/display/lvgl/boards/native_posix.conf b/samples/display/lvgl/boards/native_posix.conf index 2803850b25414e..e5abe3b41cf351 100644 --- a/samples/display/lvgl/boards/native_posix.conf +++ b/samples/display/lvgl/boards/native_posix.conf @@ -1,4 +1,6 @@ -CONFIG_SDL_DISPLAY=y CONFIG_SDL_DISPLAY_DEV_NAME="DISPLAY" CONFIG_SDL_DISPLAY_X_RES=320 CONFIG_SDL_DISPLAY_Y_RES=240 + +CONFIG_KSCAN=y +CONFIG_LVGL_POINTER_KSCAN=y diff --git a/samples/display/lvgl/boards/native_posix_64.conf b/samples/display/lvgl/boards/native_posix_64.conf index 2803850b25414e..e5abe3b41cf351 100644 --- a/samples/display/lvgl/boards/native_posix_64.conf +++ b/samples/display/lvgl/boards/native_posix_64.conf @@ -1,4 +1,6 @@ -CONFIG_SDL_DISPLAY=y CONFIG_SDL_DISPLAY_DEV_NAME="DISPLAY" CONFIG_SDL_DISPLAY_X_RES=320 CONFIG_SDL_DISPLAY_Y_RES=240 + +CONFIG_KSCAN=y +CONFIG_LVGL_POINTER_KSCAN=y