From: Lars Op den Kamp Date: Mon, 18 Mar 2013 15:15:51 +0000 (+0100) Subject: updated log message for unmapped commands X-Git-Tag: upstream/2.2.0~1^2~4^2~15 X-Git-Url: https://git.piment-noir.org/?p=deb_libcec.git;a=commitdiff_plain;h=0c4d556d442f5a4483080ce3dcc2ec208f75bcaa updated log message for unmapped commands --- diff --git a/src/lib/implementations/CECCommandHandler.cpp b/src/lib/implementations/CECCommandHandler.cpp index b961878..1343a0c 100644 --- a/src/lib/implementations/CECCommandHandler.cpp +++ b/src/lib/implementations/CECCommandHandler.cpp @@ -1290,6 +1290,6 @@ void CCECCommandHandler::RequestEmailFromCustomer(const cec_command& command) m_logsRequested.insert(make_pair(command.opcode, commands)); } - LIB_CEC->AddLog(CEC_LOG_NOTICE, "key with keycode '%s' is not mapped in libCEC. please send an email to support@pulse-eight.com with this keycode, and tell which key you pressed, and we'll add support for this key.", CCECTypeUtils::ToString(command).c_str()); + LIB_CEC->AddLog(CEC_LOG_NOTICE, "Unmapped code detected. Please send an email to support@pulse-eight.com with the following details, and if you pressed a key, tell us which one you pressed, and we'll add support for this it.\nCEC command: %s\nVendor ID: %s (%06x)", CCECTypeUtils::ToString(command).c_str(), CCECTypeUtils::ToString(m_vendorId), m_vendorId); }