mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-28 16:58:41 +01:00
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -44,7 +44,7 @@ Future<List<dynamic>> main(String characteristicUuid, List<int> data) async {
|
||||
|
||||
## Runtime Behavior
|
||||
- Your script runs when a value from any characteristic is received for a device of the corresponding type.
|
||||
- If the script exists for that device type, BikeControl uses the output and calls writes the value to the characteristic.
|
||||
- If the script exists for that device type, BikeControl uses the output and writes the value to the characteristic.
|
||||
- If the returned characteristic does not exist on the connected device, the write is skipped and a log entry is added.
|
||||
|
||||
## Notes
|
||||
|
||||
@@ -28,7 +28,7 @@ Click on the "Unlock" button in BikeControl in the Devices tab, then follow on-s
|
||||
4. Keep it connected for ~10–30 seconds
|
||||
5. Close Zwift completely, then connect in BikeControl
|
||||
|
||||
Details/updates: [https://github.com/OpenBikeControl/bikecontrol/issues/68](GitHub issue)
|
||||
Details/updates: [GitHub issue](https://github.com/OpenBikeControl/bikecontrol/issues/68)
|
||||
|
||||
## Android: Connection works, buttons work but nothing happens in MyWhoosh and similar
|
||||
*
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<key>NSMotionUsageDescription</key>
|
||||
<string>Access your accelerometer and gyroscope for steering support via your phone.</string>
|
||||
<key>NSPhotoLibraryUsageDescription</key>
|
||||
<string>Access your phot library to store screenshots.</string>
|
||||
<string>Access your photo library to store screenshots.</string>
|
||||
<key>UIApplicationSupportsIndirectInputEvents</key>
|
||||
<true/>
|
||||
<key>UIBackgroundModes</key>
|
||||
|
||||
Reference in New Issue
Block a user