Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: cinergyT2 remote, repeat handling, keycodes WAS:(Re:Re: cinergyT2: which kernel/usb module to use?)
Hi Stefan,
Stefan Lucke wrote:
On Montag, 29. November 2004 10:40, Holger Waechtler wrote:
Stefan Lucke wrote:
Yes IR works. Key repeat rate is much to high. Pressing "1" and to "2" is
written multiple times upon a short hit.
The device should just report the raw keycodes it receives from the
remote control without touching them. Please read the comment in the
code about the sketchy keyrepeat implementation, if you want a
host-controllable keyrepeat rate you just need to properly implement the
input-device keyrepeat timer initialisation and then report keyrepeat
events instead of repeating up/down events to the applications.
I just worked around that, by ignoring the first few repeat event codes,
see attached file.
The linux input infrastructure handles this properly for you by
setting/modifying/canceling a repeat timer -- please have a look in the
input and event implementation in the kernel (you would now have to send
repeat events instead of repeating key up/downs...)
Holger
Home |
Main Index |
Thread Index