Page 1 of 1

LKP How to...

Posted: Tue Jan 27, 2004 7:42 pm
by KWA_Cirrus
Hello everyone, I'm very new to JP1. I have my cable working great with my RS 15-2104. I've sucessfully done some keymoves and created my own device upgrade using IR and KM.

My only question is, how do I assign a function to a Long Key Press?

My goal is to use a LKP on the stop button to use it as and eject button for my Pioneer DVD player (Device Code 0525)

I've poured over all the documentation I can find and haven't found anything that specifically addresses LKP assignments.

TIA

Kevin

Posted: Wed Jan 28, 2004 7:17 am
by e34m5
I just did this last week so I will attempt to help.

First you'll need to load the extender for your remote which can be found here.

Read the instructions several times. It takes a little while to wrap your head arround all the functionality.

Think of the SKP/LKP as a protocol that allows you to place two macros in one button. The hex values of the steps are placed in a key move and then that key move can be called from a macro. To determine the hex codes necessary use extender calc spreadsheet. Using this spreadsheet select the remote in question and the the LKP protocol. The LKP has two parts: the values that are sent when SKP and the values that are sent with LKP. It will be fairly obviuos when using the spreasdsheet.

When creating the keymove, Bound Device and Bound Key can be any of your choosing. The device setup must be TV1106 (this is prepackaged with the extender). You then copy and paste the hex values from the spreadsheet into the hex values for the key move. Many people choose one of the Phantom keys for the key move. So assuming the keymove is DVD|Ph4 then the macro would simply call this keymove.

Example:

KeyMove
DVD;Ph4;TV;1106,$44 $56 $5B $59 $7A $47 $03 $78 $3D $15 $55 $03 $25 .

In this case the 44 says - use 4 timing intervals and send the first four commands using SKP. Send the reamaining commands in the LKP.

Macro
DVD (button) - X_DVD, Ph4 (Always use the X_DVD for setting the device type. This will cause the keymove to be called as opposed to actually changeing the device selection to DVD).

I hope this helps. If I have misstated something I ask the experts to please step in and correct. Tx.

Posted: Wed Jan 28, 2004 7:18 am
by johann83
EDIT: I guess e34m5 beat me to the punch, but another example, might still help...


Have you read the text file included in the LKP protocol zip file found here? It should explain the usage of this protocol pretty thoroughly. It would probably be useful to also download the Extender Code Calc spreadsheet.

I use LKP for several things in my 15-2104. As an example, I have a keymove on the power button that looks like this:

Code: Select all

Device/Code: TV/1106
Hex Cmd: $41 $9F $7F $37
This specifies a long key press command with a duration of 4 or about 1/2 a second (the 4 in the first hexadecimal digit of $41). It executes 1 command for a short press (the 1 in the second hexadecimal digit of $41) which happens to be Shift-0 (the $9F). It executes 2 commands for a long key press which happen to be X_Cancel (key $7F) and a new phantom key I added to the RDF for ToadTog (key $37).

In reality what this does for is is executes an "ALL OFF" function on a short press, but allows me to power cycle a single device for a long press. Hope this helps you.

Matt