rpavlik/wiiuse — pull request #25 by lysannkessler (2012-11-10 00:11:04+00:00)
Title: fix expansion handshake on mac

This fixes the core problem of #22:
The write-data acknowledgement for the first handshake step was received, but propagate_event was not called. The second commit fixes this (see l2capChannelData:data:length:).

I tested with a nunchuk, and it worked.
I also tested with a motion plus expansion, and this did not work, but I guess that's a different story.

The first commit removes several deprecation warnings for OSX SDK 10.7+, but is backward-compatible.