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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/matchblox/common/message_input.h b/matchblox/common/message_input.h
index 093d28e..646ec3a 100644
--- a/matchblox/common/message_input.h
+++ b/matchblox/common/message_input.h
@@ -50,7 +50,9 @@ struct rawdot { int rx, ry; };
struct input_payload_wiimote
{
- int btns, //button bitmask
+ int btns, //current button state
+ btnsDown, //buttons that that were pressed
+ btnsUp, //buttons that were released
nrdots;
double relX, //relative x coordinate of mouse cursor [0,1]
relY, //relative y coordinate of mouse cursor [0,1]