Log device's available CIDs

This commit is contained in:
zvon 2020-06-10 15:26:45 +02:00
parent 78f2d74cc1
commit a69ba7787e

View File

@ -141,6 +141,7 @@ void Device::divert_buttons()
if(disconnected) if(disconnected)
return; return;
uint16_t cid = irc.getControlInfo(i).control_id; uint16_t cid = irc.getControlInfo(i).control_id;
log_printf(DEBUG, "Available CID: 0x%x!", cid);
uint8_t flags = 0; uint8_t flags = 0;
flags |= HIDPP20::IReprogControls::ChangeTemporaryDivert; flags |= HIDPP20::IReprogControls::ChangeTemporaryDivert;
flags |= HIDPP20::IReprogControls::ChangeRawXYDivert; flags |= HIDPP20::IReprogControls::ChangeRawXYDivert;