Added support for the Backbone One guide button The guide button is activated on a long press (> 400ms)
diff --git a/src/joystick/iphoneos/SDL_mfijoystick.m b/src/joystick/iphoneos/SDL_mfijoystick.m
index f7f0d07..c55cf78 100644
--- a/src/joystick/iphoneos/SDL_mfijoystick.m
+++ b/src/joystick/iphoneos/SDL_mfijoystick.m
@@ -335,11 +335,7 @@ IOS_AddMFIJoystickDevice(SDL_JoystickDeviceItem *device, GCController *controlle
}
if (SDL_strcmp(name, "Backbone One") == 0) {
- /* The Backbone app uses the guide and share buttons */
- if ((device->button_mask & (1 << SDL_CONTROLLER_BUTTON_GUIDE)) != 0) {
- device->button_mask &= ~(1 << SDL_CONTROLLER_BUTTON_GUIDE);
- --nbuttons;
- }
+ /* The Backbone app uses share button */
if ((device->button_mask & (1 << SDL_CONTROLLER_BUTTON_MISC1)) != 0) {
device->button_mask &= ~(1 << SDL_CONTROLLER_BUTTON_MISC1);
--nbuttons;