TODO cleanup: Remove error check todo in DeviceManager
This commit is contained in:
parent
825967b140
commit
937225b6f2
|
@ -58,8 +58,7 @@ void DeviceManager::addDevice(std::string path)
|
||||||
receiver->run();
|
receiver->run();
|
||||||
_receivers.emplace(path, receiver);
|
_receivers.emplace(path, receiver);
|
||||||
} else {
|
} else {
|
||||||
/* TODO: Error check?
|
/* TODO: Can non-receivers only contain 1 device?
|
||||||
* TODO: Can non-receivers only contain 1 device?
|
|
||||||
* If the device exists, it is guaranteed to be an HID++ 2.0 device */
|
* If the device exists, it is guaranteed to be an HID++ 2.0 device */
|
||||||
if(defaultExists) {
|
if(defaultExists) {
|
||||||
auto device = std::make_shared<Device>(path, hidpp::DefaultDevice);
|
auto device = std::make_shared<Device>(path, hidpp::DefaultDevice);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user