)]}'
{
  "commit": "09086aefaa4e74407d95c7886d3182778118b68f",
  "tree": "22320532377923f57540210a6c9454210ebad4f5",
  "parents": [
    "f8e14ad25aa6f0b4bbed411583a9863c855ad9e6"
  ],
  "author": {
    "name": "Daniel Brookman",
    "email": "dannntrax@gmail.com",
    "time": "Mon May 02 15:22:46 2022 -0400"
  },
  "committer": {
    "name": "Ozkan Sezer",
    "email": "sezeroz@gmail.com",
    "time": "Thu May 19 22:00:28 2022 +0300"
  },
  "message": "Fix crash when reading background events for MFi controllers on macOS\n\nEnabling GCController.shouldMonitorBackgroundEvents to read background events\nfor MFi controllers before receiving the first GCControllerDidConnectNotification\nis apparently a no-go on macOS (12.3.1 for me), and would crash on attempt.\nApple\u0027s documentation is... not great, and doesn\u0027t point this out.\n\nThis waits for IOS_AddMFIJoystickDevice() to get called down the chain from GCControllerDidConnectNotification, and enables GCController.shouldMonitorBackgroundEvents\nif it hadn\u0027t been already.\n\nOn iOS and tvOS, GCController.shouldMonitorBackgroundEvents is ignored, so\nthere\u0027s no need to check their versions.\n(cherry picked from commit d1a3981bf866ccf8e802253ee7a150667c1dfc15)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "38ab3fe605d161e9be7d85c75f284adc1fa1f8db",
      "old_mode": 33188,
      "old_path": "src/joystick/iphoneos/SDL_mfijoystick.m",
      "new_id": "666c1c1cdcb801de664b0f69ef5ed3ba6f152457",
      "new_mode": 33188,
      "new_path": "src/joystick/iphoneos/SDL_mfijoystick.m"
    }
  ]
}
