Remove some useless debug output

This commit is contained in:
pixl 2020-07-02 15:42:36 -04:00
parent 4e33ad7593
commit b445b979d3
No known key found for this signature in database
GPG Key ID: 1866C148CD593B6E
3 changed files with 3 additions and 2 deletions

View File

@ -41,6 +41,9 @@ Device::Device(const std::shared_ptr<backend::raw::RawDevice>& raw_device,
void Device::_init()
{
logPrintf(INFO, "Device found: %s on %s:%d", name().c_str(),
hidpp20().devicePath().c_str(), _index);
_addFeature<features::DPI>();
_addFeature<features::SmartShift>();

View File

@ -27,7 +27,6 @@ using namespace logid::backend;
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)

View File

@ -49,7 +49,6 @@ Device::InvalidDevice::Reason Device::InvalidDevice::code() const noexcept
return _reason;
}
/// TODO: Initialize a single RawDevice for each path.
Device::Device(const std::string& path, DeviceIndex index):
_raw_device (std::make_shared<raw::RawDevice>(path)), _receiver (nullptr),
_path (path), _index (index)