I've been working on a web interface for my iPad using jQuery, USB-UIRT and EventGhost to control lights, tv, receiver etc. and I've had some trouble with controlling the volume on my receiver. Since I can only control the volume by sending IR I figured had to do some kind of loop or something but after trying various things this is what I've done:
Is there a better way to achieve this? I feel like this is somewhat complex. I need to be able to interrupt everything with the "TCP.rec.main-volup/voldown_move" command since the "TCP.rec.main-volup/voldown_up" doesn't work if I accidentally move my finger of the button and then lift my finger which means the volume would just keep rising if i move my finger and I don't want that.
So my question is simply if there's a better/more elegant way to achieve this? For some reason the "autorepeat current macro" doesn't work.