From 85550ee340eaff44b8a4f60bc7ca1af467583fcb Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 20 Mar 2022 00:44:54 +0800 Subject: [PATCH] boards/sim: Enable uinput for rpproxy and rpserver Signed-off-by: Xiang Xiao --- boards/sim/sim/sim/configs/rpproxy/defconfig | 5 +++++ boards/sim/sim/sim/configs/rpserver/defconfig | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/boards/sim/sim/sim/configs/rpproxy/defconfig b/boards/sim/sim/sim/configs/rpproxy/defconfig index 634dfe2a09..fff3a02327 100644 --- a/boards/sim/sim/sim/configs/rpproxy/defconfig +++ b/boards/sim/sim/sim/configs/rpproxy/defconfig @@ -20,6 +20,7 @@ CONFIG_FS_PROCFS=y CONFIG_FS_RPMSGFS=y CONFIG_IDLETHREAD_STACKSIZE=4096 CONFIG_INIT_ENTRYPOINT="nsh_main" +CONFIG_INPUT=y CONFIG_LIBC_HOSTNAME="proxy" CONFIG_NET=y CONFIG_NETDB_DNSCLIENT=y @@ -64,3 +65,7 @@ CONFIG_SYSLOG_TIMESTAMP=y CONFIG_SYSTEM_CLE=y CONFIG_SYSTEM_NSH=y CONFIG_SYSTEM_PING=y +CONFIG_UINPUT_BUTTONS=y +CONFIG_UINPUT_KEYBOARD=y +CONFIG_UINPUT_RPMSG=y +CONFIG_UINPUT_TOUCH=y diff --git a/boards/sim/sim/sim/configs/rpserver/defconfig b/boards/sim/sim/sim/configs/rpserver/defconfig index c11c4bf255..db071998c7 100644 --- a/boards/sim/sim/sim/configs/rpserver/defconfig +++ b/boards/sim/sim/sim/configs/rpserver/defconfig @@ -22,6 +22,7 @@ CONFIG_FS_PROCFS=y CONFIG_FS_RPMSGFS=y CONFIG_IDLETHREAD_STACKSIZE=4096 CONFIG_INIT_ENTRYPOINT="nsh_main" +CONFIG_INPUT=y CONFIG_IOEXPANDER=y CONFIG_IOEXPANDER_RPMSG=y CONFIG_LIBC_HOSTNAME="server" @@ -86,3 +87,7 @@ CONFIG_SYSTEM_CUTERM_DEFAULT_DEVICE="/dev/ttyproxy" CONFIG_SYSTEM_NSH=y CONFIG_SYSTEM_PING=y CONFIG_TTY_SIGINT=y +CONFIG_UINPUT_BUTTONS=y +CONFIG_UINPUT_KEYBOARD=y +CONFIG_UINPUT_RPMSG=y +CONFIG_UINPUT_TOUCH=y