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:
Michael Liebmann
2017-02-22 11:36:04 +01:00
parent 41f5815172
commit 420efbcc4e

View File

@@ -1775,7 +1775,7 @@ void CRCInput::setKeyRepeatDelay(unsigned int start_ms, unsigned int repeat_ms)
std::string path = (*it).path;
if (path == "/tmp/neutrino.input")
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... */
if (path == "/dev/input/nevis_ir") {
d_printf("[rcinput:%s] %s(fd %d) using proprietary ioctl\n", __func__, path.c_str(), fd);