[ 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.
This commit is contained in:
parent
f9e9b84c07
commit
cb8e57bda0
1 changed files with 1 additions and 0 deletions
|
@ -249,6 +249,7 @@ AddHIDElement(const void *value, void *parameter)
|
||||||
case kHIDUsage_GD_DPadLeft:
|
case kHIDUsage_GD_DPadLeft:
|
||||||
case kHIDUsage_GD_Start:
|
case kHIDUsage_GD_Start:
|
||||||
case kHIDUsage_GD_Select:
|
case kHIDUsage_GD_Select:
|
||||||
|
case kHIDUsage_GD_SystemMainMenu:
|
||||||
if (!ElementAlreadyAdded(cookie, pDevice->firstButton)) {
|
if (!ElementAlreadyAdded(cookie, pDevice->firstButton)) {
|
||||||
element = (recElement *) SDL_calloc(1, sizeof (recElement));
|
element = (recElement *) SDL_calloc(1, sizeof (recElement));
|
||||||
if (element) {
|
if (element) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue