From 97ac193d5655fddc3f75dd388bbbc0fa25cef101 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Wed, 12 Dec 2012 13:41:34 -0600 Subject: [PATCH] Add on-screen help for the controls in the example. --- example/example.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/example/example.c b/example/example.c index 00f5edc..8c4c228 100644 --- a/example/example.c +++ b/example/example.c @@ -459,6 +459,13 @@ int main(int argc, char** argv) { wiiuse_rumble(wiimotes[0], 0); wiiuse_rumble(wiimotes[1], 0); + printf("\nControls:\n"); + printf("\tB toggles rumble.\n"); + printf("\t+ to start Wiimote accelerometer reporting, - to stop\n"); + printf("\tUP to start IR camera (sensor bar mode), DOWN to stop.\n"); + printf("\t1 to start Motion+ reporting, 2 to stop.\n"); + printf("\n\n"); + /* * Maybe I'm interested in the battery power of the 0th * wiimote. This should be WIIMOTE_ID_1 but to be sure