coldsource Wrote:Hi UsagiYojimbo and thanks for debugging this. The problem with this solution is that in normal operation mode on a keyboard, you only send a key down event, wait for some time and then send the key up event. The repetition is generated by your underlying system (Xorg) as it sees the key stay pressed. So if you send the key up directly after the key down, most remote won't work because they won't send key down again (until you release the button).
I think, this could be the cause of my problems, as you code send key-up event before the next key-down event, which may be a few seconds away...
Anyhow, my remote sends select-press-press-... codes. That is for a single button-press it gives a select code, and a single press code, while for repetition it would give a select code, and multiple press codes.
So the select code being mapped to a key-dovn event, and the press codes mapped to key repetition, (skipping the first one,) it works.
I was thinking about to send you a patched version for testing...

Search
Help