From 420efbcc4e370b7e67bce99261d606e55d149f36 Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Wed, 22 Feb 2017 11:36:04 +0100 Subject: [PATCH] CRCInput::setKeyRepeatDelay: Change hardware dependency, HD2 driver is not so very ugly. ;) Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/383af04cb786296a3325d186c73fca05ebdaea3e Author: Michael Liebmann 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 --- src/driver/rcinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index ff2907ef5..1678addeb 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -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);