<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.18.1">
</HEAD>
<BODY>
On Mon, 2008-05-05 at 08:59 -0700, Alex wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
using wmgui I was able to get (as far as i recall) all of the data
from the wiimote.. definitely the acceleration, button and infrared..
cannot remember if there is anything else.. The wiimote external
worked to get this info as well.. I haven't used it as a normal linux
input device.. i think there might be some info you have to send to
the device to turn on the accelerometers and infrared..
-Alex
On Mon, May 5, 2008 at 7:38 AM, Flo Krebs <<A HREF="mailto:flokadillo@yahoo.de">flokadillo@yahoo.de</A>> wrote:
>
> Hello,
>
> Does anybody know if the acceleration data is also transmitted using the HID
> standard with the SIXAXIS Controller under Linux ? If I check the events
> with cat /dev/input/js0 I get only information about the buttons...
>
> Thanks, greetings
>
> Florian
>
> ________________________________
> Lesen Sie Ihre E-Mails auf dem Handy..
> _______________________________________________
> <A HREF="mailto:PD-list@iem.at">PD-list@iem.at</A> mailing list
> UNSUBSCRIBE and account-management ->
> <A HREF="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</A>
>
>
</PRE>
</BLOCKQUOTE>
<PRE>
</PRE>
If you're already using libcwiid and wmgui, then you can read the event data pretty easily as well as control the leds and the rumble motor using the libcwiid api. I have it working in a custom device daemon that forwards hids and wiimotes over osc in linux ... I have been meaning to sit down and set it all up for automake and release it if there is interest.<BR>
<BR>
If you program in C/C++ checkout the libwcwiid demo.
<PRE>
Now I just need that neural net stuff for gesture recognition within pd.
</PRE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
---<BR>
Dan Wilcox<BR>
<A HREF="http://www.robotcowboy.com">robotcowboy.com</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>