From: Lars Op den Kamp Date: Mon, 18 Mar 2013 14:19:13 +0000 (+0100) Subject: toshiba: ask users to send an email to support@pulse-eight.com when receiving an... X-Git-Tag: upstream/2.2.0~1^2~4^2~21 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8b99ad0fc19add184e383e9390d53501974651bf;p=deb_libcec.git toshiba: ask users to send an email to support@pulse-eight.com when receiving an unknown keycode --- diff --git a/src/lib/implementations/RLCommandHandler.cpp b/src/lib/implementations/RLCommandHandler.cpp index e969cac..42bbe9c 100644 --- a/src/lib/implementations/RLCommandHandler.cpp +++ b/src/lib/implementations/RLCommandHandler.cpp @@ -42,6 +42,8 @@ using namespace CEC; using namespace PLATFORM; +#define LIB_CEC m_busDevice->GetProcessor()->GetLib() + #define RL_KEY_TOP_MENU 0x10 #define RL_KEY_DVD_MENU 0x11 @@ -119,6 +121,7 @@ int CRLCommandHandler::HandleDeviceVendorCommandWithId(const cec_command &comman client->SetCurrentButton(CEC_USER_CONTROL_CODE_CONTENTS_MENU); break; default: + LIB_CEC->AddLog(CEC_LOG_NOTICE, "key with keycode '%02x' 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."); break; } bHandled = true;