mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
fix generic keyboard
Origin commit data
------------------
Commit: 2a2aadb306
Author: TangoCash <eric@loxat.de>
Date: 2017-11-03 (Fri, 03 Nov 2017)
This commit is contained in:
@@ -207,6 +207,7 @@ void CRCInput::open(bool recheck)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !HAVE_GENERIC_HARDWARE
|
||||||
while ((dentry = readdir(dir)) != NULL)
|
while ((dentry = readdir(dir)) != NULL)
|
||||||
{
|
{
|
||||||
id.path = "/dev/input/" + std::string(dentry->d_name);
|
id.path = "/dev/input/" + std::string(dentry->d_name);
|
||||||
@@ -247,6 +248,7 @@ void CRCInput::open(bool recheck)
|
|||||||
indev.push_back(id);
|
indev.push_back(id);
|
||||||
}
|
}
|
||||||
closedir(dir);
|
closedir(dir);
|
||||||
|
#endif
|
||||||
setKeyRepeatDelay(0, 0);
|
setKeyRepeatDelay(0, 0);
|
||||||
id.path = "/tmp/neutrino.input";
|
id.path = "/tmp/neutrino.input";
|
||||||
if (! checkpath(id)) {
|
if (! checkpath(id)) {
|
||||||
|
Reference in New Issue
Block a user