mirror of
https://github.com/cagnulein/qdomyos-zwift.git
synced 2026-02-18 00:17:41 +01:00
Compare commits
19 Commits
ant-remote
...
build-1117
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9998c07ea9 | ||
|
|
8f6a0bd398 | ||
|
|
f6ea34b53d | ||
|
|
cfa240346a | ||
|
|
87f7fea204 | ||
|
|
9ca286c674 | ||
|
|
5d5d1c6086 | ||
|
|
7bfc0609a4 | ||
|
|
7f83901f4c | ||
|
|
7ff8be3585 | ||
|
|
93cb1f3e8b | ||
|
|
8635eb930b | ||
|
|
0d0118e13e | ||
|
|
e3f9ccc848 | ||
|
|
31a74b9304 | ||
|
|
5c39eb98d9 | ||
|
|
ba50727563 | ||
|
|
b02c5e6a67 | ||
|
|
349e6fd2b9 |
@@ -4381,7 +4381,7 @@
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CODE_SIGN_ENTITLEMENTS = "../src/ios/qdomyos-zwift.entitlements";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 1110;
|
||||
CURRENT_PROJECT_VERSION = 1117;
|
||||
DEVELOPMENT_TEAM = 6335M7T29D;
|
||||
ENABLE_BITCODE = NO;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = "ADB_HOST=1";
|
||||
@@ -4575,7 +4575,7 @@
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CODE_SIGN_ENTITLEMENTS = "../src/ios/qdomyos-zwift.entitlements";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 1110;
|
||||
CURRENT_PROJECT_VERSION = 1117;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
DEVELOPMENT_TEAM = 6335M7T29D;
|
||||
ENABLE_BITCODE = NO;
|
||||
@@ -4805,7 +4805,7 @@
|
||||
CODE_SIGN_ENTITLEMENTS = "watchkit Extension/WatchKit Extension.entitlements";
|
||||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1110;
|
||||
CURRENT_PROJECT_VERSION = 1117;
|
||||
DEVELOPMENT_TEAM = 6335M7T29D;
|
||||
ENABLE_BITCODE = YES;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
@@ -4901,7 +4901,7 @@
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_ENTITLEMENTS = "watchkit Extension/WatchKit Extension.entitlements";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1110;
|
||||
CURRENT_PROJECT_VERSION = 1117;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
DEVELOPMENT_TEAM = 6335M7T29D;
|
||||
ENABLE_BITCODE = YES;
|
||||
@@ -4993,7 +4993,7 @@
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_ENTITLEMENTS = "watchkit Extension/WatchKit Extension.entitlements";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1110;
|
||||
CURRENT_PROJECT_VERSION = 1117;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"watchkit Extension/Preview Content\"";
|
||||
ENABLE_BITCODE = YES;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
@@ -5109,7 +5109,7 @@
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_ENTITLEMENTS = "watchkit Extension/WatchKit Extension.entitlements";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1110;
|
||||
CURRENT_PROJECT_VERSION = 1117;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
DEVELOPMENT_ASSET_PATHS = "\"watchkit Extension/Preview Content\"";
|
||||
ENABLE_BITCODE = YES;
|
||||
|
||||
4
src/CLAUDE.md
Normal file
4
src/CLAUDE.md
Normal file
@@ -0,0 +1,4 @@
|
||||
when you add a setting remember:
|
||||
- you have to add always as the last settings declared in the settings.qml
|
||||
- if you have to add a setting also on another qml file, you need also to declare it there always putting as the last one
|
||||
- in the qzsettings.cpp there is a allsettingscount that must be updated if you add a setting
|
||||
@@ -199,9 +199,11 @@ void wahookickrsnapbike::update() {
|
||||
}
|
||||
#endif
|
||||
|
||||
QSettings settings;
|
||||
bool wahooWithoutWheelDiameter = settings.value(QZSettings::wahoo_without_wheel_diameter, QZSettings::default_wahoo_without_wheel_diameter).toBool();
|
||||
|
||||
if (initRequest) {
|
||||
lastCommandErgMode = false;
|
||||
QSettings settings;
|
||||
QByteArray a = unlockCommand();
|
||||
uint8_t b[20];
|
||||
memcpy(b, a.constData(), a.length());
|
||||
@@ -218,16 +220,18 @@ void wahookickrsnapbike::update() {
|
||||
}
|
||||
QThread::msleep(700);
|
||||
|
||||
QByteArray d = setWheelCircumference(wheelCircumference::gearsToWheelDiameter(gears()));
|
||||
uint8_t e[20];
|
||||
setGears(settings.value(QZSettings::gears_current_value, QZSettings::default_gears_current_value).toDouble());
|
||||
memcpy(e, d.constData(), d.length());
|
||||
writeCharacteristic(e, d.length(), "setWheelCircumference", false, true);
|
||||
if (!wahooWithoutWheelDiameter) {
|
||||
QByteArray d = setWheelCircumference(wheelCircumference::gearsToWheelDiameter(gears()));
|
||||
uint8_t e[20];
|
||||
setGears(settings.value(QZSettings::gears_current_value, QZSettings::default_gears_current_value).toDouble());
|
||||
memcpy(e, d.constData(), d.length());
|
||||
writeCharacteristic(e, d.length(), "setWheelCircumference", false, true);
|
||||
}
|
||||
|
||||
// required to the SS2K only one time
|
||||
Resistance = 0;
|
||||
emit resistanceRead(Resistance.value());
|
||||
initRequest = false;
|
||||
initRequest = false;
|
||||
} else if (
|
||||
#ifndef Q_OS_IOS
|
||||
bluetoothDevice.isValid() &&
|
||||
@@ -264,54 +268,93 @@ void wahookickrsnapbike::update() {
|
||||
requestResistance = -1;
|
||||
}
|
||||
|
||||
if (KICKR_BIKE) {
|
||||
if(requestInclination != -100) {
|
||||
debug("writing inclination request " + QString::number(requestInclination));
|
||||
inclinationChanged(requestInclination, requestInclination);
|
||||
Inclination = requestInclination; // the bike is not sending back the inclination?
|
||||
requestInclination = -100;
|
||||
}
|
||||
} else if (requestResistance != -1 && KICKR_BIKE == false) {
|
||||
if (requestResistance > 100) {
|
||||
requestResistance = 100;
|
||||
} else if (requestResistance == 0) {
|
||||
requestResistance = 1;
|
||||
if (!wahooWithoutWheelDiameter) {
|
||||
if (KICKR_BIKE) {
|
||||
if(requestInclination != -100) {
|
||||
debug("writing inclination request " + QString::number(requestInclination));
|
||||
inclinationChanged(requestInclination, requestInclination);
|
||||
Inclination = requestInclination; // the bike is not sending back the inclination?
|
||||
requestInclination = -100;
|
||||
}
|
||||
} else if (requestResistance != -1 && KICKR_BIKE == false) {
|
||||
if (requestResistance > 100) {
|
||||
requestResistance = 100;
|
||||
} else if (requestResistance == 0) {
|
||||
requestResistance = 1;
|
||||
}
|
||||
|
||||
auto virtualBike = this->VirtualBike();
|
||||
if (requestResistance != currentResistance().value() &&
|
||||
((virtualBike && !virtualBike->ftmsDeviceConnected()) || !virtualBike)) {
|
||||
emit debug(QStringLiteral("writing resistance ") + QString::number(requestResistance));
|
||||
lastForcedResistance = requestResistance;
|
||||
QByteArray a = setResistanceMode(((double)requestResistance) / 100.0);
|
||||
uint8_t b[20];
|
||||
memcpy(b, a.constData(), a.length());
|
||||
writeCharacteristic(b, a.length(), "setResistance", false, false);
|
||||
} else if (requestResistance != currentResistance().value() && ((virtualBike && !virtualBike->ftmsDeviceConnected()) || !virtualBike)) {
|
||||
emit debug(QStringLiteral("writing resistance ") + QString::number(lastForcedResistance));
|
||||
QByteArray a = setResistanceMode(((double)lastForcedResistance) / 100.0);
|
||||
uint8_t b[20];
|
||||
memcpy(b, a.constData(), a.length());
|
||||
writeCharacteristic(b, a.length(), "setResistance", false, false);
|
||||
}
|
||||
requestResistance = -1;
|
||||
}
|
||||
|
||||
auto virtualBike = this->VirtualBike();
|
||||
if (requestResistance != currentResistance().value() &&
|
||||
((virtualBike && !virtualBike->ftmsDeviceConnected()) || !virtualBike)) {
|
||||
emit debug(QStringLiteral("writing resistance ") + QString::number(requestResistance));
|
||||
lastForcedResistance = requestResistance;
|
||||
QByteArray a = setResistanceMode(((double)requestResistance) / 100.0);
|
||||
if (lastGearValue != gears()) {
|
||||
if(KICKR_SNAP) {
|
||||
inclinationChanged(lastGrade, lastGrade);
|
||||
} else {
|
||||
QByteArray a = setWheelCircumference(wheelCircumference::gearsToWheelDiameter(gears()));
|
||||
uint8_t b[20];
|
||||
memcpy(b, a.constData(), a.length());
|
||||
writeCharacteristic(b, a.length(), "setWheelCircumference", false, false);
|
||||
lastGrade = 999; // to force a change
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (KICKR_BIKE) {
|
||||
if(requestInclination != -100) {
|
||||
debug("writing inclination request " + QString::number(requestInclination));
|
||||
inclinationChanged(requestInclination, requestInclination);
|
||||
Inclination = requestInclination; // the bike is not sending back the inclination?
|
||||
requestInclination = -100;
|
||||
} else if (lastGearValue != gears()) {
|
||||
inclinationChanged(lastGrade, lastGrade);
|
||||
}
|
||||
} else if (requestResistance != -1 && KICKR_BIKE == false) {
|
||||
if (requestResistance > 100) {
|
||||
requestResistance = 100;
|
||||
} else if (requestResistance == 0) {
|
||||
requestResistance = 1;
|
||||
}
|
||||
|
||||
auto virtualBike = this->VirtualBike();
|
||||
if (requestResistance != currentResistance().value() &&
|
||||
((virtualBike && !virtualBike->ftmsDeviceConnected()) || !virtualBike)) {
|
||||
emit debug(QStringLiteral("writing resistance ") + QString::number(requestResistance));
|
||||
lastForcedResistance = requestResistance;
|
||||
QByteArray a = setResistanceMode(((double)requestResistance) / 100.0);
|
||||
uint8_t b[20];
|
||||
memcpy(b, a.constData(), a.length());
|
||||
writeCharacteristic(b, a.length(), "setResistance", false, false);
|
||||
} else if (requestResistance != currentResistance().value() &&
|
||||
((virtualBike && !virtualBike->ftmsDeviceConnected()) || !virtualBike) && lastGearValue != gears()) {
|
||||
emit debug(QStringLiteral("writing resistance due to gears changed ") + QString::number(lastForcedResistance));
|
||||
QByteArray a = setResistanceMode(((double)lastForcedResistance + (gears() - lastGearValue)) / 100.0);
|
||||
uint8_t b[20];
|
||||
memcpy(b, a.constData(), a.length());
|
||||
writeCharacteristic(b, a.length(), "setResistance", false, false);
|
||||
} else if (requestResistance != currentResistance().value() &&
|
||||
((virtualBike && !virtualBike->ftmsDeviceConnected()) || !virtualBike)) {
|
||||
emit debug(QStringLiteral("writing resistance ") + QString::number(lastForcedResistance));
|
||||
QByteArray a = setResistanceMode(((double)lastForcedResistance) / 100.0);
|
||||
uint8_t b[20];
|
||||
memcpy(b, a.constData(), a.length());
|
||||
writeCharacteristic(b, a.length(), "setResistance", false, false);
|
||||
}
|
||||
requestResistance = -1;
|
||||
}
|
||||
|
||||
if (lastGearValue != gears()) {
|
||||
if(KICKR_SNAP) {
|
||||
inclinationChanged(lastGrade, lastGrade);
|
||||
} else {
|
||||
QByteArray a = setWheelCircumference(wheelCircumference::gearsToWheelDiameter(gears()));
|
||||
uint8_t b[20];
|
||||
memcpy(b, a.constData(), a.length());
|
||||
writeCharacteristic(b, a.length(), "setWheelCircumference", false, false);
|
||||
lastGrade = 999; // to force a change
|
||||
} else if (virtualBike && virtualBike->ftmsDeviceConnected() && lastGearValue != gears()) {
|
||||
inclinationChanged(lastGrade, lastGrade);
|
||||
}
|
||||
requestResistance = -1;
|
||||
}
|
||||
}
|
||||
|
||||
lastGearValue = gears();
|
||||
|
||||
if (requestStart != -1) {
|
||||
emit debug(QStringLiteral("starting..."));
|
||||
|
||||
@@ -802,7 +845,7 @@ void wahookickrsnapbike::serviceScanDone(void) {
|
||||
QSettings settings;
|
||||
settings.setValue(QZSettings::ftms_bike, bluetoothDevice.name());
|
||||
settings.sync();
|
||||
if(homeform::singleton())
|
||||
if(homeform::singleton())
|
||||
homeform::singleton()->setToastRequested("Zwift Hub device found, please restart the app to enjoy virtual gearing!");
|
||||
return;
|
||||
}
|
||||
@@ -823,13 +866,13 @@ void wahookickrsnapbike::error(QLowEnergyController::Error err) {
|
||||
void wahookickrsnapbike::deviceDiscovered(const QBluetoothDeviceInfo &device) {
|
||||
emit debug(QStringLiteral("Found new device: ") + device.name() + QStringLiteral(" (") +
|
||||
device.address().toString() + ')');
|
||||
|
||||
if (device.name().toUpper().startsWith("WAHOO KICKR")) {
|
||||
WAHOO_KICKR = true;
|
||||
qDebug() << "WAHOO KICKR workaround activated";
|
||||
} else if(device.name().toUpper().startsWith("KICKR BIKE")) {
|
||||
KICKR_BIKE = true;
|
||||
qDebug() << "KICKR BIKE workaround activated";
|
||||
|
||||
if (device.name().toUpper().startsWith("WAHOO KICKR")) {
|
||||
WAHOO_KICKR = true;
|
||||
qDebug() << "WAHOO KICKR workaround activated";
|
||||
} else if(device.name().toUpper().startsWith("KICKR BIKE")) {
|
||||
KICKR_BIKE = true;
|
||||
qDebug() << "KICKR BIKE workaround activated";
|
||||
} else if(device.name().toUpper().startsWith("KICKR SNAP")) {
|
||||
KICKR_SNAP = true;
|
||||
qDebug() << "KICKR SNAP workaround activated";
|
||||
@@ -915,30 +958,42 @@ void wahookickrsnapbike::controllerStateChanged(QLowEnergyController::Controller
|
||||
|
||||
void wahookickrsnapbike::inclinationChanged(double grade, double percentage) {
|
||||
Q_UNUSED(percentage);
|
||||
if(lastCommandErgMode) {
|
||||
lastGrade = grade + 1; // to force a refresh
|
||||
initRequest = true;
|
||||
qDebug() << "avoid sending this command, since I have first to restore the setSimGrade";
|
||||
return;
|
||||
}
|
||||
if(lastGrade == grade) {
|
||||
qDebug() << "grade is already set to " << grade << "skipping";
|
||||
return;
|
||||
}
|
||||
lastGrade = grade;
|
||||
Inclination = grade;
|
||||
emit debug(QStringLiteral("writing inclination ") + QString::number(grade));
|
||||
QSettings settings;
|
||||
double g = grade;
|
||||
if(KICKR_SNAP) {
|
||||
g += gears() * 0.5;
|
||||
qDebug() << "adding gear offset so " << g;
|
||||
|
||||
if (settings.value(QZSettings::wahoo_without_wheel_diameter, QZSettings::default_wahoo_without_wheel_diameter).toBool()) {
|
||||
lastGrade = grade;
|
||||
emit debug(QStringLiteral("writing inclination ") + QString::number(grade));
|
||||
double g = grade;
|
||||
g += gears();
|
||||
QByteArray a = setSimGrade(g);
|
||||
uint8_t b[20];
|
||||
memcpy(b, a.constData(), a.length());
|
||||
writeCharacteristic(b, a.length(), "setSimGrade", false, false);
|
||||
} else {
|
||||
if(lastCommandErgMode) {
|
||||
lastGrade = grade + 1; // to force a refresh
|
||||
initRequest = true;
|
||||
qDebug() << "avoid sending this command, since I have first to restore the setSimGrade";
|
||||
return;
|
||||
}
|
||||
if(lastGrade == grade) {
|
||||
qDebug() << "grade is already set to " << grade << "skipping";
|
||||
return;
|
||||
}
|
||||
lastGrade = grade;
|
||||
Inclination = grade;
|
||||
emit debug(QStringLiteral("writing inclination ") + QString::number(grade));
|
||||
double g = grade;
|
||||
if(KICKR_SNAP) {
|
||||
g += gears() * 0.5;
|
||||
qDebug() << "adding gear offset so " << g;
|
||||
}
|
||||
QByteArray a = setSimGrade(g);
|
||||
uint8_t b[20];
|
||||
memcpy(b, a.constData(), a.length());
|
||||
writeCharacteristic(b, a.length(), "setSimGrade", false, false);
|
||||
lastCommandErgMode = false;
|
||||
}
|
||||
QByteArray a = setSimGrade(g);
|
||||
uint8_t b[20];
|
||||
memcpy(b, a.constData(), a.length());
|
||||
writeCharacteristic(b, a.length(), "setSimGrade", false, false);
|
||||
lastCommandErgMode = false;
|
||||
}
|
||||
|
||||
bool wahookickrsnapbike::inclinationAvailableByHardware() {
|
||||
@@ -946,10 +1001,18 @@ bool wahookickrsnapbike::inclinationAvailableByHardware() {
|
||||
}
|
||||
|
||||
double wahookickrsnapbike::maxGears() {
|
||||
QSettings settings;
|
||||
if (settings.value(QZSettings::wahoo_without_wheel_diameter, QZSettings::default_wahoo_without_wheel_diameter).toBool()) {
|
||||
return bike::maxGears(); // Use base class behavior
|
||||
}
|
||||
wheelCircumference::GearTable g;
|
||||
return g.maxGears;
|
||||
return g.maxGears; // Use gear table when wheel diameter mode is disabled
|
||||
}
|
||||
|
||||
double wahookickrsnapbike::minGears() {
|
||||
return 1;
|
||||
}
|
||||
QSettings settings;
|
||||
if (settings.value(QZSettings::wahoo_without_wheel_diameter, QZSettings::default_wahoo_without_wheel_diameter).toBool()) {
|
||||
return bike::minGears(); // Use base class behavior
|
||||
}
|
||||
return 1; // Use gear minimum when wheel diameter mode is disabled
|
||||
}
|
||||
@@ -46,6 +46,7 @@ class wahookickrsnapbike : public bike {
|
||||
double maxGears() override;
|
||||
double minGears() override;
|
||||
|
||||
|
||||
enum OperationCode : uint8_t {
|
||||
_unlock = 32,
|
||||
_setResistanceMode = 64,
|
||||
@@ -62,7 +63,7 @@ class wahookickrsnapbike : public bike {
|
||||
// Variabili per iOS (pubbliche per permettere all'implementazione iOS di impostarle)
|
||||
bool zwift_found = false;
|
||||
bool wahoo_found = false;
|
||||
|
||||
|
||||
// Wrapper per characteristicChanged che accetta direttamente QBluetoothUuid
|
||||
void handleCharacteristicValueChanged(const QBluetoothUuid &uuid, const QByteArray &newValue);
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ ScrollView {
|
||||
property int gear_cog_size: 14
|
||||
property string gear_wheel_size: "700 x 18C"
|
||||
property real gear_circumference: 2070
|
||||
property bool wahoo_without_wheel_diameter: false
|
||||
}
|
||||
|
||||
property int selectedCranksetSize: settings.gear_crankset_size
|
||||
@@ -323,6 +324,38 @@ ScrollView {
|
||||
spacing: 20
|
||||
id: chainringColumn
|
||||
|
||||
// Wahoo Options
|
||||
GroupBox {
|
||||
title: "Wahoo Options"
|
||||
Layout.fillWidth: true
|
||||
|
||||
ColumnLayout {
|
||||
IndicatorOnlySwitch {
|
||||
id: wahooWithoutWheelDiameterDelegate
|
||||
text: qsTr("Without Wheel Diameter Protocol")
|
||||
spacing: 0
|
||||
bottomPadding: 0
|
||||
topPadding: 0
|
||||
rightPadding: 0
|
||||
leftPadding: 0
|
||||
clip: false
|
||||
checked: settings.wahoo_without_wheel_diameter
|
||||
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
|
||||
Layout.fillWidth: true
|
||||
onClicked: settings.wahoo_without_wheel_diameter = checked
|
||||
}
|
||||
|
||||
Label {
|
||||
text: qsTr("Enable this for simplified Wahoo protocol that adds gears directly to grade instead of using wheel diameter changes. Default is false.")
|
||||
wrapMode: Text.WordWrap
|
||||
Layout.fillWidth: true
|
||||
Layout.maximumWidth: chainringColumn.width - 20
|
||||
font.pixelSize: Qt.application.font.pixelSize - 2
|
||||
color: Material.accent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Crankset Size
|
||||
GroupBox {
|
||||
title: "Chainring Size"
|
||||
|
||||
@@ -442,6 +442,7 @@ const QString QZSettings::default_horizon_treadmill_profile_user5 = QStringLiter
|
||||
const QString QZSettings::nordictrack_gx_2_7 = QStringLiteral("nordictrack_gx_2_7");
|
||||
const QString QZSettings::rolling_resistance = QStringLiteral("rolling_resistance");
|
||||
const QString QZSettings::wahoo_rgt_dircon = QStringLiteral("wahoo_rgt_dircon");
|
||||
const QString QZSettings::wahoo_without_wheel_diameter = QStringLiteral("wahoo_without_wheel_diameter");
|
||||
const QString QZSettings::tts_description_enabled = QStringLiteral("tts_description_enabled");
|
||||
const QString QZSettings::tile_preset_resistance_1_enabled = QStringLiteral("tile_preset_resistance_1_enabled");
|
||||
const QString QZSettings::tile_preset_resistance_1_order = QStringLiteral("tile_preset_resistance_1_order");
|
||||
@@ -944,7 +945,7 @@ const QString QZSettings::default_inclinationResistancePoints = QStringLiteral("
|
||||
const QString QZSettings::floatingwindow_type = QStringLiteral("floatingwindow_type");
|
||||
|
||||
|
||||
const uint32_t allSettingsCount = 771;
|
||||
const uint32_t allSettingsCount = 772;
|
||||
|
||||
QVariant allSettings[allSettingsCount][2] = {
|
||||
{QZSettings::cryptoKeySettingsProfiles, QZSettings::default_cryptoKeySettingsProfiles},
|
||||
|
||||
@@ -1343,6 +1343,9 @@ class QZSettings {
|
||||
static const QString wahoo_rgt_dircon;
|
||||
static constexpr bool default_wahoo_rgt_dircon = false;
|
||||
|
||||
static const QString wahoo_without_wheel_diameter;
|
||||
static constexpr bool default_wahoo_without_wheel_diameter = false;
|
||||
|
||||
static const QString tts_description_enabled;
|
||||
static constexpr bool default_tts_description_enabled = true;
|
||||
|
||||
|
||||
@@ -489,7 +489,7 @@ import Qt.labs.platform 1.1
|
||||
property bool eslinker_ypoo: false
|
||||
|
||||
// from version 2.11.69
|
||||
property bool wahoo_rgt_dircon: false
|
||||
property bool wahoo_rgt_dircon: false
|
||||
|
||||
// from version 2.11.73
|
||||
property bool tts_description_enabled: true
|
||||
@@ -1158,10 +1158,15 @@ import Qt.labs.platform 1.1
|
||||
property int tile_heat_time_in_zone_4_order: 71
|
||||
|
||||
property bool proform_treadmill_carbon_tls: false
|
||||
|
||||
// 2.19.1
|
||||
property bool proform_treadmill_995i: false
|
||||
property bool rogue_echo_bike: false
|
||||
property int fit_file_garmin_device_training_effect_device: 3122
|
||||
property int fit_file_garmin_device_training_effect_device: 3122
|
||||
|
||||
// 2.19.2
|
||||
property bool tile_hr_time_in_zone_individual_mode: false
|
||||
property bool wahoo_without_wheel_diameter: false
|
||||
}
|
||||
|
||||
function paddingZeros(text, limit) {
|
||||
|
||||
Reference in New Issue
Block a user