# HG changeset patch # User Sam Lantinga # Date 1470683873 25200 # Node ID 42768c568a509d166101b344696395c5dd9f31ca # Parent 26104a670291416f88a5ee69f4bbf9de81eb6bb8 [ OSX ] enables Xbox One S Guide (System Main Menu) button detection. 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. diff -r 26104a670291 -r 42768c568a50 src/joystick/darwin/SDL_sysjoystick.c --- a/src/joystick/darwin/SDL_sysjoystick.c Sat Aug 06 15:09:20 2016 +0200 +++ b/src/joystick/darwin/SDL_sysjoystick.c Mon Aug 08 12:17:53 2016 -0700 @@ -249,6 +249,7 @@ 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) {