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.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