bengtmartensson / DevSlashLirc

Object oriented access to /dev/lirc-hardware from C++ and Java
http://www.harctoolbox.org/
GNU General Public License v3.0
4 stars 4 forks source link

Implement begin- and ending timeouts compatibel with Girs and HarcHardware #4

Open bengtmartensson opened 8 years ago

bengtmartensson commented 8 years ago

It the lirc hardware does not support it, use read timeouts with poll(2) or select(2). Use LIRC_SET_REC_TIMEOUT and LIRC_SET_REC_TIMEOUT_REPORTS.

Note: Girs and HardHardware as well as poll uses values in milliseconds, Lirc microseconds.

seanyoung commented 4 years ago

All lirc kernel driver should report timeouts. If you find one that does not, please report a bug and I will fix it.

bengtmartensson commented 4 years ago

Thanx for the advice. Now it only remains to implement it ;-).