diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index 5ee8f0bf7..2f45b9269 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -204,6 +204,7 @@ void CRCInput::open(bool recheck) return; } +#if !HAVE_GENERIC_HARDWARE while ((dentry = readdir(dir)) != NULL) { id.path = "/dev/input/" + std::string(dentry->d_name); @@ -244,6 +245,7 @@ void CRCInput::open(bool recheck) indev.push_back(id); } closedir(dir); +#endif id.path = "/tmp/neutrino.input"; if (! checkpath(id)) { id.fd = ::open(id.path.c_str(), O_RDWR|O_NONBLOCK|O_CLOEXEC);