<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><br class="webkit-block-placeholder"></div><div>IIRC, I think there is a linux driver for the wiimote that makes it act like a HID, and therefore could be used with [hid].</div><div><br class="webkit-block-placeholder"></div><div>.hc</div><br><div><div>On Mar 21, 2008, at 5:26 PM, Daniel Wilcox wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I use a wiimote in Linux using the <a href="http://abstrakraft.org/cwiid/">cwiid api</a> in my device daemon that grabs joystick and wiimote events and slings them over OSC to pd.<br><br>The wiimote has a 3 axis acceleramator and sends the x, y, z positions and you can easily calculate mean acc, roll, and pitch.<br> <br>You can also access the ir camera.  The wiimote itself determines the spots of light it sees and sends pixel postions aka (140, 100) relative to the resolution on the camera which is about 200x200 if i remember correctly.<br> <br>I have tested this with candles and you can mess with "virtual sliders" etc by pointing it at a ir source, if you remove the black plastic cover, then the camera pics up regular light sources such as incandescent blubs.<br> <br>And of course, you get all the button events.<br> </div><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Hans, do you know how many "control" signals this will produce? From what I read in the literature, it sounds like it also has motion controls. Does that mean that it has XYZ sensors? Or does it also have the pitch and yaw sensors as well? It sounds like a Wii has XYZ and pitch and yaw...<div> <br></div><div>Mike</div></blockquote><br clear="all"><br>-- <br>Dan Wilcox<br>danomatika<br><a href="http://www.robotcowboy.com">www.robotcowboy.com</a><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></div> </blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies.<span class="Apple-converted-space"> </span>    - Amy Smith</div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>