Files
swiftcontrol/lib/bluetooth/emulation/profiles/all_profiles.dart
T
Jonas Bark 9e2122445b feat(emulation): Cycplus, ThinkRider, SRAM AXS, OpenBikeControl and Di2 profiles
Adds the last emulation profile batch and finalizes allEmulationProfiles
(controllers, then steering, then accessories). Test assertions deviate from
the brief where verified behavior required it: Cycplus/ThinkRider buttons
compare by name (allowMultiple: true makes BluetoothDevice copy the static
button with a per-session sourceDeviceId, which ControllerButton equality
includes); the Di2 test sets a CustomApp so getOrAddButton actually registers
its dynamically-created channel buttons; setUp seeds packageInfoValue so
OpenBikeControlDevice's app-info write doesn't null-check crash.
2026-07-02 11:33:51 +02:00

29 lines
832 B
Dart

import '../emulation_profile.dart';
import 'elite_profiles.dart';
import 'misc_profiles.dart';
import 'wahoo_profiles.dart';
import 'zwift_profiles.dart';
/// Every device the debug "Emulate device" menu can add: controllers first,
/// then steering, then accessories.
List<EmulationProfile> get allEmulationProfiles => [
zwiftClickProfile,
zwiftClickV2LeftProfile,
zwiftClickV2RightProfile,
zwiftPlayLeftProfile,
zwiftPlayRightProfile,
zwiftPlayFw2Profile,
zwiftRideProfile,
eliteSquareProfile,
wahooKickrBikeShiftProfile,
cycplusBc2Profile,
thinkRiderVs200Profile,
sramAxsProfile,
openBikeControlProfile,
shimanoDi2Profile,
eliteSterzoProfile,
eliteRizerProfile,
wahooKickrClimbProfile,
wahooKickrHeadwindProfile,
];