summaryrefslogtreecommitdiffstats
path: root/matchblox/common/message_input.h
diff options
context:
space:
mode:
authorDennis Peeten <dpeeten@onsneteindhoven.nl>2008-05-24 09:59:48 (GMT)
committerDennis Peeten <dpeeten@onsneteindhoven.nl>2008-05-24 09:59:48 (GMT)
commitf11312d1d84e102bb29a44dedce4c60a5ae25e56 (patch)
treeae9928f07d7a3fdafcf341d91ca57c17236ad80b /matchblox/common/message_input.h
parentfbe326b9f9fc8f6d0e3034a81c2d8efcb2859ce2 (diff)
download2iv55-f11312d1d84e102bb29a44dedce4c60a5ae25e56.zip
2iv55-f11312d1d84e102bb29a44dedce4c60a5ae25e56.tar.gz
2iv55-f11312d1d84e102bb29a44dedce4c60a5ae25e56.tar.bz2
Diffstat (limited to 'matchblox/common/message_input.h')
-rw-r--r--matchblox/common/message_input.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/matchblox/common/message_input.h b/matchblox/common/message_input.h
index f06e610..e234b74 100644
--- a/matchblox/common/message_input.h
+++ b/matchblox/common/message_input.h
@@ -11,6 +11,7 @@
extern "C" {
#endif
+#include <wiiuse.h>
struct input_payload_keyboard
{
@@ -30,13 +31,10 @@ struct input_payload_mouse
int y;
};
-struct input_payload_wiimote
-{
- int passive;
- int button;
- int state;
- int x;
- int y;
+struct input_payload_wiimote
+{
+ unsigned short btns;
+ ir_t ir;
};
#ifdef __cplusplus