mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-02-18 00:17:40 +01:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
69afc698dc | ||
|
|
babe564f3a | ||
|
|
c10666be80 | ||
|
|
67ad3fb8c5 |
@@ -11,7 +11,7 @@ With BikeControl you can **control your favorite trainer app** using your Zwift
|
||||
- control music on your device
|
||||
- more? If you can do it via keyboard, mouse, or touch, you can do it with BikeControl
|
||||
|
||||
[](https://www.youtube.com/watch?v=rK6Zthcl2UU)
|
||||
[](https://youtu.be/0r3LO5lFlyc)
|
||||
|
||||
|
||||
## Download
|
||||
|
||||
@@ -1 +1 @@
|
||||
4.4.1
|
||||
4.6.2
|
||||
|
||||
@@ -10,7 +10,6 @@ import 'package:bike_control/widgets/ui/beta_pill.dart';
|
||||
import 'package:bike_control/widgets/ui/device_info.dart';
|
||||
import 'package:bike_control/widgets/ui/small_progress_indicator.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:prop/prop.dart';
|
||||
import 'package:sensors_plus/sensors_plus.dart';
|
||||
import 'package:shadcn_flutter/shadcn_flutter.dart';
|
||||
|
||||
@@ -120,9 +119,9 @@ class GyroscopeSteering extends BaseDevice {
|
||||
if (_estimator.stillTimeSec >= 0.6) {
|
||||
_estimator.calibrate(seedBiasZRadPerSec: _estimator.biasZRadPerSec);
|
||||
_isCalibrated = true;
|
||||
actionStreamInternal.add(
|
||||
/*actionStreamInternal.add(
|
||||
AlertNotification(LogLevel.LOGLEVEL_INFO, 'Calibration complete.'),
|
||||
);
|
||||
);*/
|
||||
}
|
||||
return;
|
||||
}
|
||||
@@ -246,9 +245,6 @@ class GyroscopeSteering extends BaseDevice {
|
||||
_lastGyroUpdate = null;
|
||||
_lastRoundedAngle = null;
|
||||
_lastSteeringButton = null;
|
||||
actionStreamInternal.add(
|
||||
AlertNotification(LogLevel.LOGLEVEL_INFO, 'Calibrating the sensors now.'),
|
||||
);
|
||||
setState(() {});
|
||||
},
|
||||
child: Text(_isCalibrated ? 'Calibrate' : 'Calibrating...'),
|
||||
|
||||
@@ -108,6 +108,7 @@ class Keymap {
|
||||
KeyPair(
|
||||
touchPosition: Offset.zero,
|
||||
buttons: [button],
|
||||
inGameAction: button.action,
|
||||
physicalKey: null,
|
||||
logicalKey: null,
|
||||
isLongPress: false,
|
||||
|
||||
Reference in New Issue
Block a user