mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
CRCInput::setKeyRepeatDelay: Change hardware dependency,
HD2 driver is not so very ugly. ;)
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