added forgotten Balance board support
Changed the initial handshake to be synchronous
Made the Motion+ init a lot more robust
Code cleanup
Replace explicit 32 lengths for MAX_PAYLOAD
pre-declare wiiuse_motion_plus on motion_plus.h

-This ensures the function can be called outside of motion_plus.c
-Also eliminates an explicit declaration warning on events.c
motion_plus.c: Revise some includes

-wiiuse_internal.h was already included via motion_plus.h
-io.h is needed for wiiuse_read
[mac]wiiuse_io_read: Add buffer and length parameters

-According to the new signature for wiiuse_io_read
[mac] Reopen outputChannel on wiiuse_io_write failure

-The first write on ouputChannel may fail
-Subsequent write calls are also prone to failure
-Reopening the channel on failure should solve this problem
README: Remove the "if unable to write, then relaunch" issue on Mac

-This issue was solved by reopening the output channel on write fail
CHANGELOG: Reference added Mac support
Merge pull request #15 from jscasallas/master

Solved the "if unable to write, then relaunch" issue on Mac.
Mac is now "fully supported"
Fixed a few spelling errors.
Merge pull request #18 from godbyk/spellcheck

Fixed spelling errors.
A little warning cleanup
don't need much of windows.h, just a little.
Add some debug messages
Factor out the application of a two-domain mapping ('calibration').

Replaces repeated code, and should be more reliable as well as
avoiding division by 0.
Use atan2f instead of atan and weird adjustments.

This should keep the angle values in [0, 360]
just as apparently intended before.
Use the right sqrt for floats in C.
Add debug display of joystick calibration data.
In expansion handshake, read data after saying we'd like it.