![](https://secure.gravatar.com/avatar/d98f5ef6232bc8bc14e7a3c31319873f.jpg?s=120&d=mm&r=g)
10 Feb
2008
10 Feb
'08
3:24 a.m.
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: http://chuck.cs.princeton.edu/doc/examples/hid/mouse-fm.ck Hope that helps, Gasten