repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
log unhandled vendor remote keycodes in the log, so they get logged without debugging...
[deb_libcec.git]
/
src
/
lib
/
implementations
/
CECCommandHandler.cpp
diff --git
a/src/lib/implementations/CECCommandHandler.cpp
b/src/lib/implementations/CECCommandHandler.cpp
index 2be7f3a7dffeace1768dc2a38b87068d82da5a6e..863b6175de5d757980cf8dfa59e56701fb699e48 100644
(file)
--- a/
src/lib/implementations/CECCommandHandler.cpp
+++ b/
src/lib/implementations/CECCommandHandler.cpp
@@
-718,6
+718,12
@@
int CCECCommandHandler::HandleVendorCommand(const cec_command & UNUSED(command))
return CEC_ABORT_REASON_INVALID_OPERAND;
}
return CEC_ABORT_REASON_INVALID_OPERAND;
}
+int CCECCommandHandler::HandleVendorRemoteButtonDown(const cec_command& command)
+{
+ LIB_CEC->AddLog(CEC_LOG_NOTICE, "unhandled vendor remote button received with keycode %x", command.parameters[0]);
+ return COMMAND_HANDLED;
+}
+
void CCECCommandHandler::UnhandledCommand(const cec_command &command, const cec_abort_reason reason)
{
if (m_processor->IsHandledByLibCEC(command.destination))
void CCECCommandHandler::UnhandledCommand(const cec_command &command, const cec_abort_reason reason)
{
if (m_processor->IsHandledByLibCEC(command.destination))