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( &quot;foo&quot; );<br><br>...this is of course assuming you don&#39;t accidentally have a device named &quot;foo&quot;. The following does work for me;<br><br>HidIn hi;<br>hi.open(&quot;SynPS/2 Synaptics TouchPad&quot;);<br>
<br>It seems like the existence of the device isn&#39;t properly verified before ChucK attempts to open it. Tested using the latest mini on Ubuntu 9.10<br><br>Yours,<br>Kas.<br>