Page 1 of 1

Scroll Wheel

Posted: Mon Jan 21, 2008 2:48 am
by Snelvuur
onRotary = function(clicks)
{
if (clicks > 0)
{
GUI.widget("PS_CURSOR_DOWN").executeActions();
}
if (clicks < 0)
{
GUI.widget("PS_CURSOR_UP").executeActions();
}
};

Ok this does not seem to work, although i can see my rfx receiver does start to blink it does not send the command. Am i not allowed to bind to PS_CURSOR_UP when in fact that one is linked to somewhere else. Any thoughts?

// Erik (binkey.nl)

Scroll Wheel

Posted: Wed Jan 23, 2008 12:13 am
by Digit
I saw some things passing by regarding the Scroll Wheel on remotecentral, did you check there already?

Scroll Wheel

Posted: Wed Jan 23, 2008 12:17 am
by Snelvuur
where do you think this came from? :)

// Erik (binkey.nl)

Scroll Wheel

Posted: Wed Jan 23, 2008 12:22 am
by Digit
Ok...[:o)]

Scroll Wheel

Posted: Wed Jan 23, 2008 12:48 am
by Digit
You know you can't do Prontoscript there where refer to with PS_CURSOR_xx ? I think i read that somewhere, don't know where anymore.

Scroll Wheel

Posted: Wed Jan 23, 2008 12:56 am
by Snelvuur
Well how do i use the extender in that part.. i know you can do some ir commands in there.. but you have to select a page. Didn't get that to work only get errors. Above example does send something to my rfx, but no reply from the device.

// Erik (binkey.nl)

Scroll Wheel

Posted: Wed Jan 23, 2008 1:09 am
by Digit
Hm, don't have an extender...so don't know much of them...

Scroll Wheel

Posted: Wed Jan 23, 2008 1:10 am
by Snelvuur
get one, its nicceeeeeeeee (as borat would say)

// Erik (binkey.nl)

Scroll Wheel

Posted: Wed Jan 23, 2008 1:21 am
by Snelvuur

Code: Select all

onRotary = function(clicks)
{
    var act = (clicks > 0) ? "PS_CURSOR_DOWN" : "PS_CURSOR_UP";
    clicks = Math.abs(clicks);

    if (clicks >= 6)         clicks *= 3;
    else if (clicks >= 3)    clicks *= 2;
    
    for (var i = 0; i < clicks; i++ ) 
    {
        GUI.widget(act).executeActions();
    }    
}
looks nice too.. but same deal, although it sends faster when i turn faster so that part works..

// Erik (binkey.nl)

Scroll Wheel

Posted: Wed Jan 23, 2008 1:24 am
by Digit
Maybe you have to wait for the next extender firmware update... [:D]

Scroll Wheel

Posted: Wed Jan 23, 2008 1:34 am
by Snelvuur
Hmm, no i did get something to work now. But i think it depends on if you have those actions linked or not. Also if you select "minimal, 0.1 sec" for the commands it dont seem to like that too.. although my linked actions where 0.1 seconds too maybe thats the problem. I need to check it out further :)

// Erik (binkey.nl)