[chuck-users] HidMsg question

Martin Ahnelöv operagasten at gmail.com
Sun Feb 10 03:24:57 EST 2008

sön 2008-02-10 klockan 01:34 -0500 skrev Alexey Kondratiev:
> Hi,
> I cannot figure out to to extract the mouse position from HidMsg. I've  
> looked at C++ code and there are four elements passed through the  
> "idata" array and two through "fdata", I don't understand how can I  
> access those values in Chuck. So far I can access only one value from  
> "idata" or "fdata" in Chuck and I cannot figure out what it is.

You can't get the exact mouse x/y positions in chuck (like
supercollider's mouseX mouseY, or something like that).

On the other hand, you can track mouse-motion as described here:

Hope that helps,

More information about the chuck-users mailing list