- Launch the program by double-clicking the Mac application or JAR-file. You can also start the JAR-file by typing
java -jar WiimoteWhiteboard.jar at the command line. A very simple way to get this to work is open the java program, turn off your wii, press 1+2 buttons on the remote and select the screen resolution. Easy.
- The main window is separated into three areas :
- Shows the connected Wiimotes and various information about them (battery level, calibration status, visible infrared dots). Wiimotes can be reset when problems with the IR camera are encountered.
- Allows to select the screen to be used for the whiteboard and contains the button to start calibration. Calibration details can be accessed after successful calibration, or if calibration data has been restored from a previous session.
- Mouse Control
- Turn mouse control on or off and set the desired functionality.
- You'll see the text "Searching" at the top of the Wiimotes-section where the battery level will be shown later. All other controls are disabled until a Wiimote has been found.
Connect your Wiimote by pushing the 1 and 2 buttons at the same time or press the red button under the battery case. From the WiiRemoteJ-README:
"Important note: DO NOT connect the Wii Remote via your computer's bluetooth programs or utilities. WiiRemoteJ handles the entire connection process. If you connect the remote via the computer's utilities, WiiRemoteJ will not be able to connect to the remote (it'll throw an exception).Once the Wiimote is connected, you'll see the battery level where the message "Searching" has been shown previously. On top of it, you can see which LED has been lit on the Wiimote and the color assigned by the program (the color of the surrounding box, currently white or pink). The color is used to distinguish IR dots at the "Visible IR dots" and the "IR Camera Monitor".
Note that if you have a Wii running and the remote has been synced to it, it will connect to the Wii and not your computer. Simply turn the Wii off, and then connect the remote. You can then turn the Wii on again if you like (if you are using its sensor bar, for instance)."
Note: You can currently only connect up to 2 Wiimotes.
- Some of the following text is copied from Johnny Lee's README and adjusted where needed.
Select the screen you want to use in the Calibration-section. You can click the button "Calibrate" or press the A button of a connected Wiimote to begin touch calibration. Use your IR light pen (or any other source of infrared light) to touch each crosshair and activate the LED (as if pressing your mouse button to click). After 4 points are calibrated, the touch screen should be ready to use if you're using only one Wiimote or connected Wiimotes "saw" those 4 points.
During calibration you'll either see a checkmark or warning triangle for each connected Wiimote at all previous calibration points. They give you feedback whether a Wiimote saw the point or not. In case not all connected Wiimotes saw all 4 points, the calibration will continue until each Wiimote sees at least one fourth of the screen. All Wiimotes together must also "cover" the entire screen. The whole procedure sounds more complicated than it actually is.
Recalibration (and auto-loading last calibration): To recalibrate, simply press the calibration button again (note the light pen stylus may not work yet if the calibration was poor) or press a Wiimote A button. When the program is launched or you select another screen, it will reload the last calibration for the current screen and resolution. If your Wiimote(s) and display configuration have not changed, re-calibration may not be necessary.
The Wiimote can track up to four dots of infrared light. These "Visible IR dots" are shown at all times in the application window and may help with positioning the Wiimote. You may additionally use the "IR Camera Monitor" for that purpose. Note that the program always uses the visible IR dot with the lowest index number. Hence make sure that no other sources of infrared light are visible to the Wiimote.
- "Mouse Control" can be enabled if at least one of the connected Wiimotes has been successfully calibrated or previous calibration data has been loaded.
Note: The position data from the first connected Wiimote currently has priority in case more than one Wiimote is connected and reporting position data.
- Move Only will move the mouse cursor to the position the IR pen is pointing at. No mouse buttons will be pressed.
- Move & Click will additionally press the left mouse button while the IR pen is visible. However, behavior is different if you select the "Touchpad Mode" in the preferences.