summaryrefslogtreecommitdiffstats
path: root/matchblox/common/message_input.h
diff options
context:
space:
mode:
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)
};