Skip to content

Commit 6f93e40

Browse files
xiaoliudxiaoxiang781216
authored andcommitted
apps/graphics: Refactor the input tool using input generator library
Signed-off-by: liuchan3 <liuchan3@xiaomi.com>
1 parent 36b117c commit 6f93e40

File tree

3 files changed

+149
-167
lines changed

3 files changed

+149
-167
lines changed

graphics/input/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ if(CONFIG_GRAPHICS_INPUT_TOOL)
5757
${CONFIG_GRAPHICS_INPUT_TOOL_STACKSIZE}
5858
PRIORITY
5959
${CONFIG_GRAPHICS_INPUT_TOOL_PRIORITY}
60+
DEPENDS
61+
input_generator
6062
SRCS
6163
generator/input.c)
6264
endif()

graphics/input/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ menuconfig GRAPHICS_INPUT_TOOL
3939
default n
4040
select UINPUT_TOUCH
4141
select UINPUT_BUTTONS
42-
select UINPUT_KEYBOARD
42+
select UINPUT_MOUSE
43+
select GRAPHICS_INPUT_GENERATOR
4344
---help---
4445
Enable support for a command line input tool.
4546

0 commit comments

Comments
 (0)