<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dyadica.net &#187; brian peek</title>
	<atom:link href="http://blog.dyadica.net/archives/tags/brian-peek/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.dyadica.net</link>
	<description>Fun and Games in the Dyadic Sea</description>
	<lastBuildDate>Wed, 21 Jul 2010 14:04:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wii Motion Plus Beta Support</title>
		<link>http://blog.dyadica.net/archives/wii-motion-plus-beta-support</link>
		<comments>http://blog.dyadica.net/archives/wii-motion-plus-beta-support#comments</comments>
		<pubDate>Thu, 23 Jul 2009 22:54:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Wiimote]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[brian peek]]></category>
		<category><![CDATA[wii motion plus]]></category>
		<category><![CDATA[wiimote]]></category>
		<category><![CDATA[wiimoteLib]]></category>

		<guid isPermaLink="false">http://blog.dyadica.net/?p=2319</guid>
		<description><![CDATA[Brian has done it again, check out the following cross-posting from brianpeek.com detailing beta support for the Wii Motion Plus:
I have posted a new version of WiimoteLib as a beta for people to play around ...]]></description>
			<content:encoded><![CDATA[<p>Brian has done it again, check out the following cross-posting from brianpeek.com detailing beta support for the Wii Motion Plus:</p>
<blockquote><p>I have posted a new version of <a href="http://wiimotelib.codeplex.com/" target="_blank">WiimoteLib</a> as a beta for people to play around with the <a href="http://www.amazon.com/dp/B001TOQ8NO/tag=brianpcom-20" target="_blank">Wii MotionPlus accessory</a>.  Please note that this is not a stable release and should only be used if you wish to mess around with the MotionPlus.  Also note that only C# source code is included in this release as it is not a final build.  Here’s the change log:</p>
<p><span style="text-decoration: underline;">v1.8.0.0</span></p>
<ul>
<li>Taiko Drum Master&#8217;s TaTaCon drum controller supported (Dean Herbert)</li>
<li>Bare-bones Wii MotionPlus support (wiibrew.org, testing by Tyler Tolley)</li>
<li>WiimoteTest UI changed to add MotionPlus data
<ul>
<li>Please note that the current version is VERY flakey and may not work at all for you.</li>
<li>Pair your Wiimote, plug in your MotionPlus, call InitializeMotionPlus()</li>
<li>Extensions plugged into the MotionPlus will give wacky results&#8230;not supported&#8230;yet!</li>
<li>Internal changes to perhaps fix some threading issues</li>
</ul>
</li>
</ul>
<p>So remember, it’s a beta, it may not work for you, and the data you’ll get back from the accessory is just the raw data it provides.  You won’t get real orientation values.</p>
<p>That said, head over to <a href="http://wiimotelib.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=30401" target="_blank">CodePlex</a> and give it a try! (Brian Peek)</p></blockquote>
<p>Great work Brian!<a id="update" class="update" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dyadica.net/archives/wii-motion-plus-beta-support/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Status of Wii MotionPlus Support for WiimoteLib</title>
		<link>http://blog.dyadica.net/archives/status-of-wii-motionplus-support-for-wiimotelib</link>
		<comments>http://blog.dyadica.net/archives/status-of-wii-motionplus-support-for-wiimotelib#comments</comments>
		<pubDate>Fri, 19 Jun 2009 22:01:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Wii]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[brian peek]]></category>
		<category><![CDATA[wii motion plus]]></category>
		<category><![CDATA[wiimote]]></category>
		<category><![CDATA[wiimoteLib]]></category>

		<guid isPermaLink="false">http://blog.dyadica.net/?p=2067</guid>
		<description><![CDATA[Here is a Cross Post from brianpeek.com detailing Brian&#8217;s current progress with the Wii Motion Plus: Source
Ok, I get about 10 emails a day on this, so I figure a status update is in order.
The ...]]></description>
			<content:encoded><![CDATA[<p>Here is a Cross Post from brianpeek.com detailing Brian&#8217;s current progress with the Wii Motion Plus: <a href="http://brianpeek.com/blog/archive/2009/06/19/status-of-wii-motionplus-support-for-wiimotelib.aspx">Source</a></p>
<blockquote><p>Ok, I get about 10 emails a day on this, so I figure a status update is in order.</p>
<p>The Wii MotionPlus extension for the Wiimote was released last week.  Since then, I and others have been working to figure out how the device works.  Unfortunately, it does NOT work as every other extension controller has worked up until this point, mostly due to the fact that the Wii MotionPlus accessory has an expansion port of its own so all of the other extension controllers can plug into it.</p>
<p>In the past few days, some progress has been made thanks to the folks over at wiibrew.org, although functionality is nowhere near complete.  For example, it’s currently impossible to have the Wiimote notify you when the Wii MotionPlus is inserted into the bottom of the Wiimote, like all of the other extension controllers do.</p>
<p>I have been working with the information at wiibrew.org and am trying to get things working reliably with my library so that developers can actually get some degree of functionality out of it.</p>
<p>So, all that said, expect to see a new (likely beta) version of WiimoteLib “soon” that has some bare-bones Wii MotionPlus functionality included.  It won’t be perfect, complete, or bug free, but it will allow you to tinker with the device a bit.  I will update my blog when the new version is available.  Thanks!</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.dyadica.net/archives/status-of-wii-motionplus-support-for-wiimotelib/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WiimoteLib v1.7 Released</title>
		<link>http://blog.dyadica.net/archives/wiimotelib-v17-released</link>
		<comments>http://blog.dyadica.net/archives/wiimotelib-v17-released#comments</comments>
		<pubDate>Mon, 19 Jan 2009 18:54:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[brian peek]]></category>
		<category><![CDATA[Wii]]></category>
		<category><![CDATA[wiimote]]></category>
		<category><![CDATA[wiimoteLib]]></category>

		<guid isPermaLink="false">http://blog.dyadica.net/?p=1138</guid>
		<description><![CDATA[Brian Peek has put up the latest version of WiimoteLib at CodePlex.
He states that the changes for this release are as follows:

Writing registers is now properly waiting for the Wiimote to reply before continuing&#8230;this removes ...]]></description>
			<content:encoded><![CDATA[<p>Brian Peek has put up the latest version of <a href="http://www.codeplex.com/WiimoteLib" target="_blank">WiimoteLib at CodePlex</a>.</p>
<p>He states that the changes for this release are as follows:</p>
<ul>
<li>Writing registers is now properly waiting for the Wiimote to reply before continuing&#8230;this removes all of the Thread.Sleep() calls and should *greatly* improve performance when setting LEDs and rumble (Serial Nightmare &amp; wwibrew.org)</li>
<li>Guitar Hero: World Tour Guitar and Drums now properly recognized and used (wiibrew.org, tested by Tyler Tolley and Mauro Milazzo)</li>
<li>Guitar whammy bar is now a 5-bit value instead of 4 (wiibrew.org)</li>
<li>Position of 4 IRs now properly reported in Basic reporting mode (Dan Carter)</li>
<li>Found1/2 now properly reported in MSRS (reported by akka243)</li>
<li>MSRS project updated to Microsoft Robotics Developer Studio 2008</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.dyadica.net/archives/wiimotelib-v17-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WiiEarthVR Article by Brian Peek</title>
		<link>http://blog.dyadica.net/archives/wiiearthvr-article-by-brian-peek</link>
		<comments>http://blog.dyadica.net/archives/wiiearthvr-article-by-brian-peek#comments</comments>
		<pubDate>Fri, 14 Nov 2008 23:46:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Wii]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[brian peek]]></category>
		<category><![CDATA[WiiEarthVR]]></category>
		<category><![CDATA[wiimote]]></category>
		<category><![CDATA[wiimoteLib]]></category>

		<guid isPermaLink="false">http://blog.dyadica.net/?p=1012</guid>
		<description><![CDATA[
Brian Peek has released a new project over at the Coding4Fun site, that utilizes my balance board code (cool) the following has been taken from his site:
I previously talked about my WiiEarthVR project shown at ...]]></description>
			<content:encoded><![CDATA[<div class="BlogPostContent">
<p>Brian Peek has released a new project over at the <a href="http://blogs.msdn.com/coding4fun/" target="_blank">Coding4Fun</a> site, that utilizes my balance board code (cool) the following has been taken from his site:</p>
<blockquote><p>I previously talked about my <a href="http://www.brianpeek.com/blog/archive/2008/10/24/wiiearthvr-at-pdc.aspx" target="_blank">WiiEarthVR</a> project shown at <a href="http://www.microsoftpdc.com/" target="_blank">PDC</a> project, and now I have posted the <a href="http://blogs.msdn.com/coding4fun/archive/2008/11/14/9068804.aspx" target="_blank">article</a> for the application up at the <a href="http://blogs.msdn.com/coding4fun/" target="_blank">Coding4Fun</a> site.  Full <a href="http://www.brianpeek.com/files/folders/source_code/entry3066.aspx" target="_blank">source code</a> is available.  You’ll need some hardware to make this go, namely a Wiimote, Nunchuk, Wii Fit Balance Board and a pair of <a href="http://www.vr920.com/" target="_blank">Vuzix VR920 glasses</a>, but the hardware can be toggled on or off depending on your own setup.  The VR920 glasses are pretty cool in that they also work with a variety of FPS games on your PC with a custom driver they include.</p>
<p>The article will, among other things, teach you how to use <a href="http://maps.live.com/" target="_blank">Virtual Earth 3D</a> from a managed host (i.e. a WinForms app, not a web page), how to talk to the Wiimote, Nunchuk and Wii Fit Balance Board, how to retrieve the head tracking data from the VR920 glasses from .NET, and how to draw stereoscopic 3D images to the VR920 glasses from .NET.  Quite a bit packed in there…</p>
<p>Anyway, have a read and, as always, <a href="http://www.brianpeek.com/forums/43.aspx" target="_blank">questions and comments</a> are welcome.</p></blockquote>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.dyadica.net/archives/wiiearthvr-article-by-brian-peek/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding facility for COG to WiimoteLib 1.5.2</title>
		<link>http://blog.dyadica.net/archives/adding-facility-for-cog-to-wiimotelib-152</link>
		<comments>http://blog.dyadica.net/archives/adding-facility-for-cog-to-wiimotelib-152#comments</comments>
		<pubDate>Mon, 16 Jun 2008 17:16:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wii]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[balance board]]></category>
		<category><![CDATA[brian peek]]></category>
		<category><![CDATA[Center Of Gravity]]></category>
		<category><![CDATA[COG]]></category>
		<category><![CDATA[WiiFit]]></category>
		<category><![CDATA[wiimote]]></category>
		<category><![CDATA[wiimoteLib]]></category>

		<guid isPermaLink="false">http://blog.dyadica.net/?p=508</guid>
		<description><![CDATA[The following details the steps needed to integrate facility for calculating a Balance Board users Center Of Gravity (COG) within Brian Peeks WiimoteLib version 1.5.2. COG is useful for the implementation of Windows based WiiFit ...]]></description>
			<content:encoded><![CDATA[<p>The following details the steps needed to integrate facility for calculating a Balance Board users Center Of Gravity (COG) within Brian Peeks WiimoteLib version 1.5.2. COG is useful for the implementation of Windows based WiiFit style applications.</p>
<p>Open up Datatypes.cs and add the following to public struct BalanceBoardState:<span id="more-508"></span></p>
<blockquote><p>/// &lt;summary&gt;<br />
/// The Balance Boards center of gravity<br />
/// &lt;/summary&gt;<br />
public BalanceBoardCOG CenterOfGravity;</p></blockquote>
<p>Next add a new struct to Datatypes.cs to contain the COG X and Y values, like so:</p>
<blockquote><p>/// &lt;summary&gt;<br />
/// The Balance Boards center of gravity (float values)<br />
/// &lt;/summary&gt;<br />
public struct BalanceBoardCOG<br />
{<br />
/// &lt;summary&gt;<br />
/// Balance Board center of gravity X value<br />
/// &lt;/summary&gt;<br />
public float X;<br />
/// &lt;summary&gt;<br />
/// Balance Board center of gravity Y value<br />
/// &lt;/summary&gt;<br />
public float Y;<br />
/// &lt;summary&gt;<br />
/// Balance Board center of gravity point value<br />
/// &lt;/summary&gt;<br />
public PointF COG;<br />
}</p></blockquote>
<p>Next add the following variable definitions above the default constructor within Wiimote.cs:<!--more--></p>
<blockquote><p>// length between board sensors<br />
private const int BSL = 43;</p>
<p>// width between board sensors<br />
private const int BSW = 24;</p></blockquote>
<p>BSL is board sensor length and BSW is board sensor width. These points were obtained via measuring the distances between the centers of the boards feet. I am not brave enough to open my board up to get the exact values but these seem to work fine for me.</p>
<p>Finally add the following chunck of code to the BalanceBoard  case of ParseExtension:</p>
<blockquote><p>float Kx = (mWiimoteState.BalanceBoardState.SensorValuesKg.TopLeft + mWiimoteState.BalanceBoardState.SensorValuesKg.BottomLeft) / (mWiimoteState.BalanceBoardState.SensorValuesKg.TopRight + mWiimoteState.BalanceBoardState.SensorValuesKg.BottomRight);<br />
float Ky = (mWiimoteState.BalanceBoardState.SensorValuesKg.TopLeft + mWiimoteState.BalanceBoardState.SensorValuesKg.TopRight) / (mWiimoteState.BalanceBoardState.SensorValuesKg.BottomRight + mWiimoteState.BalanceBoardState.SensorValuesKg.BottomLeft);<br />
//<br />
mWiimoteState.BalanceBoardState.CenterOfGravity.X = ((float)(Kx &#8211; 1) / (float)(Kx + 1)) * (float)(-BSL / 2);<br />
mWiimoteState.BalanceBoardState.CenterOfGravity.Y = ((float)(Ky &#8211; 1) / (float)(Ky + 1)) * (float)(-BSW / 2);<br />
//<br />
mWiimoteState.BalanceBoardState.CenterOfGravity.COG.X = mWiimoteState.BalanceBoardState.CenterOfGravity.X;<br />
mWiimoteState.BalanceBoardState.CenterOfGravity.COG.Y = mWiimoteState.BalanceBoardState.CenterOfGravity.Y;</p></blockquote>
<p>This calculates the COG using moments. The values can then be obtained via the following calls:</p>
<blockquote><p>X = ws.BalanceBoardState.CenterOfGravity.X.ToString();<br />
Y = ws.BalanceBoardState.CenterOfGravity.Y.ToString();</p>
<p>COG (as floating point) = ws.BalanceBoardState.CenterOfGravity.COG.ToString();</p></blockquote>
<p>Using COG your board can easily be adapted for use as a joystick. The X and Y values can also easily be plotted for a visual representation if required.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dyadica.net/archives/adding-facility-for-cog-to-wiimotelib-152/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding UK Stones measure to WiimoteLib 1.5.2</title>
		<link>http://blog.dyadica.net/archives/adding-uk-stones-measure-to-wiimotelib-152</link>
		<comments>http://blog.dyadica.net/archives/adding-uk-stones-measure-to-wiimotelib-152#comments</comments>
		<pubDate>Mon, 16 Jun 2008 16:22:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Wii]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[balance board]]></category>
		<category><![CDATA[brian peek]]></category>
		<category><![CDATA[HomeBrew: Wii]]></category>
		<category><![CDATA[wiimote]]></category>
		<category><![CDATA[wiimoteLib]]></category>

		<guid isPermaLink="false">http://blog.dyadica.net/?p=507</guid>
		<description><![CDATA[Open up Datatypes.cs and add the following definitions to the public struct BalanceBoardState:
/// &#60;summary&#62;
/// Stones per sensor
/// &#60;/summary&#62;
public BalanceBoardSensorsF SensorValuesSt;
and
/// &#60;summary&#62;
/// Total stones on the Balance Board
/// &#60;/summary&#62;
public float WeightSt;
Next open up Wiimote.cs and add ...]]></description>
			<content:encoded><![CDATA[<p>Open up Datatypes.cs and add the following definitions to the public struct BalanceBoardState:</p>
<p>/// &lt;summary&gt;<br />
/// Stones per sensor<br />
/// &lt;/summary&gt;<br />
public BalanceBoardSensorsF SensorValuesSt;</p>
<p>and</p>
<p>/// &lt;summary&gt;<br />
/// Total stones on the Balance Board<br />
/// &lt;/summary&gt;<br />
public float WeightSt;</p>
<p>Next open up Wiimote.cs and add the following variable above the default constructor just below the Kg &#8211; Lb vars:</p>
<p>// kilograms to stones<br />
private const float KG2ST = 6.35029318f;</p>
<p>Next we are going to add the code that populates these definitions/variables</p>
<p>Still within Wiimote.cs add the following code to the BalanceBoard case of the ParseExtension function just below the Kg &#8211; Lb equivalent code:</p>
<p>mWiimoteState.BalanceBoardState.SensorValuesSt.TopLeft = (mWiimoteState.BalanceBoardState.SensorValuesKg.TopLeft / KG2ST);<br />
mWiimoteState.BalanceBoardState.SensorValuesSt.TopRight = (mWiimoteState.BalanceBoardState.SensorValuesKg.TopRight / KG2ST);<br />
mWiimoteState.BalanceBoardState.SensorValuesSt.BottomLeft = (mWiimoteState.BalanceBoardState.SensorValuesKg.BottomLeft / KG2ST);<br />
mWiimoteState.BalanceBoardState.SensorValuesSt.BottomRight = (mWiimoteState.BalanceBoardState.SensorValuesKg.BottomRight / KG2ST);</p>
<p>The above block of code enables calls to be made to obtain values for each of the four sensors in exactly the same way as you would for Kg&#8217;s and Lb&#8217;s e.g.</p>
<p>TopLeftInStones = ws.BalanceBoardState.SensorValuesSt.TopLeft;</p>
<p>Finally for total weight in stones add the following line below the equivalent Kg / Lb definitions:</p>
<p>mWiimoteState.BalanceBoardState.WeightSt = (mWiimoteState.BalanceBoardState.SensorValuesSt.TopLeft + mWiimoteState.BalanceBoardState.SensorValuesSt.TopRight + mWiimoteState.BalanceBoardState.SensorValuesSt.BottomLeft + mWiimoteState.BalanceBoardState.SensorValuesSt.BottomRight) / 4.0f;</p>
<p>And there you have it your balance board will now cater for the UK Stones measure and calls can be made using equivalent code to that provided for Kg&#8217;s and Lb&#8217;s.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dyadica.net/archives/adding-uk-stones-measure-to-wiimotelib-152/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WiimoteLib v1.4</title>
		<link>http://blog.dyadica.net/archives/wiimotelib-v14</link>
		<comments>http://blog.dyadica.net/archives/wiimotelib-v14#comments</comments>
		<pubDate>Tue, 03 Jun 2008 21:53:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wii]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[brian peek]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[HomeBrew: Wii]]></category>
		<category><![CDATA[wiimote]]></category>
		<category><![CDATA[wiimoteLib]]></category>

		<guid isPermaLink="false">http://blog.dyadica.net/?p=505</guid>
		<description><![CDATA[
In an effort to put out more frequent builds with fewer changes, Brian peek has released WiimoteLib v1.4 to CodePlex.  This release contains the single most requested feature:  multiple Wiimote support.
The original Coding4Fun ...]]></description>
			<content:encoded><![CDATA[<div class="BlogPostContent">
<p>In an effort to put out more frequent builds with fewer changes, Brian peek has released <a href="https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=WiimoteLib&amp;ReleaseId=14031" target="_blank">WiimoteLib v1.4 to CodePlex</a>.  This release contains the single most requested feature:  multiple Wiimote support.</p>
<p>The <a href="http://blogs.msdn.com/coding4fun/archive/2007/03/14/1879033.aspx" target="_blank">original Coding4Fun article</a> has also been updated with some details on how to use multiple Wiimotes, as has the WiimoteTest application included with the distribution.</p>
<p><span style="text-decoration: underline;">Changes</span></p>
<ul>
<li>Multiple Wiimotes supported!</li>
<li>Slight change to ExtensionType enum for better extension detection</li>
<li>Decided I didn&#8217;t like the dependency on System.Drawing for the 2D point so am now using my own Point structs.  Sorry&#8230;</li>
<li>WiimoteTest app updated to show multiple Wiimotes working</li>
</ul>
<p>SOURCE: Brian Peek</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.dyadica.net/archives/wiimotelib-v14/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
