Files
swiftcontrol/macos/Runner/DebugProfile.entitlements
Jonas Acker 83ae5106ce fix(gamepad): keep macOS gamepads working in the background, support generic HID pads
GameController only delivers input to the frontmost app, so a gamepad
stopped working as soon as Zwift/Rouvy/MyWhoosh was in front, and it
doesn't support many generic pads at all (e.g. PC/PS3-style HID pads).

Vendor gamepads_darwin 0.1.4 (macOS only; iOS stays on gamepads_ios):
- set GCController.shouldMonitorBackgroundEvents
- read HID gamepads/joysticks GameController doesn't support through
  IOHIDManager, as raw keys like gamepads_windows: "button-N", "axis-N"
  and the first hat switch as d-pad keys
- 0.1.4 also keeps gamepad ids stable and picks up pads that were
  connected before launch

The sandbox needs com.apple.security.device.usb to open HID devices.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 13:54:10 +02:00

31 lines
853 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.applesignin</key>
<array>
<string>Default</string>
</array>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.device.bluetooth</key>
<true/>
<key>com.apple.security.device.usb</key>
<true/>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.assets.movies.read-write</key>
<true/>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)com.google.GIDSignIn</string>
</array>
</dict>
</plist>