nhttpd: just push remote keys into rcinput directly

Origin commit data
------------------
Branch: ni/coolstream
Commit: ab3c2b9cf9
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-09 (Sat, 09 Jan 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2016-01-09 20:16:12 +01:00
parent 17a40679d6
commit 980ddb03e5

View File

@@ -728,6 +728,7 @@ void CControlAPI::RCEmCGI(CyhookHandler *hh) {
if (!hh->ParamList["repeat"].empty())
repeat = atoi(hh->ParamList["repeat"].c_str());
#endif
#if 0
int evd = open(EVENTDEV, O_RDWR);
if (evd < 0) {
hh->SendError();
@@ -747,6 +748,9 @@ void CControlAPI::RCEmCGI(CyhookHandler *hh) {
return;
}
close(evd);
#endif
/* 0 == KEY_PRESSED in rcinput.cpp */
g_RCInput->postMsg((neutrino_msg_t) sendcode, 0);
hh->SendOk();
}
//-----------------------------------------------------------------------------