mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
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:
@@ -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();
|
||||
}
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user