From: Martin T J. <mar...@vi...> - 2011-07-12 18:40:26
|
Hello, I am modifying the LCDproc picolcd driver for the Mini-Box.com USB LCD picoLCD displays. These devices have an IR receiver and the driver can send the data to LIRC. The device sends IR pulse data to the driver in microsecond units which the current driver converts to 1/16384-second units to send to the LIRC UDP driver which then converts back to microsecond units. I want to make the conversion from microseconds to 1/16384-seconds and back optional because converting to 1/16384-seconds and back loses timing resolution. I have had a quick look at the code and the best way to achieve this is not obvious. I would appreciate some guidance on how to do this in a way consistent with your design philosophy or better still a patch that I could test. Many thanks Martin |