For discussion of how to use, install and choose TAPs - additional software packages that run on your Toppy

Moderator: Technical

Post Reply
matt
Forum moderator
Posts: 2305
Joined: Wed Mar 30, 2005 6:59 pm
Location: St Ives, Cornwall Transmitter: Redruth
Contact:

Post by matt »

Thanks Simon!
PVR: TF5800, MyStuff recommended firmware, new PSU, 250GB Spinpoint HDD, Zalman ZM-OP1 fan TAPs: QuickJump 1.72, MyStuff 6.4, EPG2MEI 0.96, Extend 1.7, Bookmark 3, UK Auto Scheduler 0.73, SecCache 0.4, EIT Sub 0.6, SDS 1.3, TAP Commander 1.34, Font Manager 1.0d. Others: HDFW 2.3a, Channel Manager 5.1, FastScanGUI, MyInfo TV: Philips 37PFL9603D
Toni
Regular contributor
Posts: 40
Joined: Fri Mar 09, 2007 4:36 pm
Location: Finland

Post by Toni »

Any ideas why this doesn't now work at all:

Event handling:

Code: Select all

dword TAP_EventHandler (word event, dword param1, dword param2)
{
...
		case EVT_KEY:
			return KeyHandler(param1, param2);
...
}
Key handling:

Code: Select all

