[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Wii, Bluetooth and SC?



Can you handle the looping in the plugins the same way the HID code
handles looping?  The user has to start the loop.

I am working on making changes to the HID API.  I'd like to see any
HID (no matter how the OS deals with it) follow a sane api, which
should be the same for all hids, imo.


On 12/29/06, pete moss <petemoss@xxxxxxxxxxxx> wrote:
Celeste Hutchins wrote:
>  I joined this list recently because I saw some discussion of the
> wiimote.  Pete Moss said he had a half written plugin.  Mr. Moss, do
> you feel like sharing?  It might be worthwhile to look at the code for
> HIDs, since they're closest to what is desired.  I think it would be
> preferable to treat the wii like a normal HID as much as possible,
> rather than have a separate protocol.


sure, i like to share!

i have not gotten it to work as a plugin.  i have however added OSC
support to DarwiinRemote in a private branch.  it works well, but relies
on an OSCresponder to deal with the data.  i hope to commit this new
version this weekend.  i will drop a note here when it is available.

ultimately, treating as an HID device would be best, but the wiimote
cant be setup as as a HID in the OS.  if someone wrote a new driver that
would attach it to the OS properly, then it should work as an HID
without altering SC.  as far as i can tell, the HID code just talks to
the OS to find the devices.

i could add some primitives to talk to the wii with SC, but there is no
way to do that as a plugin currently, and if it was added to SC, then
*everyone* would have to have the required frameworks to compile it.  if
anyone know how to do this without forcing it on everyone, i am all ears.
_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users



--
cheers,
Les

--
Celeste Hutchins                     http://www.berkeleynoise.com/celesteh
2430 5th St Ste N
Berkeley, CA 94710
USA

Nieuwstraat 25, 1E
2511 AT Den Haag
The Netherlands