summaryrefslogtreecommitdiff
path: root/modules/input/evdev/InputDeviceManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/input/evdev/InputDeviceManager.cpp')
-rw-r--r--modules/input/evdev/InputDeviceManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/input/evdev/InputDeviceManager.cpp b/modules/input/evdev/InputDeviceManager.cpp
index f21d6d15..46c9dfb7 100644
--- a/modules/input/evdev/InputDeviceManager.cpp
+++ b/modules/input/evdev/InputDeviceManager.cpp
@@ -43,7 +43,8 @@ void InputDeviceManager::onDeviceRemoved(const std::shared_ptr<InputDeviceNode>&
return;
}
// TODO: tell the InputDevice and InputDeviceNode that they are being
- // removed so they can run any cleanup.
+ // removed so they can run any cleanup, including unregistering from the
+ // host.
mDevices.erase(node);
}