mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
CRCInput::setKeyRepeatDelay: Change hardware dependency,
HD2 driver is not so very ugly. ;)
Origin commit data
------------------
Branch: ni/coolstream
Commit: 383af04cb7
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-22 (Wed, 22 Feb 2017)
Origin message was:
------------------
CRCInput::setKeyRepeatDelay: Change hardware dependency,
HD2 driver is not so very ugly. ;)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1775,7 +1775,7 @@ void CRCInput::setKeyRepeatDelay(unsigned int start_ms, unsigned int repeat_ms)
|
|||||||
std::string path = (*it).path;
|
std::string path = (*it).path;
|
||||||
if (path == "/tmp/neutrino.input")
|
if (path == "/tmp/neutrino.input")
|
||||||
continue; /* setting repeat rate does not work here */
|
continue; /* setting repeat rate does not work here */
|
||||||
#ifdef HAVE_COOL_HARDWARE
|
#ifdef BOXMODEL_CS_HD1
|
||||||
/* this is ugly, but the driver does not support anything advanced... */
|
/* this is ugly, but the driver does not support anything advanced... */
|
||||||
if (path == "/dev/input/nevis_ir") {
|
if (path == "/dev/input/nevis_ir") {
|
||||||
d_printf("[rcinput:%s] %s(fd %d) using proprietary ioctl\n", __func__, path.c_str(), fd);
|
d_printf("[rcinput:%s] %s(fd %d) using proprietary ioctl\n", __func__, path.c_str(), fd);
|
||||||
|
Reference in New Issue
Block a user