Fellow ChucKists, Dear Spencer.<br><br>I was going over the VERSIONS file, looking for more things that are lacking in the manual and found the .open( string name ) member function for Hid and HidIn.<br><br>As far as I can tell this works fine, provided we know the exact name of the device. The following example will instead crash;<br>
<br>HidIn hi;<br>hi.open( "foo" );<br><br>...this is of course assuming you don't accidentally have a device named "foo". The following does work for me;<br><br>HidIn hi;<br>hi.open("SynPS/2 Synaptics TouchPad");<br>
<br>It seems like the existence of the device isn't properly verified before ChucK attempts to open it. Tested using the latest mini on Ubuntu 9.10<br><br>Yours,<br>Kas.<br>