Advertisement
svenhoefer

Untitled

Oct 7th, 2017
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.74 KB | None | 0 0
  1. diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp
  2. index bf01d44..305c4d1 100644
  3. --- a/src/driver/rcinput.cpp
  4. +++ b/src/driver/rcinput.cpp
  5. @@ -220,8 +220,12 @@ void CRCInput::open(bool recheck)
  6.                    event0 device if e.g. an USB keyboard is plugged in*/
  7.                 if (dentry->d_type == DT_LNK &&
  8.                     id.path == "/dev/input/nevis_ir") {
  9. +#if HAVE_COOL_HARDWARE
  10.                         if (readLink(id.path) != "/dev/cs_ir")
  11.                                 continue;
  12. +#else
  13. +                       continue;
  14. +#endif
  15.                 } else if (dentry->d_type != DT_CHR) {
  16.                         d_printf("[rcinput:%s] skipping '%s'\n", __func__, dentry->d_name);
  17.                         continue;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement