Compare commits

...

2 Commits

Author SHA1 Message Date
Jonas Bark
fb1a1f35ad you can now assign Escape and arrow down key to your custom keymap (fixes #18) 2025-05-04 10:46:00 +02:00
Jonas Bark
71aadde901 more troubleshooting, always use light theme 2025-05-02 19:10:56 +02:00
7 changed files with 17 additions and 5 deletions

View File

@@ -1,3 +1,10 @@
### 2.0.9 (2025-05-04)
- you can now assign Escape and arrow down key to your custom keymap (#18)
### 2.0.8 (2025-05-02)
- only use the light theme for the app
- more troubleshooting information
### 2.0.7 (2025-04-18)
- add Biketerra.com keymap
- some UX improvements

View File

@@ -42,7 +42,8 @@ Get the latest version here: https://github.com/jonasbark/swiftcontrol/releases
- [Web](https://jonasbark.github.io/swiftcontrol/) (you won't be able to do much)
## Troubleshooting
Your Zwift device is found but connection does not work properly? You may need to update the firmware in Zwift Companion app.
- Your Zwift device is found but connection does not work properly? You may need to update the firmware in Zwift Companion app.
- The Android app is losing connection over time? Read about how to [keep the app alive](https://dontkillmyapp.com/).
## How does it work?
The app connects to your Zwift device automatically.

View File

@@ -209,7 +209,11 @@ abstract class BaseDevice {
final payload = bytes.sublist(4);
if (zapEncryption.encryptionKeyBytes == null) {
actionStreamInternal.add(LogNotification('Encryption not initialized, yet.'));
actionStreamInternal.add(
LogNotification(
'Encryption not initialized, yet. You may need to update the firmware of your device with the Zwift Companion app.',
),
);
return;
}

View File

@@ -45,7 +45,7 @@ class SwiftPlayApp extends StatelessWidget {
title: 'SwiftControl',
theme: AppTheme.light,
darkTheme: AppTheme.dark,
themeMode: ThemeMode.dark,
themeMode: ThemeMode.light,
home: const RequirementsPage(),
);
}

View File

@@ -125,6 +125,7 @@ class _TouchAreaSetupPageState extends State<TouchAreaSetupPage> {
onTap: () async {
await showDialog<void>(
context: context,
barrierDismissible: false, // enable Escape key
builder:
(c) =>
HotKeyListenerDialog(customApp: actionHandler.supportedApp! as CustomApp, keyPair: keyPair),

View File

@@ -67,7 +67,6 @@ class _HotKeyListenerState extends State<HotKeyListenerDialog> {
setState(() {
if (event is KeyDownEvent) {
_pressedKey = event;
} else if (event is KeyUpEvent) {
widget.customApp.setKey(
_pressedButton!,
physicalKey: _pressedKey!.physicalKey,

View File

@@ -1,7 +1,7 @@
name: swift_control
description: "SwiftControl - Control your virtual riding"
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 2.0.7+0
version: 2.0.9+0
environment:
sdk: ^3.7.0