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. 

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. 

spencer


On Mon, May 21, 2012 at 10:56 AM, Alan Yoder (portable email) <tempjayren@gmail.com> wrote:
On 5/21/2012 5:13 AM, Kassen wrote:
On Sun, May 20, 2012 at 06:51:17PM -0500, Lester Hall wrote:
Hi folks,

I bought a Space Navigator and would like to interface it to ChucK.  I
tried writing a joystick program but got the message:  "[MMMM 1.ck]: HidIn:
couldn't open joystick 0...
Hey Les!

Based on this I'd guess that the Space Navigator doesn't register
itself as a joystick. ChucK can't open raw HID devices and needs to be
told whether target devices is a joystick, mouse or keyboard. If it is
none of those you are out of luck :-/. There might be a tool to make
it emulate one of those?

Yours,
Kas.
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
i'm more curious about the space navigator, i want to read more about it.


_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users