Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a7952ac1 authored by Xihua Chen's avatar Xihua Chen Committed by Tao Bao
Browse files

minui: Support input device hotplug in recovery mode.



In the old code, the recovery only enumerated the input devices at the
startup, and read the input events from these devices.
So if a USB input device is probed after the recovery startup, then the
recovery can't read the events from this device.
This patch use inotify to monitor /dev/input for new added input
device, then support input device hotplug in recovery mode.

Bug: 111847510
Test: can use USB keyboard hotplugged in recovery mode
Change-Id: I7e7dcbd619d3c66a2f40a43418f5dac6a50c859e
Signed-off-by: default avatarLiu Shuo A <shuo.a.liu@intel.com>
Signed-off-by: default avatarMing Tan <ming.tan@intel.com>
parent 7b87949a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment