Err.. perhaps I don't understand the issue.. but if your sample program wants to do something on presses of the TOP button, then it will need to have IR_TOP_BUTTON_PRESSED in the buttons[] array..

The "calculator" code within hijack does exactly this, using a buttons[] list to intercept several codes including the TOP button, taking special action when it is pressed. Works perfectly. (see the calculator_display() function for details).

Cheers

-ml