I had a similar problem a while back. Most of the time pressing a button resulted in one press, but sometimes two, or three presses.

A message to this forum a while back suggested upgrading pylirc to version 0.5 because 0.4 doesn't honour the repeat command.

When I upgraded pylirc this fixed the repeating problem, but unfortunately because the default is repeat=0 I couldn't use the ffwd buttons properly...

I found the best result was:

begin
  prog=freevo
  remote=hauppaugegrey
  button=GO
  repeat=1
  delay=2
  config=ENTER
end

Dylan


gislain wautriche wrote:
Thanks for your replies.
I still can't find the correct config.
The repeat=0 seems to be the correct setting to ignore repeated keys as the man page says.
Actually if I do a test using ircat, that's what happens, repeated keys are ignored.
But still, freevo takes a repeated key : if I launch freevo and ircat at the same time, I clearly see ircat giving only one pulse whereas freevo give a pulse every half a second moving further into submenus.


So reason should be : lircrc's "repeat" setting is bypassed in freevo's lirc engine.
Gis.



Karl Lattimer a �crit :

In your lircrc file you would define a button like so;

begin
   prog = freevo
   button = menu
   config = EXIT
   repeat = 3
end

My remote requires repeat = 0/1/2/3 in different circumstances, the
lircrc documentation says;

repeat
       tells the program what shall happen if a key is repeated. A
       value of zero tells the program to ignore repeated keys. Any
       other positive value 'n' tells the program to pass the config
       string every 'n'-th time to the according application, when a
       key is repeated. The default for repeat is zero.

So basically, my menu/EXIT button repeats 3 times on one press, well
actually once for pressed, once for down (which increments while held)
and once again for released, other buttons on my remote behave
differently. In this instance I want to ignore upto 3 repeats regardless
of any increment to the repeat counter.

You may wish to read more about this configuration on this page
http://www.lirc.org/html/configure.html#lircrc_format

Regards
Karl,

On Mon, 2005-05-09 at 14:49 +0300, Marius Stan wrote:


Jesper Mathiassen wrote:



Consider repeat = 0 .. It may work, although in my setup I had to add
repeat = 1 to get button repeats at all..




Repeat = 0 doesn't work for me... same annoying repeats Marius



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users






-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users







------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click _______________________________________________ Freevo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.7 - Release Date: 9/05/2005



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to