Skip to content
Browse files

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

Cleaned up several other things in this code, having gone over every line of
 it. The remaining deprecated calls are also gone.
  • Loading branch information
icculus committed Feb 22, 2014
1 parent abe2ac2 commit 0deb54c0241d38db3c43ebe5e5e442f7aef6bfa5
Showing with 390 additions and 765 deletions.
  1. +377 −734 src/joystick/darwin/SDL_sysjoystick.c
  2. +13 −31 src/joystick/darwin/SDL_sysjoystick_c.h

0 comments on commit 0deb54c

Please sign in to comment.