diff --git a/README.md b/README.md index 724282b0..2248c2fa 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,15 @@ Best follow our landing page and the "Get Started" button: [bikecontrol.app](htt - Tour du Pain - Rampida - Everycol +- PedalCraft +- suffer.online +- Kardiacs +- Sueur +- TrainerKit +- Pedal Mania +- Warp +- hupser +- SaddleOut - Tacx Training - FulGaz - [OpenBikeControl](https://openbikecontrol.org) compatible apps diff --git a/assets/hupser.png b/assets/hupser.png new file mode 100644 index 00000000..dfb28a3a Binary files /dev/null and b/assets/hupser.png differ diff --git a/assets/kardiacs.png b/assets/kardiacs.png new file mode 100644 index 00000000..e1058bc9 Binary files /dev/null and b/assets/kardiacs.png differ diff --git a/assets/pedal-mania.png b/assets/pedal-mania.png new file mode 100644 index 00000000..e8c9f30d Binary files /dev/null and b/assets/pedal-mania.png differ diff --git a/assets/pedalcraft.png b/assets/pedalcraft.png new file mode 100644 index 00000000..de563eed Binary files /dev/null and b/assets/pedalcraft.png differ diff --git a/assets/saddleout.png b/assets/saddleout.png new file mode 100644 index 00000000..a3cc6f1c Binary files /dev/null and b/assets/saddleout.png differ diff --git a/assets/sueur.png b/assets/sueur.png new file mode 100644 index 00000000..70081bff Binary files /dev/null and b/assets/sueur.png differ diff --git a/assets/suffer-online.png b/assets/suffer-online.png new file mode 100644 index 00000000..e3f55d2c Binary files /dev/null and b/assets/suffer-online.png differ diff --git a/assets/trainerkit.png b/assets/trainerkit.png new file mode 100644 index 00000000..c37fec7f Binary files /dev/null and b/assets/trainerkit.png differ diff --git a/assets/warp.png b/assets/warp.png new file mode 100644 index 00000000..66af5d18 Binary files /dev/null and b/assets/warp.png differ diff --git a/lib/utils/keymap/apps/openbikecontrol_trainer_apps.dart b/lib/utils/keymap/apps/openbikecontrol_trainer_apps.dart index c91fc844..7c57064a 100644 --- a/lib/utils/keymap/apps/openbikecontrol_trainer_apps.dart +++ b/lib/utils/keymap/apps/openbikecontrol_trainer_apps.dart @@ -94,5 +94,14 @@ class OpenBikeControlTrainerApp extends SupportedApp { ), OpenBikeControlTrainerApp(name: 'Rampida', logo: 'rampida.png', officialUrl: 'https://rampida.com'), OpenBikeControlTrainerApp(name: 'Everycol', logo: 'everycol.png', officialUrl: 'https://everycol.com'), + OpenBikeControlTrainerApp(name: 'PedalCraft', logo: 'pedalcraft.png', officialUrl: 'https://pedalcraft.online'), + OpenBikeControlTrainerApp(name: 'suffer.online', logo: 'suffer-online.png', officialUrl: 'https://suffer.online'), + OpenBikeControlTrainerApp(name: 'Kardiacs', logo: 'kardiacs.png', officialUrl: 'https://kardiacs.com'), + OpenBikeControlTrainerApp(name: 'Sueur', logo: 'sueur.png', officialUrl: 'https://sueur.app', mdns: true), + OpenBikeControlTrainerApp(name: 'TrainerKit', logo: 'trainerkit.png', officialUrl: 'https://trainerkitapp.com'), + OpenBikeControlTrainerApp(name: 'Pedal Mania', logo: 'pedal-mania.png', officialUrl: 'https://pedalmania.cc'), + OpenBikeControlTrainerApp(name: 'Warp', logo: 'warp.png', officialUrl: 'https://ridewarp.cc'), + OpenBikeControlTrainerApp(name: 'hupser', logo: 'hupser.png', officialUrl: 'https://hupser.app'), + OpenBikeControlTrainerApp(name: 'SaddleOut', logo: 'saddleout.png', officialUrl: 'https://saddleout.com'), ]; } diff --git a/pubspec.yaml b/pubspec.yaml index f3823955..fc6dfa33 100755 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -211,6 +211,15 @@ flutter: - assets/tour-du-pain.png - assets/rampida.png - assets/everycol.png + - assets/pedalcraft.png + - assets/suffer-online.png + - assets/kardiacs.png + - assets/sueur.png + - assets/trainerkit.png + - assets/pedal-mania.png + - assets/warp.png + - assets/hupser.png + - assets/saddleout.png - assets/biketerra.png - assets/contours/ - assets/brand/ diff --git a/test/openbikecontrol_trainer_apps_test.dart b/test/openbikecontrol_trainer_apps_test.dart index 6f61e335..3b60568b 100644 --- a/test/openbikecontrol_trainer_apps_test.dart +++ b/test/openbikecontrol_trainer_apps_test.dart @@ -19,7 +19,17 @@ void main() { 'Tour du Pain', 'Rampida', 'Everycol', + 'PedalCraft', + 'suffer.online', + 'Kardiacs', + 'Sueur', + 'TrainerKit', + 'Pedal Mania', + 'Warp', + 'hupser', + 'SaddleOut', ]; + const overNetwork = {'VoxVelo', 'Vieta', 'Incyclist', 'Sueur'}; SupportedApp byName(String name) => SupportedApp.supportedApps.singleWhere((app) => app.name == name); @@ -29,11 +39,11 @@ void main() { } }); - test('they connect via OpenBikeControl over Bluetooth, VoxVelo, Vieta and Incyclist also over the network', () { + test('they connect via OpenBikeControl over Bluetooth, the overNetwork apps also over the network', () { for (final name in names) { final app = byName(name); expect(app.supportLevel(AppConnectionMethod.obpBle), ConnectionSupport.supported, reason: name); - final mdns = name == 'VoxVelo' || name == 'Vieta' || name == 'Incyclist'; + final mdns = overNetwork.contains(name); expect(app.supportLevel(AppConnectionMethod.obpMdns), mdns ? ConnectionSupport.supported : isNull, reason: name); // OBC delivers button events over the protocol, so there is no keyboard map. expect(app.keymap.keyPairs, isEmpty, reason: name);