Rename "Custom key setting" to "Custom touch button setup"

This commit is contained in:
Henrik Rydgård committed 2025-10-29 09:25:28 +01:00
1 parent 78f20846c5
commit 7896845e0c
49 files changed
+58 -52

No files matched your search

+8 -3
View File
@@ -115,20 +115,25 @@ private:
ImageID img_;
};
std::string_view CustomButtonMappingScreen::GetTitle() const {
auto co = GetI18NCategory(I18NCat::CONTROLS);
return co->T("Custom touch button setup");
}
void CustomButtonMappingScreen::CreateViews() {
using namespace UI;
using namespace CustomKeyData;
auto co = GetI18NCategory(I18NCat::CONTROLS);
auto mc = GetI18NCategory(I18NCat::MAPPABLECONTROLS);
root_ = new LinearLayout(ORIENT_VERTICAL);
root_->Add(new ItemHeader(co->T("Custom Key Setting")));
root_->Add(new ItemHeader(GetTitle()));
LinearLayout *root__ = new LinearLayout(ORIENT_HORIZONTAL, new LinearLayoutParams(1.0));
root_->Add(root__);
LinearLayout *leftColumn = new LinearLayout(ORIENT_VERTICAL, new LinearLayoutParams(120, FILL_PARENT));
auto di = GetI18NCategory(I18NCat::DIALOG);
ConfigCustomButton* cfg = nullptr;
bool* show = nullptr;
ConfigCustomButton *cfg = nullptr;
bool *show = nullptr;
memset(array, 0, sizeof(array));
cfg = &g_Config.CustomButton[id_];
show = &g_Config.touchCustom[id_].show;
+1 -1
View File
@@ -35,7 +35,7 @@ public:
protected:
void dialogFinished(const Screen *dialog, DialogResult result) override;
std::string_view GetTitle() const;
private:
void saveArray();
+3 -3
View File
@@ -51,10 +51,10 @@ TopBar::TopBar(const UIContext &ctx, std::string_view title, UI::LayoutParams *l
});
if (!title.empty()) {
TextView *titleView = Add(new TextView(title, ALIGN_CENTER | FLAG_WRAP_TEXT, false, new LinearLayoutParams(1.0f, G_VCENTER)));
TextView *titleView = Add(new TextView(title, ALIGN_VCENTER | FLAG_WRAP_TEXT, false, new LinearLayoutParams(1.0f, G_VCENTER)));
titleView->SetTextColor(ctx.GetTheme().itemDownStyle.fgColor);
// To balance the centering, add a spacer on the right.
Add(new Spacer(50.0f));
// If using HCENTER, to balance the centering, add a spacer on the right.
// Add(new Spacer(50.0f));
}
SetBG(ctx.GetTheme().itemDownStyle.background);
}
+1
View File
@@ -20,6 +20,7 @@ public:
// The context is needed to get the theme for the background.
TopBar(const UIContext &ctx, std::string_view title, UI::LayoutParams *layoutParams = nullptr);
UI::View *GetBackButton() const { return backButton_; }
private:
UI::Choice *backButton_ = nullptr;
};
+1 -1
View File
@@ -117,7 +117,7 @@ Circular stick input = ادخال العصا الدائرية
Classic = ‎كلاسيكي
Confine Mouse = ‎حجز مؤشر الماوس في حدود نافذة البرنامج
Control Mapping = ‎تعديل ازرار التحكم
Custom Key Setting = اعدادات مفاتيح مخصصة
Custom touch button setup = اعدادات مفاتيح مخصصة
Customize = تخصيص
Customize Touch Controls = ‎تعديل نسق إعدادات اللمس...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Classic
Confine Mouse = Trap mouse within window/display area
Control Mapping = Control mapping
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Edit touch control layout...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Кругавы ўвод джойсцікам
Classic = Класічны
Confine Mouse = Trap mouse within window/display area
Control Mapping = Control mapping
Custom Key Setting = Налада карыстальніцкіх клавіш
Custom touch button setup = Налада карыстальніцкіх клавіш
Customize = Наладзіць
Customize Touch Controls = Рэдагаваць раскладку сэнсарнага кіравання...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Класик
Confine Mouse = Trap mouse within window/display area
Control Mapping = Избиране на контроли
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Edit touch control layout...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Entrada de stick circular
Classic = Clàssic
Confine Mouse = Fixar el ratolí a l'àrea de la finestra/pantalla
Control Mapping = Assignar botons
Custom Key Setting = Ajust de tecla personalitzada
Custom touch button setup = Ajust de tecla personalitzada
Customize = Personalitzar
Customize Touch Controls = Editar pantalla tàctil
D-PAD = Creueta
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Klasický
Confine Mouse = Trap mouse within window/display area
Control Mapping = Mapování ovládání
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Upravit rozdělení dotykového ovládání...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Klassisk
Confine Mouse = Begræns mus indenfor vindue/skærmområde
Control Mapping = Ændre tasteplaceringen
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Tilpas layout...
D-PAD = D-Pad
+1 -1
View File
@@ -108,7 +108,7 @@ Circular stick input = Kreisförmige Stick-Eingabe
Classic = Klassisch
Confine Mouse = Maus im Fenster-/Anzeigebereich einfangen
Control Mapping = Tastenbelegung ändern
Custom Key Setting = Benutzerdefinierte Tasteneinstellung
Custom touch button setup = Benutzerdefinierte Tasteneinstellung
Customize = Anpassen
Customize Touch Controls = Berührungssteuerung anpassen
D-PAD = Steuerkreuz
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Classic
Confine Mouse = Trap mouse within window/display area
Control Mapping = Atoro'i tombolna
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Edit touch control layout...
D-PAD = D-Pad
+1 -1
View File
@@ -133,7 +133,7 @@ Circular stick input = Circular stick input
Classic = Classic
Confine Mouse = Trap mouse within window/display area
Control Mapping = Control mapping
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Edit touch control layout...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Entrada de stick circular
Classic = Clásico
Confine Mouse = Parar ratón dentro del área de la ventana/pantalla
Control Mapping = Asignar botones
Custom Key Setting = Configurar tecla personalizada
Custom touch button setup = Configurar tecla personalizada
Customize = Personalizar
Customize Touch Controls = Editar diseño de control táctil...
Deadzone radius = Radio de zona muerta
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Entrada del stick circular
Classic = Clásico
Confine Mouse = Fijar el ratón al área de la ventana/pantalla
Control Mapping = Asignar botones / Mapeo de botones
Custom Key Setting = Configurar teclas personalizadas
Custom touch button setup = Configurar teclas personalizadas
Customize = Personalizar
Customize Touch Controls = Editar pantalla táctil
D-PAD = Cruceta
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = کلاسیک
Confine Mouse = ‎محدود کردن موس به ناحیه درون پنجره
Control Mapping = ‎تنظیمات کنترلر
Custom Key Setting = شخصی سازی تنظیمات کلید
Custom touch button setup = شخصی سازی تنظیمات کلید
Customize = شخصی‌سازی
Customize Touch Controls = ‎...ویرایش چیدمان دکمه‌های تاچ
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Klassinen
Confine Mouse = Kaappaa hiiri ikkunan/näytön sisälle
Control Mapping = Ohjauksen kartoitus
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Mukauta
Customize Touch Controls = Muokkaa kosketusohjauksen asetelmaa...
D-PAD = Ristiohjain
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Classique
Confine Mouse = Capturer la souris dans la fenêtre/zone d'affichage
Control Mapping = Réassignation des touches
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Disposition personnalisée...
D-PAD = Croix directionnelle
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Clásico
Confine Mouse = Trap mouse within window/display area
Control Mapping = Asignar botóns
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Deseño personalizado...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Κλασικό
Confine Mouse = Εγκλωβισμός ποντικιού μέσα στην περιοχή παραθύρου/οθόνης
Control Mapping = Χαρτογράφηση κουμπιών
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Προσαρμοσμένη διάταξη...
D-PAD = Ψηφιακό πληκτρολόγιο
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Classic
Confine Mouse = Trap mouse within window/display area
Control Mapping = מיפוי מקשים
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Edit touch control layout...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Classic
Confine Mouse = Trap mouse within window/display area
Control Mapping = םישקמ יופימ
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Edit touch control layout...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Klasično
Confine Mouse = Zaključaj miš u window/display području
Control Mapping = Namještanje kontrola
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Izmijeni raspored dodirnih kontrola...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Kör alakú bemenet
Classic = Klasszikus
Confine Mouse = Egérkurzor rögzítése az ablakhoz
Control Mapping = Gombok beállítása
Custom Key Setting = Saját gomb beállítása
Custom touch button setup = Saját gomb beállítása
Customize = Testreszab
Customize Touch Controls = Elrendezés testreszabása
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Masukan stik melingkar
Classic = Klasik
Confine Mouse = Kunci mouse di area layar
Control Mapping = Pemetaan kontrol
Custom Key Setting = Pengaturan kunci kustom
Custom touch button setup = Pengaturan kunci kustom
Customize = Sesuaikan
Customize Touch Controls = Sesuaikan tata letak kontrol sentuh
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Input circolare levetta
Classic = Classico
Confine Mouse = Confina il mouse all'interno dell'area della finestra
Control Mapping = Mappatura dei Controlli
Custom Key Setting = Impostazioni tasto personalizz.
Custom touch button setup = Impostazioni tasto personalizz.
Customize = Personalizza
Customize Touch Controls = Personalizza Controlli Touch
D-PAD = Croce direzionale
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = 環状スティック入力
Classic = クラシック
Confine Mouse = ウィンドウ/表示領域内でマウスをトラップする
Control Mapping = キーマッピング(入力ボタン設定)
Custom Key Setting = カスタムキーの設定
Custom touch button setup = カスタムキーの設定
Customize = カスタマイズ
Customize Touch Controls = 画面タッチ用コントローラーをカスタマイズする
D-PAD = 十字キー
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Klasik
Confine Mouse = Trap mouse within window/display area
Control Mapping = Pemetaan Kontrol
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Edit Sentuh Kontrol layout...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = 원형 스틱 입력
Classic = 클래식
Confine Mouse = 창/표시 영역 내에서 마우스 트랩
Control Mapping = 제어 맵핑
Custom Key Setting = 커스텀 키 설정
Custom touch button setup = 커스텀 키 설정
Customize = 맞춤설정
Customize Touch Controls = 터치 제어 레이아웃 수정...
D-PAD = 십자 패드
+1 -1
View File
@@ -122,7 +122,7 @@ Circular stick input = Circular stick input
Classic = کلاسیک
Confine Mouse = Trap mouse within window/display area
Control Mapping = Control mapping
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Edit touch control layout...
D-PAD = دوگمەکان
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = ແບບດັ້ງເດີມ
Confine Mouse = ຈຳກັດເມົ້າໃນໜ້າຕ່າງ/ພື້ນທີ່ສະແດງຜົນ
Control Mapping = ປ່ຽນແປງຄ່າຄວບຄຸມ
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = ປັບປ່ຽນການຄວບຄຸມແບບສຳຜັດ...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Klasikinis
Confine Mouse = Trap mouse within window/display area
Control Mapping = Valdymo mygtukų nustatymai
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Pakeisti liečiamo valdymo mygtukų pozicijas ir dydį...
D-PAD = Krypčių mygtukai
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Klasik
Confine Mouse = Trap mouse within window/display area
Control Mapping = Pemetaan kawalan
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Edit susunan kawalan...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Klassiek
Confine Mouse = Muis binnen venster/weergavegebied vastzetten
Control Mapping = Besturing toewijzen
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Indeling aanraakbesturing bewerken...
D-PAD = Richtingstoetsen
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Classic
Confine Mouse = Trap mouse within window/display area
Control Mapping = Control mapping
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Edit touch control layout...
D-PAD = D-Pad
+1 -1
View File
@@ -108,7 +108,7 @@ Circular stick input = Okrągły odczyt analoga
Classic = Klasyczny
Confine Mouse = Zablokuj myszkę w oknie
Control Mapping = Mapowanie przycisków
Custom Key Setting = Niestandardowe Ustawienia Klawiszy
Custom touch button setup = Niestandardowe Ustawienia Klawiszy
Customize = Ustawienia Niestandardowe
Customize Touch Controls = Edycja układu przycisków ekranowych...
D-PAD = Krzyżak
+1 -1
View File
@@ -133,7 +133,7 @@ Circular stick input = Entrada circular do direcional
Classic = Clássico
Confine Mouse = Travar o mouse dentro da janela/área de exibição
Control Mapping = Mapeamento dos controles
Custom Key Setting = Configuração Personalizada das Teclas
Custom touch button setup = Configuração Personalizada das Teclas
Customize = Personalizar
Customize Touch Controls = Editar esquema do controle do toque...
D-PAD = D-Pad
+1 -1
View File
@@ -133,7 +133,7 @@ Circular stick input = Entrada circular do direcional
Classic = Clássico
Confine Mouse = Isolar o rato dentro da janela/área de exibição
Control Mapping = Mapeamento dos Controlos
Custom Key Setting = Configuração Personalizada das Teclas
Custom touch button setup = Configuração Personalizada das Teclas
Customize = Personalizar
Customize Touch Controls = Editar disposição do controlos de toque...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Clasic
Confine Mouse = Trap mouse within window/display area
Control Mapping = Editare controale
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Aranjare controale touch...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Круговой ввод стика
Classic = Классический
Confine Mouse = Не давать мыши выходить за пределы окна
Control Mapping = Назначение кнопок
Custom Key Setting = Настройка кастомных кнопок
Custom touch button setup = Настройка кастомных кнопок
Customize = Настроить
Customize Touch Controls = Изменить сенсорное управление...
D-PAD = Крестовина
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Cirkulär analog inmatning
Classic = Klassisk
Confine Mouse = Stäng in muspekaren i fönstret
Control Mapping = Kontrollmappning
Custom Key Setting = Anpassa knapp
Custom touch button setup = Anpassa knapp
Customize = Anpassa
Customize Touch Controls = Anpassad layout...
D-PAD = Riktningsknappar
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Input ng pabilog na stick
Classic = Klasiko
Confine Mouse = I-trap ang mouse sa loob ng window/display area
Control Mapping = Pagtakda ng Kontrol
Custom Key Setting = Magtakda ng pasadyang pag-aayos sa pindutan
Custom touch button setup = Magtakda ng pasadyang pag-aayos sa pindutan
Customize = I-customize
Customize Touch Controls = Ayusin ang mga pindutan sa screen
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = ค่านำเข้าการหมุนปุ่
Classic = แบบดั้งเดิม
Confine Mouse = จำกัดเม้าส์ภายในหน้าต่าง/พื้นที่แสดงผล
Control Mapping = เปลี่ยนแปลงค่าการควบคุม
Custom Key Setting = ติดตั้งปุ่มคอมโบปรับแต่ง
Custom touch button setup = ติดตั้งปุ่มคอมโบปรับแต่ง
Customize = ปรับแต่ง
Customize Touch Controls = ปรับแต่งปุ่มควบคุมหน้าจอสัมผัส
D-PAD = ปุ่มลูกศร
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Dairesel çubuk girişi
Classic = Klasik
Confine Mouse = Fareyi Sınırlandır
Control Mapping = Kontrolleri Ayarla
Custom Key Setting = Özel Tuş Ayarı
Custom touch button setup = Özel Tuş Ayarı
Customize = Özelleştir
Customize Touch Controls = Dokunmatik Kontrolcüleri Özelleştir
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Введення круглого стіка
Classic = Класичний
Confine Mouse = Не давати миші виходити за межі екрану
Control Mapping = Призначення кнопок
Custom Key Setting = Індивідуальне налаштування клавіші
Custom touch button setup = Індивідуальне налаштування клавіші
Customize = Кастомізувати
Customize Touch Controls = Розташування кнопок...
D-PAD = Хрестовина
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = Circular stick input
Classic = Cổ điển
Confine Mouse = hiển thị chuột
Control Mapping = Chỉnh nút
Custom Key Setting = Custom Key Setting
Custom touch button setup = Custom touch button setup
Customize = Customize
Customize Touch Controls = Chỉnh vị trí nút...
D-PAD = D-Pad
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = 环形摇杆输入
Classic = 经典款式
Confine Mouse = 限制鼠标在窗口内
Control Mapping = 按键映射
Custom Key Setting = 自定义键位设置
Custom touch button setup = 自定义键位设置
Customize = 自定义…
Customize Touch Controls = 编辑按键布局…
D-PAD = 方向键
+1 -1
View File
@@ -109,7 +109,7 @@ Circular stick input = 圓形搖桿輸入
Classic = 傳統
Confine Mouse = 在視窗/顯示區域內截獲滑鼠
Control Mapping = 控制對應
Custom Key Setting = 自訂按鍵設定
Custom touch button setup = 自訂按鍵設定
Customize = 自訂
Customize Touch Controls = 編輯觸控控制版面配置…
D-PAD = 方向鍵