Page 1 of 1
Button hex codes -- how do I find them?
Posted: Mon Jan 08, 2007 12:01 am
by jsevinsk
I'm trying to use an extender for the first time with my 7800 (Cinema 7) remote. In the instructions for the LKP/DKP functions, here is step 1:
Create macros on the phantom keys that you wish to be executed by this protocol. Note the button hex code for the buttons on which you have defined the macros.
I found the four phantom buttons for my remote, but what is their hex code? And how do I find the hex code for a shifted button?
John
Posted: Mon Jan 08, 2007 5:20 am
by unclemiltie
for an already "supported" remote, the easiest way is to use the RDF, all of the button codes are in there.
for a new remote (for example trying to write an RDF) its a bit more involved.
Posted: Mon Jan 08, 2007 7:20 am
by Capn Trips
Those instructions were written back before IR had evolved to its current state. You need not mess with any hex codes. In IR's Special Fucntions tab, just click "ADD" and the pop-up is pretty self-explanatory for creating the L/DKP (after you pick in the "Style" window "L/DKP"). You create your button sequences for Long and Short (or Single and Double) by selecting the button names from the menu in the corresponding list.
Posted: Mon Jan 08, 2007 9:30 am
by jsevinsk
Ah yes, thanks. That method works great for my 8910 remote. However, for my old 7800 remote, I have no special protocols. Is that because the 7800 extender uses a non-standard device/protocol?
Posted: Mon Jan 08, 2007 10:47 am
by ElizabethD
7800 ain't no 8910

but it's faster.
In the 9/5/2005 readme file, 5th occurence of "C7ext2" takes you to two examples and setup instructions. As Capn Trips said, these are rather universal instructions, but I've added special notes for C7 because it's a totally non-standard setup. However, the entire readme applies (with few possible exceptions noted in the text).
Bottom line for L/DKP: define macros on two buttons, find button numbers in RDF, put it all together in a LKP keymove on the keymoves sheet using the correct 12xx device.
Detail: define 2 macros on some keys you normally don't press, in my example was shift-2 and shift-4, then your LKP keymove uses setup code 1207 and will look like this on the keymoves sheet:
bound device/bound key = <N/A> TV 1207 $99 $96
where 99 and 96 are shift key codes for 4 and 2.