Descriptionozone: evdev: Plumb device changes to EventFactoryEvdev
This is part of a series moving IO on evdev devices to a fast thread,
since UI thread is too slow for the cursor.
We must access DeviceDataManager from the UI thread only, so send a new
list to EventFactoryEvdev when devices are added or removed, and update
DeviceDataManager from there.
InputControllerEvdev also needs to know if there's a mouse or touchpad
attached, so additionally plumb lists for those devices and update this
property on InputControllerEvdev.
BUG=449710
TEST=boot link_freon & move mouse
Committed: https://crrev.com/c77b18bf9bee62805a9ed5d1ae12e2f0c6944f45
Cr-Commit-Position: refs/heads/master@{#313865}
Patch Set 1 #Patch Set 2 : updates for events_unittests #
Total comments: 4
Patch Set 3 : rebase #Patch Set 4 : rebase #Messages
Total messages: 9 (2 generated)
|