Global Long Key Presses (TV/1106)?
Posted: Mon Mar 28, 2005 6:46 pm
I have a URC-6131 w/JP1 and 8K EPROM, running the 6131 extender.
I have programmed a macro into the "shifted" version of each device button (CBL/SAT, DVD, VCR, AUD) to switch to the corresponding device. For instance, <SET> + <SAT/CBL> switches my TV to component input 1 (from the cable box), and my HT system to the auxillary sound input (also from my cable box).
Then, I discovered the LKP device in the extender (TV/1106), and decided to have some fun with it. Basically, I want:
- a short press on each device button to behave like the unextended device buttons, i.e. to only set the device mode of the remote control
- a long press on each device button to run my Shift-<button> macros, as described above.
Similarly, I want a short press on the Power button to switch on/off only the current device, and a long press to switch off all devices (much like the original 6131 power macro).
The problem I face is that the LKP protocol is local to each device mode. So while the remote is controlling the CBL/SAT device, I need one TV/1106 keymove for each device button, another set of keymoves for the DVD mode, and so on.
As an example, to get the desired short/long device press for the "CBL/SAT" button, I currently have:
All in all, I currently have 42 keymoves (6 control modes * 6 device buttons, plus 6 control modes * power) associated with this functionality. While this works, I would love to be able to eliminate this duplicated code/byte usage.
Ideas, anyone?
I have programmed a macro into the "shifted" version of each device button (CBL/SAT, DVD, VCR, AUD) to switch to the corresponding device. For instance, <SET> + <SAT/CBL> switches my TV to component input 1 (from the cable box), and my HT system to the auxillary sound input (also from my cable box).
Then, I discovered the LKP device in the extender (TV/1106), and decided to have some fun with it. Basically, I want:
- a short press on each device button to behave like the unextended device buttons, i.e. to only set the device mode of the remote control
- a long press on each device button to run my Shift-<button> macros, as described above.
Similarly, I want a short press on the Power button to switch on/off only the current device, and a long press to switch off all devices (much like the original 6131 power macro).
The problem I face is that the LKP protocol is local to each device mode. So while the remote is controlling the CBL/SAT device, I need one TV/1106 keymove for each device button, another set of keymoves for the DVD mode, and so on.
As an example, to get the desired short/long device press for the "CBL/SAT" button, I currently have:
Code: Select all
Device Key -> Code Hex Command Notes
TV CBL/SAT -> TV/1106 $42 $60 $62 $89 Short: T_SAT O_SAT; Long: Shift-CBL/SAT
CBL/SAT CBL/SAT -> TV/1106 $42 $60 $62 $89 Short: T_SAT O_SAT; Long: Shift-CBL/SAT
PVR CBL/SAT -> TV/1106 $42 $60 $62 $89 Short: T_SAT O_SAT; Long: Shift-CBL/SAT
AUD CBL/SAT -> TV/1106 $42 $60 $62 $89 Short: T_SAT O_SAT; Long: Shift-CBL/SAT
VCR CBL/SAT -> TV/1106 $42 $60 $62 $89 Short: T_SAT O_SAT; Long: Shift-CBL/SAT
DVD CBL/SAT -> TV/1106 $42 $60 $62 $89 Short: T_SAT O_SAT; Long: Shift-CBL/SAT
Ideas, anyone?