In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
42 bytes removed ,  02:37, 28 January 2009
no edit summary
Line 95: Line 95:  
printf("\x1b[1;0HWii Remote Info \n");
 
printf("\x1b[1;0HWii Remote Info \n");
 
 
                //print gforce data for x, y, and z
+
//print gforce data for x, y, and z
 
printf("\x1b[2;0HGForce x: %1.3f \n", data.gforce.x);
 
printf("\x1b[2;0HGForce x: %1.3f \n", data.gforce.x);
 
printf("\x1b[3;0HGForce y: %1.3f \n", data.gforce.y);
 
printf("\x1b[3;0HGForce y: %1.3f \n", data.gforce.y);
Line 103: Line 103:  
//get and print the rotation orientation
 
//get and print the rotation orientation
 
xRotation = (int)data.orient.roll;
 
xRotation = (int)data.orient.roll;
                yRotation = (int)data.orient.pitch;
+
yRotation = (int)data.orient.pitch;
                zRotation = (int)data.orient.yaw;
+
zRotation = (int)data.orient.yaw;
    
if(xRotation<0){
 
if(xRotation<0){
90

edits

Navigation menu