fix generic keyboard

Origin commit data
------------------
Branch: ni/coolstream
Commit: 2a2aadb306
Author: TangoCash <eric@loxat.de>
Date: 2017-11-03 (Fri, 03 Nov 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2017-11-03 19:56:24 +01:00
committed by vanhofen
parent 72f8a92e90
commit 6541ac895d

View File

@@ -207,6 +207,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);
@@ -247,6 +248,7 @@ void CRCInput::open(bool recheck)
indev.push_back(id);
}
closedir(dir);
#endif
setKeyRepeatDelay(0, 0);
id.path = "/tmp/neutrino.input";
if (! checkpath(id)) {