Remove some useless debug output
This commit is contained in:
parent
4e33ad7593
commit
b445b979d3
|
@ -41,6 +41,9 @@ Device::Device(const std::shared_ptr<backend::raw::RawDevice>& raw_device,
|
||||||
|
|
||||||
void Device::_init()
|
void Device::_init()
|
||||||
{
|
{
|
||||||
|
logPrintf(INFO, "Device found: %s on %s:%d", name().c_str(),
|
||||||
|
hidpp20().devicePath().c_str(), _index);
|
||||||
|
|
||||||
_addFeature<features::DPI>();
|
_addFeature<features::DPI>();
|
||||||
_addFeature<features::SmartShift>();
|
_addFeature<features::SmartShift>();
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@ using namespace logid::backend;
|
||||||
|
|
||||||
Receiver::Receiver(std::string path) : dj::ReceiverMonitor(path), _path (path)
|
Receiver::Receiver(std::string path) : dj::ReceiverMonitor(path), _path (path)
|
||||||
{
|
{
|
||||||
logPrintf(DEBUG, "logid::Receiver created on %s", path.c_str());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Receiver::addDevice(hidpp::DeviceConnectionEvent event)
|
void Receiver::addDevice(hidpp::DeviceConnectionEvent event)
|
||||||
|
|
|
@ -49,7 +49,6 @@ Device::InvalidDevice::Reason Device::InvalidDevice::code() const noexcept
|
||||||
return _reason;
|
return _reason;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// TODO: Initialize a single RawDevice for each path.
|
|
||||||
Device::Device(const std::string& path, DeviceIndex index):
|
Device::Device(const std::string& path, DeviceIndex index):
|
||||||
_raw_device (std::make_shared<raw::RawDevice>(path)), _receiver (nullptr),
|
_raw_device (std::make_shared<raw::RawDevice>(path)), _receiver (nullptr),
|
||||||
_path (path), _index (index)
|
_path (path), _index (index)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user