blob: 1740a26b8958d2ad47fcff985a1d4e31eded1010 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
Various tools related to the Wii Remote / Wii Balance Board.
## bal
Displays Balance Board weight data, mostly for debug purposes.
Usage: ./bal
## mpcal
Calibrates the Motion Plus and outputs the calibration data.
Usage: ./mpcal
(the program will then tell you to put the wiimote onto a flat surface)
## mplog
Logs Motion Plus data to stdout, in the format
seconds.nanoseconds pitch roll yaw
Where Pitch, Roll and Yaw are the raw 16-bit values.
Usage: ./mplog **>** *filename*
See also: http://www.grc.nasa.gov/WWW/k-12/airplane/Images/rotations.gif
## wibble
Wiimote Blinkenlights. Press D-Pad up to toggle modes, Home to quit.
Usage: ./wibble`
## wiiplay
Wrapper around `wiispkr`. Plays any mp3/ogg/wav audia file on the wiimote
speaker.
Requires: `mpg321` / `oggdec` and `sox`. Also, `wiispkr` must be in the current
working directory.
Usage: ./wiiplay *btaddr* *file*
## wiispkr
Plays an 8bit 2kHz signed PCM file on the wiimote speaker. You can create one
using e.g. `sox --norm /tmp/in.wav -b 8 /tmp/out.raw channels 1 rate 2000`
Usage: ./wiispkr *btaddr* **<** *file*
|