summaryrefslogtreecommitdiffstats
path: root/matchblox/common/message_input.h
diff options
context:
space:
mode:
authorDennis Peeten <dpeeten@onsneteindhoven.nl>2008-05-27 16:58:31 (GMT)
committerDennis Peeten <dpeeten@onsneteindhoven.nl>2008-05-27 16:58:31 (GMT)
commit950aa6929386d478f5a45739c4abd70500f1fef7 (patch)
tree25a70bc3aa26fd7bee8542a76b352c15976d9c6d /matchblox/common/message_input.h
parent47dcce1ed989159bbe0fc2a98ebeda4f5dc99772 (diff)
download2iv55-950aa6929386d478f5a45739c4abd70500f1fef7.zip
2iv55-950aa6929386d478f5a45739c4abd70500f1fef7.tar.gz
2iv55-950aa6929386d478f5a45739c4abd70500f1fef7.tar.bz2
Diffstat (limited to 'matchblox/common/message_input.h')
-rw-r--r--matchblox/common/message_input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/matchblox/common/message_input.h b/matchblox/common/message_input.h
index 646ec3a..fef13f7 100644
--- a/matchblox/common/message_input.h
+++ b/matchblox/common/message_input.h
@@ -47,6 +47,7 @@ enum wiimote_btns
};
struct rawdot { int rx, ry; };
+struct smoothsbdot { double sx, sy; }; //raw smoothed dots
struct input_payload_wiimote
{
@@ -58,6 +59,7 @@ struct input_payload_wiimote
relY, //relative y coordinate of mouse cursor [0,1]
Zdist; //distance from sensorbar in mm
struct rawdot irdot[4];
+ struct smoothsbdot SensorBarDot[2]; //grouped averaged and smoothed ir sensorbar dots
char posDataValid; //is true when the position data is valid (nrdots > 1)
};