Using Recurrsion in an LKP
Posted: Sat Nov 03, 2012 6:49 pm
It's no secret that the LKP is one of my favorite extender features. A long time ago, I tried to explain LKP recurrsion in the forum, but it was like I was talking gibberish. It was an active conversation and nobody seemed to be listening to what I was proposing. I just used it and thought I'd give share.
I've been documenting all of my remotes. This led to correcting inconsistancies and improving usability. One of the things I did to all my remotes whas make a long-shift of mute toggle Closed captioning on and off. This last remote was a bit of a challenge. The CC on my TV isn't a simple toggle. Pressing the CC key first displays the current setting, if the CC status is displayed, then the next press will toggle to the next of three values. On/Off/On when muting. So I used recurrsion, to have the button toggle through the values until the key is released. And guess what. It passed the DH test. He could turn off the CC!
I thought this was a rather understandable example, so I posted the file here so that people could take a look.
https://www.hifi-remote.com/forums/dload ... e_id=11486
I've been documenting all of my remotes. This led to correcting inconsistancies and improving usability. One of the things I did to all my remotes whas make a long-shift of mute toggle Closed captioning on and off. This last remote was a bit of a challenge. The CC on my TV isn't a simple toggle. Pressing the CC key first displays the current setting, if the CC status is displayed, then the next press will toggle to the next of three values. On/Off/On when muting. So I used recurrsion, to have the button toggle through the values until the key is released. And guess what. It passed the DH test. He could turn off the CC!
I thought this was a rather understandable example, so I posted the file here so that people could take a look.
https://www.hifi-remote.com/forums/dload ... e_id=11486