Spencer wrote:
Kassen,
Hmm, sounds pretty annoying.
Do you happen to have Cygwin installed on
any of your machines? If you did, or were willing to install it, I
could walk you through getting a stacktrace of the crash from gdb,
which would be the most helpful information to debug this. (Cygwin is
pretty lightweight and easily removed, if you are worried about system
bloat...)
There may also be some error-condition checking that should be
happening but is not happening in ChucK's HID implementation--Ill
browse through that and see if anything looks suspicious.
Edward;
> Interesting you bring up the PS3 controllers. Ross Bencina (Audio
> Mulch) gave a talk at Melbourne Dorkbot last month about wanting to
> interface the PS3 controller to the computer. Most of the Bluetooth
> implementation is standard, but, the thing that he (and everyone else,
> it seems) is they can't quite crack how to get certain modes of the
> Accelerometers transmitting data, that making it no better than a PS2
> controller.
I read on Wikipedia that PS3 controllers could be used as a standard
HID on a PC when using the USB connector, after installing a driver.
It is possible that the driver would not expose the accelerometer
functionality though.
If not, USB sniffers are a lot cheaper than
Bluetooth sniffers, so figuring out the USB packets the PS3 uses to
setup/read the accelerometer could be a lot easier if you don't
particularly need wirelessness.
Id be interested in hacking that a bit
myself, but Im not very inclined to shell out $600 for a PS3... if
anyone did figure out how exactly to access the accelerometers, I would
totally help out with/do a ChucK implementation.
I've been working on Wii support on Mac OS X for a while. I've gotten
everything on the standard remote working except the speaker, with
reasonable reliability. Also, nunchuk support is on its way.
I'd like to get things nice and cross platform, but Mac OS X is the
only setup I have right now that has access to a Bluetooth adapter.
Its all disabled though, unless a certain compile time flag is set.
But I can see this becoming less hidden away in the future (probably
after I improve reliability and make it cross platform). But if anyone
was interested in getting this going now, that should be pretty doable.