[chuck-users] hid

Spencer D Salazar (ssalazar@Princeton.EDU) ssalazar at Princeton.EDU
Fri Jun 30 06:26:17 EDT 2006


Hey there,
Serial port support has been suggested before, so maybe some sort of generic API for device access as a byte stream would be useful.  This is pretty straightforward in Linux with /dev, Windows has RawInput which might do the trick, but OS X might not be so easy.  

spencer

----- Original Message -----
From: eduard aylon <eduard.aylon at gmail.com>
Date: Friday, June 30, 2006 1:50 am
Subject: Re: [chuck-users] hid
To: ChucK Users Mailing List <chuck-users at lists.cs.Princeton.EDU>

> right, but I'm not sure I can open any device with it...
> How could I open a device I know its name but not the number to 
> use  
> in hid::openJoystick( int )? e.g. /dev/cu.usb-838, could be such  
> devicename.
> 
> thanks
> 
> eduard
> 
> 
> On Jun 30, 2006, at 1:38 AM, Kassen wrote:
> 
> > On 6/30/06, eduard aylon <eduard.aylon at gmail.com> wrote:
> >> Answering to my previous post, and just remembered there was a HID
> >> object... I guess I could use that...
> >
> > You should. The HID object is realy nice and it's way too easy 
> to have
> > loads of fun with it.
> > _______________________________________________
> > chuck-users mailing list
> > chuck-users at lists.cs.princeton.edu
> > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
> 
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
> 


More information about the chuck-users mailing list