Skip to content

Commit

Permalink
[ OSX ] enables Xbox One S Guide (System Main Menu) button detection.…
Browse files Browse the repository at this point in the history
… the one possible impact is that since button identifiers on OSX are just their sequence in the HID report descriptor we might change the button order, and any existing/saved mappings may get their order changed.
  • Loading branch information
slouken committed Aug 8, 2016
1 parent a21e6af commit 8097f27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/joystick/darwin/SDL_sysjoystick.c
Expand Up @@ -249,6 +249,7 @@ AddHIDElement(const void *value, void *parameter)
case kHIDUsage_GD_DPadLeft:
case kHIDUsage_GD_Start:
case kHIDUsage_GD_Select:
case kHIDUsage_GD_SystemMainMenu:
if (!ElementAlreadyAdded(cookie, pDevice->firstButton)) {
element = (recElement *) SDL_calloc(1, sizeof (recElement));
if (element) {
Expand Down

0 comments on commit 8097f27

Please sign in to comment.