Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp
- index 9facaaf..1f097da 100644
- --- a/src/driver/rcinput.cpp
- +++ b/src/driver/rcinput.cpp
- @@ -1781,7 +1781,11 @@ void CRCInput::setKeyRepeatDelay(unsigned int start_ms, unsigned int repeat_ms)
- continue; /* setting repeat rate does not work here */
- #ifdef HAVE_COOL_HARDWARE
- /* this is ugly, but the driver does not support anything advanced... */
- - if (path == "/dev/input/nevis_ir") {
- + if (path == "/dev/input/nevis_ir"
- +#ifdef BOXMODEL_CS_HD2
- + || path == "/dev/input/input0"
- +#endif
- + ) {
- d_printf("[rcinput:%s] %s(fd %d) using proprietary ioctl\n", __func__, path.c_str(), fd);
- ioctl(fd, IOC_IR_SET_F_DELAY, start_ms);
- ioctl(fd, IOC_IR_SET_X_DELAY, repeat_ms);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement