Reworked Mac OS X joystick code to use the 10.5+ HID Manager API.

Besides being a little more simple to use than the earlier IOKit HID API, and
 less likely to be deprecated, it also has the added benefit of working with
 the Sony DualShock 4 controller in Bluetooth mode out of the box, whereas
 the previous API has a bug that makes it report bad data for the
 controller.

Cleaned up several other things in this code, having gone over every line of
 it. The remaining deprecated calls are also gone.

--HG--
extra : rebase_source : 47e220fea5d6ab87d51b23736b12d069a9a5313f
This commit is contained in:
Ryan C. Gordon 2014-02-22 00:55:28 -05:00
parent d6287ff195
commit 4e89bc0a11
2 changed files with 399 additions and 774 deletions

File diff suppressed because it is too large Load diff