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... ". Other device numbers yielded similar results. I searched and searched the archive of this list going back five years but did not notice any subjects with Space Navigator in them, and the wiki and forum search yielded nothing. How do I get my Space Navigator to work with ChucK? Les
I don't know how joystick stuff works on Chuck, but might worth dealing
with the joystick with PureData or Max/msp or any other language you
managed to "read the joystick" and then just send already "calibrated,
translated and beautiful" OSC messages to chuck.
hope that helps ( i know its not exactly your question, sorry )
hems
On 21 May 2012 00:51, Lester Hall
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... ". Other device numbers yielded similar results. I searched and searched the archive of this list going back five years but did not notice any subjects with Space Navigator in them, and the wiki and forum search yielded nothing. How do I get my Space Navigator to work with ChucK?
Les
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
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.
Ah, well that's life - i primarily bought it for Second Life anyway.
Thanks for the insights though, I appreciate the (quick) responses!
Les
On Mon, May 21, 2012 at 4:13 AM, Kassen
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
On Mon, May 21, 2012 at 09:16:42AM -0500, Lester Hall wrote:
Ah, well that's life - i primarily bought it for Second Life anyway. Thanks for the insights though, I appreciate the (quick) responses!
But then I wonder how Second Life opens it. It must be *some* sort of standardised HID device then. Of course that doesn't mean much because there is also a standard for a HID "magic carpet controller". I don't see how we could support all of that, though I could imagine supporting raw HID devices, though I suppose the end result would be a bit less userfirendly than the current HID stuff... Kas.
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.
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-**usershttps://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-**usershttps://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Hi All,
FWIW, I've gotten a lot of mileage in the past out of creating small Pd
apps that does the weird HID input stuff. Then sending OSC to Chuck.
-Mike
http://michaelclemow.com
http://semiotech.org
On Mon, May 21, 2012 at 2:59 PM, Spencer Salazar wrote: 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 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 _______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (6)
-
Alan Yoder (portable email)
-
henrique matias
-
Kassen
-
Lester Hall
-
mike clemow
-
Spencer Salazar