summaryrefslogtreecommitdiffstats
path: root/matchblox/common/message_input.h
diff options
context:
space:
mode:
authorDennis Peeten <dpeeten@onsneteindhoven.nl>2008-05-27 10:56:41 (GMT)
committerDennis Peeten <dpeeten@onsneteindhoven.nl>2008-05-27 10:56:41 (GMT)
commit45952b080cbad5096c71722e46d7dc99e8eadce2 (patch)
tree3be3ebf324571deb939c274be32e333c3fb25b10 /matchblox/common/message_input.h
parentea1ff55ac332ec38068f63e71e5fa6187fa37a57 (diff)
download2iv55-45952b080cbad5096c71722e46d7dc99e8eadce2.zip
2iv55-45952b080cbad5096c71722e46d7dc99e8eadce2.tar.gz
2iv55-45952b080cbad5096c71722e46d7dc99e8eadce2.tar.bz2
buttons up down bitmaps
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]