mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-12-06 07:54:00 +01:00
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.
29 lines
832 B
Dart
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,
|
|
];
|