Joined: 20 Mar 2004
|Posted: Sat Nov 03, 2012 7:49 pm Post subject: Using Recurrsion in an LKP
|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.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.
Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.