Thanks for the note, Christoph.
Christoph Bartelmus wrote:
> Scott A. Herod "herod@..." wrote:
> > discovering that the remote is very sensitive. irw usually records two
> > signals for each firm button press.
> The remote always sends at least three signals for each button press.
I've got a little libirman app. I wrote which essentially reproduces the
functionality of irw. Watching events come in, I see three for what I
a "firm" button press but if I am careful to just barely touch the
button, I see only two.
> > Is there a simple way to add a longer delay between what is considered a
> > single signal without digging into the code to do it myself?
> Why? Applications ignore repeated signals by default. (repeat = 0)
I was finding that irxevent ( and irw ) would forward two events for
press. My hack has been to go into the libirman code ( irfunc.c, line
to be exact ) and disable the reset that occurs when it receives a
duplicate code. I also extended the wait time for a duplicate to 250 ms
as I found that the three codes would extend slightly longer than 200 ms
which was the default. What I probably should do is fix it so that
some pause, events are passed on so that channel or volume control
In reality, that should be the responsibility of my main app. not the
so probably I should tear my changes out of libirman and place them in
real app. ( when it exists ).