feat(el18): Use trim hats as keys for navigation (#3894)
Co-authored-by: elecpower <neilh713@tpg.com.au> Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
co-authored by
elecpower
Peter Feerick
parent
b733ec4eae
commit
f40fa1a64b
@@ -117,6 +117,12 @@ const YamlLookupTable internalModuleLut = {
|
||||
{ MODULE_TYPE_LEMON_DSMP, "TYPE_LEMON_DSMP" },
|
||||
};
|
||||
|
||||
static const YamlLookupTable hatsModeLut = {
|
||||
{ GeneralSettings::HATSMODE_TRIMS_ONLY, "TRIMS_ONLY" },
|
||||
{ GeneralSettings::HATSMODE_KEYS_ONLY, "KEYS_ONLY" },
|
||||
{ GeneralSettings::HATSMODE_SWITCHABLE, "SWITCHABLE" },
|
||||
};
|
||||
|
||||
YamlTelemetryBaudrate::YamlTelemetryBaudrate(
|
||||
const unsigned int* moduleBaudrate)
|
||||
{
|
||||
@@ -181,6 +187,7 @@ Node convert<GeneralSettings>::encode(const GeneralSettings& rhs)
|
||||
node["disableAlarmWarning"] = (int)rhs.disableAlarmWarning;
|
||||
node["disableRssiPoweroffAlarm"] = (int)rhs.disableRssiPoweroffAlarm;
|
||||
node["USBMode"] = rhs.usbMode;
|
||||
node["hatsMode"] = hatsModeLut << rhs.hatsMode;
|
||||
node["stickDeadZone"] = rhs.stickDeadZone;
|
||||
node["jackMode"] = rhs.jackMode;
|
||||
node["hapticMode"] = rhs.hapticMode;
|
||||
@@ -431,6 +438,7 @@ bool convert<GeneralSettings>::decode(const Node& node, GeneralSettings& rhs)
|
||||
node["disableAlarmWarning"] >> rhs.disableAlarmWarning;
|
||||
node["disableRssiPoweroffAlarm"] >> rhs.disableRssiPoweroffAlarm;
|
||||
node["USBMode"] >> rhs.usbMode;
|
||||
node["hatsMode"] >> hatsModeLut >> rhs.hatsMode;
|
||||
node["stickDeadZone"] >> rhs.stickDeadZone;
|
||||
node["jackMode"] >> rhs.jackMode;
|
||||
node["hapticMode"] >> rhs.hapticMode;
|
||||
|
||||
@@ -88,6 +88,13 @@ static const YamlLookupTable usbJoystickIfModeLut = {
|
||||
{ 2, "MULTIAXIS" },
|
||||
};
|
||||
|
||||
static const YamlLookupTable hatsModeLut = {
|
||||
{ GeneralSettings::HATSMODE_TRIMS_ONLY, "TRIMS_ONLY" },
|
||||
{ GeneralSettings::HATSMODE_KEYS_ONLY, "KEYS_ONLY" },
|
||||
{ GeneralSettings::HATSMODE_SWITCHABLE, "SWITCHABLE" },
|
||||
{ GeneralSettings::HATSMODE_GLOBAL, "GLOBAL" },
|
||||
};
|
||||
|
||||
struct YamlTrim {
|
||||
int mode = 0;
|
||||
int ref = 0;
|
||||
@@ -1104,6 +1111,7 @@ Node convert<ModelData>::encode(const ModelData& rhs)
|
||||
}
|
||||
|
||||
node["modelRegistrationID"] = rhs.registrationId;
|
||||
node["hatsMode"] = hatsModeLut << rhs.hatsMode;
|
||||
|
||||
if (Boards::getCapability(board, Board::FunctionSwitches)) {
|
||||
node["functionSwitchConfig"] = rhs.functionSwitchConfig;
|
||||
@@ -1342,6 +1350,7 @@ bool convert<ModelData>::decode(const Node& node, ModelData& rhs)
|
||||
|
||||
node["view"] >> rhs.view;
|
||||
node["modelRegistrationID"] >> rhs.registrationId;
|
||||
node["hatsMode"] >> hatsModeLut >> rhs.hatsMode;
|
||||
|
||||
node["functionSwitchConfig"] >> rhs.functionSwitchConfig;
|
||||
node["functionSwitchGroup"] >> rhs.functionSwitchGroup;
|
||||
|
||||
@@ -129,6 +129,8 @@ void GeneralSettings::init()
|
||||
backlightDelay = 2; // 2 * 5 = 10 secs
|
||||
inactivityTimer = 10;
|
||||
|
||||
hatsMode = HATSMODE_SWITCHABLE;
|
||||
|
||||
// backlightBright = 0; // 0 = 100%
|
||||
|
||||
if (IS_FAMILY_HORUS_OR_T16(board)) {
|
||||
@@ -675,6 +677,42 @@ AbstractStaticItemModel * GeneralSettings::uartSampleModeItemModel()
|
||||
return mdl;
|
||||
}
|
||||
|
||||
QString GeneralSettings::hatsModeToString() const
|
||||
{
|
||||
return hatsModeToString(hatsMode);
|
||||
}
|
||||
|
||||
// static
|
||||
QString GeneralSettings::hatsModeToString(int value)
|
||||
{
|
||||
switch(value) {
|
||||
case HATSMODE_TRIMS_ONLY:
|
||||
return tr("Trims only");
|
||||
case HATSMODE_KEYS_ONLY:
|
||||
return tr("Keys only");
|
||||
case HATSMODE_SWITCHABLE:
|
||||
return tr("Switchable");
|
||||
case HATSMODE_GLOBAL:
|
||||
return tr("Global");
|
||||
default:
|
||||
return CPN_STR_UNKNOWN_ITEM;
|
||||
}
|
||||
}
|
||||
|
||||
// static
|
||||
AbstractStaticItemModel * GeneralSettings::hatsModeItemModel(bool radio_setup)
|
||||
{
|
||||
AbstractStaticItemModel * mdl = new AbstractStaticItemModel();
|
||||
mdl->setName(AIM_GS_HATSMODE);
|
||||
|
||||
for (int i = 0; i < HATSMODE_COUNT; i++) {
|
||||
mdl->appendToItemList(hatsModeToString(i), i, i == HATSMODE_GLOBAL && radio_setup ? false : true);
|
||||
}
|
||||
|
||||
mdl->loadItemList();
|
||||
return mdl;
|
||||
}
|
||||
|
||||
/*
|
||||
TrainerMix
|
||||
*/
|
||||
|
||||
@@ -42,6 +42,7 @@ constexpr char AIM_GS_SERIALMODE[] {"gs.serialmode"};
|
||||
constexpr char AIM_GS_INTMODULEBAUDRATE[] {"gs.intmodulebaudrate"};
|
||||
constexpr char AIM_GS_STICKDEADZONE[] {"gs.stickdeadzone"};
|
||||
constexpr char AIM_GS_UARTSAMPLEMODE[] {"gs.uartsamplemode"};
|
||||
constexpr char AIM_GS_HATSMODE[] {"gs.hatsmode"};
|
||||
constexpr char AIM_TRAINERMIX_MODE[] {"trainermix.mode"};
|
||||
constexpr char AIM_TRAINERMIX_SRC[] {"trainermix.src"};
|
||||
|
||||
@@ -171,6 +172,14 @@ class GeneralSettings {
|
||||
UART_SAMPLE_MODE_COUNT
|
||||
};
|
||||
|
||||
enum HatsMode {
|
||||
HATSMODE_TRIMS_ONLY,
|
||||
HATSMODE_KEYS_ONLY,
|
||||
HATSMODE_SWITCHABLE,
|
||||
HATSMODE_GLOBAL,
|
||||
HATSMODE_COUNT
|
||||
};
|
||||
|
||||
GeneralSettings() { clear(); }
|
||||
void clear();
|
||||
void init();
|
||||
@@ -206,6 +215,7 @@ class GeneralSettings {
|
||||
bool disableAlarmWarning;
|
||||
bool disableRssiPoweroffAlarm;
|
||||
unsigned int usbMode;
|
||||
unsigned int hatsMode;
|
||||
unsigned int stickDeadZone;
|
||||
unsigned int jackMode;
|
||||
bool sportPower;
|
||||
@@ -311,6 +321,7 @@ class GeneralSettings {
|
||||
QString serialPortModeToString(int port_nr) const;
|
||||
QString internalModuleBaudrateToString() const;
|
||||
QString uartSampleModeToString() const;
|
||||
QString hatsModeToString() const;
|
||||
|
||||
static QString antennaModeToString(int value);
|
||||
static QString bluetoothModeToString(int value);
|
||||
@@ -319,6 +330,7 @@ class GeneralSettings {
|
||||
static FieldRange getPPM_MultiplierRange();
|
||||
static FieldRange getTxCurrentCalibration();
|
||||
static QString uartSampleModeToString(int value);
|
||||
static QString hatsModeToString(int value);
|
||||
|
||||
static AbstractStaticItemModel * antennaModeItemModel(bool model_setup = false);
|
||||
static AbstractStaticItemModel * bluetoothModeItemModel();
|
||||
@@ -326,4 +338,5 @@ class GeneralSettings {
|
||||
static AbstractStaticItemModel * internalModuleBaudrateItemModel();
|
||||
static AbstractStaticItemModel * stickDeadZoneItemModel();
|
||||
static AbstractStaticItemModel * uartSampleModeItemModel();
|
||||
static AbstractStaticItemModel * hatsModeItemModel(bool radio_setup = true);
|
||||
};
|
||||
|
||||
@@ -181,6 +181,8 @@ void ModelData::clear()
|
||||
|
||||
const char * layoutId = "Layout2P1"; // currently all using same default though might change for NV14
|
||||
RadioLayout::init(layoutId, customScreens);
|
||||
|
||||
hatsMode = GeneralSettings::HATSMODE_GLOBAL;
|
||||
}
|
||||
|
||||
bool ModelData::isEmpty() const
|
||||
|
||||
@@ -192,6 +192,7 @@ class ModelData {
|
||||
unsigned int view;
|
||||
|
||||
char registrationId[8+1];
|
||||
unsigned int hatsMode;
|
||||
|
||||
// Radio level tabs control (global settings)
|
||||
unsigned int radioThemesDisabled;
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
|
||||
#include "generalsetup.h"
|
||||
#include "ui_generalsetup.h"
|
||||
#include "compounditemmodels.h"
|
||||
#include "filtereditemmodels.h"
|
||||
#include "autocombobox.h"
|
||||
|
||||
GeneralSetupPanel::GeneralSetupPanel(QWidget * parent, GeneralSettings & generalSettings, Firmware * firmware):
|
||||
GeneralPanel(parent, generalSettings, firmware),
|
||||
@@ -27,10 +30,12 @@ ui(new Ui::GeneralSetup)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
Board::Type board = firmware->getBoard();
|
||||
|
||||
QLabel *pmsl[] = {ui->ro_label, ui->ro1_label, ui->ro2_label, ui->ro3_label, ui->ro4_label, ui->ro5_label, ui->ro6_label, ui->ro7_label, ui->ro8_label, NULL};
|
||||
QSlider *tpmsld[] = {ui->chkSA, ui->chkSB, ui->chkSC, ui->chkSD, ui->chkSE, ui->chkSF, ui->chkSG, ui->chkSH, NULL};
|
||||
|
||||
if (IS_TARANIS(firmware->getBoard())) {
|
||||
if (IS_TARANIS(board)) {
|
||||
if (firmware->getId().contains("readonly")) {
|
||||
uint16_t switchstate = generalSettings.switchUnlockStates;
|
||||
ui->chkSA->setValue(switchstate & 0x3);
|
||||
@@ -153,14 +158,14 @@ ui(new Ui::GeneralSetup)
|
||||
|
||||
ui->timezoneLE->setTime((generalSettings.timezone * 3600) + (generalSettings.timezoneMinutes/*quarter hours*/ * 15 * 60));
|
||||
|
||||
if (IS_HORUS_OR_TARANIS(firmware->getBoard())) {
|
||||
if (IS_HORUS_OR_TARANIS(board)) {
|
||||
ui->adjustRTC->setChecked(generalSettings.adjustRTC);
|
||||
}
|
||||
else {
|
||||
ui->adjustRTC->hide();
|
||||
}
|
||||
|
||||
if (IS_STM32(firmware->getBoard())) {
|
||||
if (IS_STM32(board)) {
|
||||
ui->usbModeCB->setCurrentIndex(generalSettings.usbMode);
|
||||
}
|
||||
else {
|
||||
@@ -168,6 +173,15 @@ ui(new Ui::GeneralSetup)
|
||||
ui->usbModeCB->hide();
|
||||
}
|
||||
|
||||
if (IS_FLYSKY_EL18(board) || IS_FLYSKY_NV14(board)) {
|
||||
ui->hatsModeCB->setModel(new FilteredItemModel(GeneralSettings::hatsModeItemModel()));
|
||||
ui->hatsModeCB->setField(generalSettings.hatsMode, this);
|
||||
}
|
||||
else {
|
||||
ui->hatsModeLabel->hide();
|
||||
ui->hatsModeCB->hide();
|
||||
}
|
||||
|
||||
if (firmware->getCapability(HasSwitchableJack)) {
|
||||
ui->jackModeCB->setCurrentIndex(generalSettings.jackMode);
|
||||
}
|
||||
@@ -200,13 +214,13 @@ ui(new Ui::GeneralSetup)
|
||||
ui->label_BLBright->hide();
|
||||
}
|
||||
|
||||
if (!IS_FAMILY_HORUS_OR_T16(firmware->getBoard())) {
|
||||
if (!IS_FAMILY_HORUS_OR_T16(board)) {
|
||||
ui->OFFBright_SB->hide();
|
||||
ui->OFFBright_SB->setDisabled(true);
|
||||
ui->label_OFFBright->hide();
|
||||
}
|
||||
|
||||
if (!IS_JUMPER_T18(firmware->getBoard())) {
|
||||
if (!IS_JUMPER_T18(board)) {
|
||||
ui->keysBl_ChkB->hide();
|
||||
ui->keysBl_ChkB->setDisabled(true);
|
||||
ui->label_KeysBl->hide();
|
||||
@@ -262,7 +276,7 @@ ui(new Ui::GeneralSetup)
|
||||
ui->pwrOffDelayLabel->hide();
|
||||
ui->pwrOffDelay->hide();
|
||||
}
|
||||
else if (!IS_TARANIS(firmware->getBoard())) {
|
||||
else if (!IS_TARANIS(board)) {
|
||||
ui->pwrOnDelayLabel->hide();
|
||||
ui->pwrOnDelay->hide();
|
||||
}
|
||||
@@ -279,7 +293,7 @@ ui(new Ui::GeneralSetup)
|
||||
connect(tpmsld[i], SIGNAL(valueChanged(int)),this,SLOT(unlockSwitchEdited()));
|
||||
}
|
||||
|
||||
if (!IS_HORUS_OR_TARANIS(firmware->getBoard())) {
|
||||
if (!IS_HORUS_OR_TARANIS(board)) {
|
||||
ui->stickReverse1->setChecked(generalSettings.stickReverse & (1 << 0));
|
||||
ui->stickReverse2->setChecked(generalSettings.stickReverse & (1 << 1));
|
||||
ui->stickReverse3->setChecked(generalSettings.stickReverse & (1 << 2));
|
||||
@@ -297,7 +311,7 @@ ui(new Ui::GeneralSetup)
|
||||
ui->stickReverse4->hide();
|
||||
}
|
||||
|
||||
if (IS_TARANIS_PLUS(firmware->getBoard())) {
|
||||
if (IS_TARANIS_PLUS(board)) {
|
||||
ui->backlightColor_SL->setValue(generalSettings.backlightColor);
|
||||
}
|
||||
else {
|
||||
@@ -396,7 +410,6 @@ void GeneralSetupPanel::on_jackModeCB_currentIndexChanged(int index)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void GeneralSetupPanel::on_backlightColor_SL_valueChanged()
|
||||
{
|
||||
if (!lock) {
|
||||
|
||||
@@ -1682,6 +1682,16 @@ p, li { white-space: pre-wrap; }
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="25" column="0">
|
||||
<widget class="QLabel" name="hatsModeLabel">
|
||||
<property name="text">
|
||||
<string>Hats Mode</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="25" column="1">
|
||||
<widget class="AutoComboBox" name="hatsModeCB"/>
|
||||
</item>
|
||||
<item row="20" column="0">
|
||||
<widget class="QLabel" name="units_label">
|
||||
<property name="text">
|
||||
|
||||
@@ -36,6 +36,7 @@ constexpr char FIM_TIMERSWITCH[] {"Timer Switch"};
|
||||
constexpr char FIM_THRSOURCE[] {"Throttle Source"};
|
||||
constexpr char FIM_TRAINERMODE[] {"Trainer Mode"};
|
||||
constexpr char FIM_ANTENNAMODE[] {"Antenna Mode"};
|
||||
constexpr char FIM_HATSMODE[] {"Hats Mode"};
|
||||
|
||||
TimerPanel::TimerPanel(QWidget * parent, ModelData & model, TimerData & timer, GeneralSettings & generalSettings, Firmware * firmware,
|
||||
QWidget * prevFocus, FilteredItemModelFactory * panelFilteredModels, CompoundItemModelFactory * panelItemModels):
|
||||
@@ -1474,6 +1475,8 @@ SetupPanel::SetupPanel(QWidget * parent, ModelData & model, GeneralSettings & ge
|
||||
panelItemModels->registerItemModel(TimerData::persistentItemModel());
|
||||
panelItemModels->registerItemModel(TimerData::modeItemModel());
|
||||
panelItemModels->registerItemModel(TimerData::showElapsedItemModel());
|
||||
panelFilteredModels->registerItemModel(new FilteredItemModel(GeneralSettings::hatsModeItemModel(false)), FIM_HATSMODE);
|
||||
|
||||
Board::Type board = firmware->getBoard();
|
||||
|
||||
memset(modules, 0, sizeof(modules));
|
||||
@@ -1693,6 +1696,15 @@ SetupPanel::SetupPanel(QWidget * parent, ModelData & model, GeneralSettings & ge
|
||||
|
||||
ui->trimsDisplay->setField(model.trimsDisplay, this);
|
||||
|
||||
if (IS_FLYSKY_EL18(board) || IS_FLYSKY_NV14(board)) {
|
||||
ui->cboHatsMode->setModel(panelFilteredModels->getItemModel(FIM_HATSMODE));
|
||||
ui->cboHatsMode->setField(model.hatsMode, this);
|
||||
}
|
||||
else {
|
||||
ui->lblHatsMode->hide();
|
||||
ui->cboHatsMode->hide();
|
||||
}
|
||||
|
||||
if (Boards::getCapability(firmware->getBoard(), Board::FunctionSwitches) > 0) {
|
||||
funcswitches = new FunctionSwitchesPanel(this, model, generalSettings, firmware);
|
||||
ui->functionSwitchesLayout->addWidget(funcswitches);
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item alignment="Qt::AlignRight">
|
||||
<widget class="QLabel" name="label_spacer">
|
||||
<widget class="QLabel" name="lblHatsMode">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>50</weight>
|
||||
@@ -192,7 +192,7 @@
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
<string>Hats Mode</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
@@ -627,6 +627,9 @@
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="AutoComboBox" name="cboHatsMode"/>
|
||||
</item>
|
||||
<item row="2" column="4">
|
||||
<widget class="QPushButton" name="editText">
|
||||
<property name="sizePolicy">
|
||||
|
||||
@@ -840,6 +840,10 @@ QString ModelPrinter::printSettingsTrim()
|
||||
str << printLabelValue(tr("Step"), printTrimIncrementMode());
|
||||
str << printLabelValue(tr("Display"), printTrimsDisplayMode());
|
||||
str << printLabelValue(tr("Extended"), printBoolean(model.extendedTrims, BOOLEAN_YESNO));
|
||||
Board::Type board = firmware->getBoard();
|
||||
if (IS_FLYSKY_EL18(board) || IS_FLYSKY_NV14(board)) {
|
||||
str << printLabelValue(tr("Hats Mode"), printHatsMode());
|
||||
}
|
||||
return str.join(" ");
|
||||
}
|
||||
|
||||
@@ -869,6 +873,22 @@ QString ModelPrinter::printTrimsDisplayMode()
|
||||
}
|
||||
}
|
||||
|
||||
QString ModelPrinter::printHatsMode()
|
||||
{
|
||||
switch (model.hatsMode) {
|
||||
case GeneralSettings::HATSMODE_TRIMS_ONLY:
|
||||
return tr("Trims only");
|
||||
case GeneralSettings::HATSMODE_KEYS_ONLY:
|
||||
return tr("Keys only");
|
||||
case GeneralSettings::HATSMODE_SWITCHABLE:
|
||||
return tr("Switchable");
|
||||
case GeneralSettings::HATSMODE_GLOBAL:
|
||||
return tr("Global");
|
||||
default:
|
||||
return CPN_STR_UNKNOWN_ITEM;
|
||||
}
|
||||
}
|
||||
|
||||
QString ModelPrinter::printModuleType(int idx)
|
||||
{
|
||||
return ModuleData::indexToString(idx, firmware);
|
||||
|
||||
@@ -79,6 +79,7 @@ class ModelPrinter: public QObject
|
||||
QString printModuleType(int idx);
|
||||
QString printThrottleSource(int idx);
|
||||
QString printTrimsDisplayMode();
|
||||
QString printHatsMode();
|
||||
QString printSettingsTrim();
|
||||
QString printSwitchWarnings();
|
||||
QString printPotWarnings();
|
||||
|
||||
@@ -5621,6 +5621,31 @@ Použitelné hodnoty jsou 5v..10v {3v?} {12v?}</translation>
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation>Režim kloboučků</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation>Pouze trimy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation>Pouze tlačítka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation>Přepinatelné</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Global</source>
|
||||
<translation>Globální</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2405"/>
|
||||
<source>Stick Mode</source>
|
||||
|
||||
@@ -6035,6 +6035,31 @@ Tilstand 4:
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation>Seriel USB (CDC)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation>Joystik indstilling</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation>Kun trim</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation>Kun knap</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation>Trim / Knap</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Global</source>
|
||||
<translation>Global</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="1038"/>
|
||||
<source>Owner Registration ID</source>
|
||||
|
||||
@@ -5596,6 +5596,31 @@ Werte liegen zwischen 5-10V {3v?} {12v?}</translation>
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation>USB Serial (CDC)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation>Joystick Modus</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation>Nur Trimmung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation>Nur Tasten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation>Umschaltbar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Global</source>
|
||||
<translation>Global</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2405"/>
|
||||
<source>Stick Mode</source>
|
||||
|
||||
@@ -5351,6 +5351,26 @@ Mode 4:
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="1390"/>
|
||||
<source><html><head/><body><p>Channel order</p><p><br/></p><p>Defines the order of the default mixes created on a new model.</p></body></html></source>
|
||||
|
||||
@@ -5670,6 +5670,26 @@ Los valores aceptables son 5v..10v {3v?} {12v?}</translation>
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation>USB Serial (CDC)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2405"/>
|
||||
<source>Stick Mode</source>
|
||||
|
||||
@@ -5649,6 +5649,26 @@ Hyväksytty arvo: 5v - 10v {3v?} {12v?}</translation>
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2405"/>
|
||||
<source>Stick Mode</source>
|
||||
|
||||
@@ -5648,6 +5648,31 @@ Plage de valeurs: 3v...12v</translation>
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation>Port série USB (Debug)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation>Mode joystick</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation>Trims uniquement</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation>Touches uniquement</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation>Commutable</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Global</source>
|
||||
<translation>Global</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2405"/>
|
||||
<source>Stick Mode</source>
|
||||
|
||||
@@ -5815,6 +5815,31 @@ p, li { white-space: pre-wrap; }
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation>מצב כובעונים</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation>קיזוזים בלבד</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation>ניווט בלבד</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation>משולב</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Global</source>
|
||||
<translation>גלובאלי</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2443"/>
|
||||
<source>Measurement Units</source>
|
||||
|
||||
@@ -5614,6 +5614,31 @@ Mode 4:
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation>Modo joystick</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation>Solo trims</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation>Solo keys</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation>Commutabile</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Global</source>
|
||||
<translation>Globale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2405"/>
|
||||
<source>Stick Mode</source>
|
||||
|
||||
@@ -5977,6 +5977,31 @@ Mode 4:
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation>USBシリアル (CDC)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation>アナログスティック</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation>トリムのみ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation>キーのみ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation>スイッチ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Global</source>
|
||||
<translation>すべて</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>GeneralSetupPanel</name>
|
||||
|
||||
@@ -5815,6 +5815,26 @@ p, li { white-space: pre-wrap; }
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2443"/>
|
||||
<source>Measurement Units</source>
|
||||
|
||||
@@ -5949,6 +5949,31 @@ Dopuszczalne wartości 5v-10v {3v?} {12v?}</translation>
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation>Tryb grzybków</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation>Tylko trymy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation>Tylko przyciski</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation>Przełączane</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Global</source>
|
||||
<translation>Globalne</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="730"/>
|
||||
<source>Stick reverse</source>
|
||||
|
||||
@@ -5815,6 +5815,26 @@ p, li { white-space: pre-wrap; }
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2443"/>
|
||||
<source>Measurement Units</source>
|
||||
|
||||
@@ -5873,6 +5873,26 @@ p, li { white-space: pre-wrap; }
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation>Последовательный порт</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2443"/>
|
||||
<source>Measurement Units</source>
|
||||
|
||||
@@ -6026,7 +6026,31 @@ Mode 4:
|
||||
<translation>Seriell USB (CDC)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="1038"/>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation>Hattläge</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation>Endast trimm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation>Endast knapp</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation>Ändringsbar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Global</source>
|
||||
<translation>Global</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Owner Registration ID</source>
|
||||
<translation>ID för ägarregistrering</translation>
|
||||
</message>
|
||||
|
||||
@@ -5703,6 +5703,31 @@ Acceptable values are 3v..12v</source>
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation>按键帽模式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation>微调</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation>导航键</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation>可切换</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Global</source>
|
||||
<translation>全局</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2405"/>
|
||||
<source>Stick Mode</source>
|
||||
|
||||
@@ -5703,6 +5703,31 @@ Acceptable values are 3v..12v</source>
|
||||
<source>USB Serial (CDC)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2430"/>
|
||||
<source>Hats Mode</source>
|
||||
<translation>按鍵帽模式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2441"/>
|
||||
<source>Trims only</source>
|
||||
<translation>微調</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2446"/>
|
||||
<source>Keys only</source>
|
||||
<translation>導航鍵</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Switchable</source>
|
||||
<translation>可切換</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2451"/>
|
||||
<source>Global</source>
|
||||
<translation>全局</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generaledit/generalsetup.ui" line="2405"/>
|
||||
<source>Stick Mode</source>
|
||||
|
||||
Reference in New Issue
Block a user