View Single Post
Old 11-30-2010, 02:30 AM   #50
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Kartu, thanks for reporting!
So <behave> is working with Sprites on the device too.

I have set
Code:
var prsModel = "PRS-600";	// to be set by system-function !! PRS-600 = touch-interface, all other original behavior
hard in code.
And check here for it
Code:
target.init = function () {
..	
	if (prsModel == "PRS-600") {
		this.nonTouch.show(false);
		this.Touch.show(true);
		this.Touch.cNum.show(false);	
	} else {
		this.nonTouch.show(true);
		this.Touch.show(false);
..}
So prsModel should be set by/or replaced with a appropriate system function.
The 300 should then have the "old" 500/505 interface again.

I'am still working on a way to control the fsk-menu with events.
Quote:
but blocks touchscreen (?)
Thought this is only a problem with the Sim-Enviro!?
I figured out that the menu/menuBar remain in a Input-Loop eating up all events even after exitIf().

Temporary solution for the Sim - not posted yet, - is to break this loop by calling somthing like menuBar.endLoop(ev)
Will post the code in the evening.

Last edited by Mark Nord; 11-30-2010 at 01:51 PM.
Mark Nord is offline   Reply With Quote