Remove some useless debug output

master
pixl 4 years ago
parent 4e33ad7593
commit b445b979d3
No known key found for this signature in database
GPG Key ID: 1866C148CD593B6E
  1. 3
      src/logid/Device.cpp
  2. 1
      src/logid/Receiver.cpp
  3. 1
      src/logid/backend/hidpp/Device.cpp

@ -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>();

@ -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)

@ -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)

Loading…
Cancel
Save