From a69ba7787e82538838ca6d1100e82b0cdde7a5f0 Mon Sep 17 00:00:00 2001 From: zvon Date: Wed, 10 Jun 2020 15:26:45 +0200 Subject: [PATCH] Log device's available CIDs --- src/logid/Device.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/logid/Device.cpp b/src/logid/Device.cpp index 79d0784..4005b18 100644 --- a/src/logid/Device.cpp +++ b/src/logid/Device.cpp @@ -141,6 +141,7 @@ void Device::divert_buttons() if(disconnected) return; uint16_t cid = irc.getControlInfo(i).control_id; + log_printf(DEBUG, "Available CID: 0x%x!", cid); uint8_t flags = 0; flags |= HIDPP20::IReprogControls::ChangeTemporaryDivert; flags |= HIDPP20::IReprogControls::ChangeRawXYDivert;