<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 26, 2011, at 4:53 PM, Michael Heuer wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Les Hall wrote:<br><blockquote type="cite"><br></blockquote><blockquote type="cite">How do I access all of the axes?  </blockquote></div></blockquote><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font>You should be able to follow the ChucK HID examples, then just dump<br>out all the messages received as you wave the thing about.  Something<br>like<br></div></blockquote><blockquote type="cite"><div>hid.openJoystick(device);<br>Hopefully that will give you enough to map the messages to the right<br>parameters.  That is how I did<br>though that device doesn't have an accelerometer.<br><br>   michael<br></div></blockquote><br></div><div>Hi michael, yeah that's the thing here, we have a rodent species mouse, not a joystick.  The joystick axes are enumerated, however the Mouse axes are called deltaX and deltaY, nothing else documented in the examples.  </div><div><br></div><div>I tried running the joystick and tilt sensor example programs to no avail, they do not recognize the mouse, meaning that this mouse isn't acting like two devices.  I'm inclined to believe that it is in fact a 5-axis mouse, and even if deltaZ exists, well, we ran out of letters lol.  I think the situation is that ChucK only knows about 2 (or maybe 3) axis mice, not 5 axis ones.  </div><div><br></div><div>So the question arises:  why don't you just use the manufacturer's software to make it look like a joystick?  Well, I would but I'm in the funny situation that I'm using the PC version of the product on my Mac computer (it's a Mac mini so it can do that) because I wanted the freedom to go with Linux as well.  The manufacturer does not provide software for this special case of customer needs that I know, so I'm kind of stuck with an unconfigurable 5-axis mouse.  </div><div><br></div><div>Any further guidance from the Dancing Wu Li ChucKists out there?  </div><div><br></div><div>Les</div><div><br></div><div><br></div><div><br></div><div><br></div><br></body></html>