The Space Navigator is indeed a full-fledged USB HID, but ChucK only naturally talks to HIDs that identify themselves as a joystick, mouse, or keyboard, which the Space Navigator does not. A generalized HID API would be cool for sure, and this isn't the first time the idea has come up. We do feel that the combination of (joystick | mouse | keyboard) has enough device coverage/cross-platform support/ease of use to be a good baseline. <div>
<br></div><div>We actively develop semi-experimental support for new HIDs, so perhaps ChucK may be able to natively interface with the Space Navigator and other 3D mice in the future. <div><br></div><div>spencer</div><div>
<br><br><div class="gmail_quote">On Mon, May 21, 2012 at 10:56 AM, Alan Yoder (portable email) <span dir="ltr"><<a href="mailto:tempjayren@gmail.com" target="_blank">tempjayren@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 5/21/2012 5:13 AM, Kassen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sun, May 20, 2012 at 06:51:17PM -0500, Lester Hall wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi folks,<br>
<br>
I bought a Space Navigator and would like to interface it to ChucK.  I<br>
tried writing a joystick program but got the message:  "[MMMM <a href="http://1.ck" target="_blank">1.ck</a>]: HidIn:<br>
couldn't open joystick 0...<br>
</blockquote>
Hey Les!<br>
<br>
Based on this I'd guess that the Space Navigator doesn't register<br>
itself as a joystick. ChucK can't open raw HID devices and needs to be<br>
told whether target devices is a joystick, mouse or keyboard. If it is<br>
none of those you are out of luck :-/. There might be a tool to make<br>
it emulate one of those?<br>
<br>
Yours,<br>
Kas.<br>
______________________________<u></u>_________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.<u></u>princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.<u></u>edu/mailman/listinfo/chuck-<u></u>users</a><br>
</blockquote></div></div>
i'm more curious about the space navigator, i want to read more about it.<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.<u></u>princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.<u></u>edu/mailman/listinfo/chuck-<u></u>users</a><br>
<br>
</div></div></blockquote></div><br></div></div>