dtrueman at Princeton.EDU
Sat May 23 14:33:44 EDT 2009
yes i had tried all that (openjoystick, openmouse, even openkeyboard)
using lots of deviceNumbers (>10) and it never *finds* it at all. max
finds it fine...
On May 23, 2009, at 2:23 PM, Hans Aberg wrote:
> On 23 May 2009, at 19:44, Daniel Trueman wrote:
>> thanks for that; didn't know about it. but, yes, it shows up and
>> behaves fine there...
> The main point is that it shows the available variables. Chuck may
> not support them all, so the source codes might need be tweaked and
> Anyway, try open it using
> 0 => int deviceNum;
> Hid kb;
> if(!kb.openJoystick(deviceNum)) me.exit();
> // Or .openMouse
> and use
> HidMsg msg;
> to read messages on the variables listed in the API in the manual.
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
More information about the chuck-users