I'm currently building myself a touchscreen universal remote in python
I want to be able to send a command (volume up / down) repeatedly as long as the button is pressed.
If I call the "irsend SEND_ONCE device command" in a loop,and call it 20times a second, LIRC seems to refuse to send the command more than 2-3times a second.
Currently, I can work but, its long before the volume gets to the desired value with this code
self.timeout_id= GLib.timeout_add(15, SEND_IR_CLASS(device_name, device_button)
If I call irsend SEND_START device command" it does seems to happen at a faster rate.
I wouldn't mind using the SEND_START fonction and SEND_STOP
1 - if I could get the delay to work because I would like to start with a longer delay and decrease it as time goes
ie : "irsend SEND_START devicename deviceButton ; delay 1s"
is doing the same thing as "delay 10s" or "delay 1m" or without the delay portion. Am I writting this wrong?
2 - if SEND_START would work with every device I have
in the attached configuration file(I can't attach a .conf or .txt file...) https://www.dropbox.com/s/ulh5ohoui0ecw ... .conf?dl=0
SEND_START works with the device UMC-1 : KEY_VOLUMEDOWN and KEY_VOLUMEUP but not with RCA1 : KEY_VOLUMEUP and KEY_VOLUMEDOWN.
I don't know if those behavior are only on the Rpi version or it's the same on standard Linux distribution.
I have version 0.9.0-prel and on LIRC.org it seems that 0.9.3 is available. but "sudo apt-get install lirc" says I'm up to date.
If any of you have a solution or if anyone sees a error in the way I'm doing this, please let me know
Thanks