Need Help with My Power Button
Posted: Wed May 10, 2006 11:16 am
SKIP TO THE END FOR THE CURRENT SITUATION
Entire IR file: https://www.hifi-remote.com/forums/dload ... le_id=3188
Here's what I have:
CD is not a real device. It is just used to hold stuff.
Power is a macro: X-CD,XSHIFT-Power
This decides whether I am in device-specific home theater mode or not:
CD XSHIFT-Power is a Test-Only Toadtog
On: SHIFT-Power
Off: X-Cancel,SHIFT-Power
This is for the device-specific home theater case:
CD SHIFT-Power is a LKP
Short: X-TV,SHIFT-Power
Long: X-Cancel,SHIFT-Power
Everything works except the case where I am in device-specific home theater mode and I do a long press of the Power button. In that case, nothing happens. That is, the X-Cancel,SHIFT-Power (last line of code above) does not send Power to the selected (canceled to) device.
Before my latest change, it all worked fine. Then:
CD XSHIFT-Power is a Test-Only Toadtog
On: X-TV,SHIFT-Power
Off: X-Cancel,SHIFT-Power
CD SHIFT-Power was not defined.
At that time, if I was in device-specific home theater mode, Power would only be sent to the TV. The purpose of the change, was to have a long press of Power send Power to the selected device just as any Power would in not in home theater mode.
Basically, my change made no difference at all except that a long press of Power in home theater mode now does nothing where as before is was indistinguishable from a short press.
Any help would be appreciated -- Vincent
Entire IR file: https://www.hifi-remote.com/forums/dload ... le_id=3188
Here's what I have:
CD is not a real device. It is just used to hold stuff.
Power is a macro: X-CD,XSHIFT-Power
This decides whether I am in device-specific home theater mode or not:
CD XSHIFT-Power is a Test-Only Toadtog
On: SHIFT-Power
Off: X-Cancel,SHIFT-Power
This is for the device-specific home theater case:
CD SHIFT-Power is a LKP
Short: X-TV,SHIFT-Power
Long: X-Cancel,SHIFT-Power
Everything works except the case where I am in device-specific home theater mode and I do a long press of the Power button. In that case, nothing happens. That is, the X-Cancel,SHIFT-Power (last line of code above) does not send Power to the selected (canceled to) device.
Before my latest change, it all worked fine. Then:
CD XSHIFT-Power is a Test-Only Toadtog
On: X-TV,SHIFT-Power
Off: X-Cancel,SHIFT-Power
CD SHIFT-Power was not defined.
At that time, if I was in device-specific home theater mode, Power would only be sent to the TV. The purpose of the change, was to have a long press of Power send Power to the selected device just as any Power would in not in home theater mode.
Basically, my change made no difference at all except that a long press of Power in home theater mode now does nothing where as before is was indistinguishable from a short press.
Any help would be appreciated -- Vincent