dword KeyHandler (dword key, dword REkey)
{
	if (key == 0) return 0;

	// check for RemoteExtender TAP or RemExt patch
	if &#40;&#40;REkey >= 0x100 && REkey <= 0x1ff&#41; || &#40;REkey >= 0x10000 && REkey <= 0x100ff&#41;&#41; &#123;
		key = REkey;
	&#125;

	// Open infobox
	if &#40;key == INFO_KEY&#41; &#123;
...
&#125;
Maybe I'm just trying to make this too simple...
EMJB
Frequent contributor
Posts: 3645
Joined: Fri Jul 08, 2005 9:43 am
Location: Maldon Essex

Post by EMJB »

Hi Toni,

I think your code should work for the RE patch, but for the TAP you need to convert from Simon's (low value) codes to the standard Toppy codes. I just look for the keys that are different among Simons' codes, and then look for the equivalent code form the patch - see cloumns 8 & 9 in the tables in http://myweb.tiscali.co.uk/emjbtaps/TOP ... NDLING.pdf

EMJB
Toni
Regular contributor
Posts: 40
Joined: Fri Mar 09, 2007 4:36 pm
Location: Finland

Post by Toni »

EMJB wrote: I think your code should work for the RE patch, but for the TAP you need to convert from Simon's (low value) codes to the standard Toppy codes.
So actually the problem is that users are putting wrong values into the configuration file, because the value for INFO_KEY comes from there :D
matt
Forum moderator
Posts: 2305
Joined: Wed Mar 30, 2005 6:59 pm
Location: St Ives, Cornwall Transmitter: Redruth
Contact:

Post by matt »

In that case - my fault and I am sorry!

:oops:

Will try again later.
PVR: TF5800, MyStuff recommended firmware, new PSU, 250GB Spinpoint HDD, Zalman ZM-OP1 fan TAPs: QuickJump 1.72, MyStuff 6.4, EPG2MEI 0.96, Extend 1.7, Bookmark 3, UK Auto Scheduler 0.73, SecCache 0.4, EIT Sub 0.6, SDS 1.3, TAP Commander 1.34, Font Manager 1.0d. Others: HDFW 2.3a, Channel Manager 5.1, FastScanGUI, MyInfo TV: Philips 37PFL9603D
matt
Forum moderator
Posts: 2305
Joined: Wed Mar 30, 2005 6:59 pm
Location: St Ives, Cornwall Transmitter: Redruth
Contact:

Post by matt »

I'm still confused... what should I be using for values of left/right?

matt
PVR: TF5800, MyStuff recommended firmware, new PSU, 250GB Spinpoint HDD, Zalman ZM-OP1 fan TAPs: QuickJump 1.72, MyStuff 6.4, EPG2MEI 0.96, Extend 1.7, Bookmark 3, UK Auto Scheduler 0.73, SecCache 0.4, EIT Sub 0.6, SDS 1.3, TAP Commander 1.34, Font Manager 1.0d. Others: HDFW 2.3a, Channel Manager 5.1, FastScanGUI, MyInfo TV: Philips 37PFL9603D
Toni
Regular contributor
Posts: 40
Joined: Fri Mar 09, 2007 4:36 pm
Location: Finland

Post by Toni »

matt wrote:I'm still confused... what should I be using for values of left/right?
Me too, but doesn't that pdf give you any good guesses where to start? :) At least it doesn't tell me anything :D
R2-D2
Frequent contributor
Posts: 12148
Joined: Mon Dec 18, 2006 11:15 am
Contact:

Post by R2-D2 »

matt wrote:I'm still confused... what should I be using for values of left/right?
If it helps, the RemExt patch codes are listed in the p2rkey_tf5800.h file. Look for P2RKEY_Left and P2RKEY_Right.
matt
Forum moderator
Posts: 2305
Joined: Wed Mar 30, 2005 6:59 pm
Location: St Ives, Cornwall Transmitter: Redruth
Contact:

Post by matt »

Due to the fact I've been getting nowhere fast...

I've decided to remove my .ini file and try the latest version of InfoViewer with it's default .ini file.

I am unable to bring any InfoViewer OSD on screen ny pressing any keys - not even the I for Info key works.

The initial InfoViewer OSD displays on loading, and it displays on channel change via remote or front panel.

It is the only active TAP.

Any ideas?

matt
PVR: TF5800, MyStuff recommended firmware, new PSU, 250GB Spinpoint HDD, Zalman ZM-OP1 fan TAPs: QuickJump 1.72, MyStuff 6.4, EPG2MEI 0.96, Extend 1.7, Bookmark 3, UK Auto Scheduler 0.73, SecCache 0.4, EIT Sub 0.6, SDS 1.3, TAP Commander 1.34, Font Manager 1.0d. Others: HDFW 2.3a, Channel Manager 5.1, FastScanGUI, MyInfo TV: Philips 37PFL9603D
Toni
Regular contributor
Posts: 40
Joined: Fri Mar 09, 2007 4:36 pm
Location: Finland

Post by Toni »

Do you have some tap that will display the exact values of param1 and param2 when i-key is pressed? I can make such, but I don't have time for it today.
R2-D2
Frequent contributor
Posts: 12148
Joined: Mon Dec 18, 2006 11:15 am
Contact:

Post by R2-D2 »

Toni wrote:Do you have some tap that will display the exact values of param1 and param2 when i-key is pressed?
EMJB's ToppyMonitor can do that.
EMJB
Frequent contributor
Posts: 3645
Joined: Fri Jul 08, 2005 9:43 am
Location: Maldon Essex

Post by EMJB »

Toni wrote:Do you have some tap that will display the exact values of param1 and param2 when i-key is pressed? I can make such, but I don't have time for it today.
Info key generates P1 = 0x10014, P2(RemPatch)= 0x10014, and P2(Rem Ext TAP) = 0x11D according to my document, which I think is right.

EMJB
matt
Forum moderator
Posts: 2305
Joined: Wed Mar 30, 2005 6:59 pm
Location: St Ives, Cornwall Transmitter: Redruth
Contact:

Post by matt »

OK,

I've used Toppy Monitor to get the correct key values.

Using them, and Remote Extender 1.5, none of the defined keys work (not even i for Info which is 100% definitely correct). So I am sure it's a bug in the InfoViewer 1.6 RE code.

Without Remote Extender, InfoViewer works (albeit with only standard/compatible keys)

Any more ideas?

Can another UK user test the default .ini and InfoViewer with RE for me?

Can I get an older version of InfoViewer?

Thanks,
matt
PVR: TF5800, MyStuff recommended firmware, new PSU, 250GB Spinpoint HDD, Zalman ZM-OP1 fan TAPs: QuickJump 1.72, MyStuff 6.4, EPG2MEI 0.96, Extend 1.7, Bookmark 3, UK Auto Scheduler 0.73, SecCache 0.4, EIT Sub 0.6, SDS 1.3, TAP Commander 1.34, Font Manager 1.0d. Others: HDFW 2.3a, Channel Manager 5.1, FastScanGUI, MyInfo TV: Philips 37PFL9603D
R2-D2
Frequent contributor
Posts: 12148
Joined: Mon Dec 18, 2006 11:15 am
Contact:

Post by R2-D2 »

matt wrote:Can another UK user test the default .ini and InfoViewer with RE for me?
The .ini in the latest .zip sets INFO_KEY to 0x10014, which is correct for all Toppys, so will also be the key value reported in param2 by the RemExt patch. The RemoteExtender TAP will report 0x11D in param2, so you could try setting INFO_KEY to that value, or you could try using the patch (which can be dynamically/temporarily applied by HDFW, if you just want to just test it out).
matt
Forum moderator
Posts: 2305
Joined: Wed Mar 30, 2005 6:59 pm
Location: St Ives, Cornwall Transmitter: Redruth
Contact:

Post by matt »

I'll see if I can find time to try what you suggest.
PVR: TF5800, MyStuff recommended firmware, new PSU, 250GB Spinpoint HDD, Zalman ZM-OP1 fan TAPs: QuickJump 1.72, MyStuff 6.4, EPG2MEI 0.96, Extend 1.7, Bookmark 3, UK Auto Scheduler 0.73, SecCache 0.4, EIT Sub 0.6, SDS 1.3, TAP Commander 1.34, Font Manager 1.0d. Others: HDFW 2.3a, Channel Manager 5.1, FastScanGUI, MyInfo TV: Philips 37PFL9603D
Post Reply