Skip to content

Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.

Translate controller help and explain macOS input access

thehobbit859b04757b1e9d
diff --git a/frontend/README.md b/frontend/README.md
index 655e43ac..4846308d 100644
--- a/frontend/README.md
+++ b/frontend/README.md
@@ -214,6 +214,12 @@ saved choices are disabled.
Direct raw Steam input belongs to built games. Library and console navigation in
NX2Apple continue to depend on Apple's GameController support.
+macOS may require **System Settings → Privacy & Security → Input Monitoring**
+permission for the game app's direct Steam input. Bluetooth pairing alone does not
+grant it. If direct input, motion or rumble is unavailable, enable the game app
+you launch there, quit and reopen it, then reconnect the controller. Replacing or
+rebuilding an ad-hoc signed app can require renewing that permission.
+
The controller has four layouts, each only a `DM_PAD_MAP` value. **Standard layout**
(the default) passes nothing: the host reads the face buttons by position, in the
Nintendo layout (right A, bottom B, top X, left Y), for PlayStation and other
diff --git a/frontend/Tests/NXCoreTests/ControllerPreferencesTests.swift b/frontend/Tests/NXCoreTests/ControllerPreferencesTests.swift
index 815e7c68..e5ae6f78 100644
--- a/frontend/Tests/NXCoreTests/ControllerPreferencesTests.swift
+++ b/frontend/Tests/NXCoreTests/ControllerPreferencesTests.swift
@@ -55,7 +55,8 @@ final class ControllerPreferencesTests: XCTestCase {
let english = L10n.string(key, .en)
XCTAssertNotEqual(english, key)
XCTAssertNotEqual(L10n.string(key, .zh), english)
- for code in ["de", "fr", "it", "sv"] { XCTAssertEqual(L10n.string(key, Lang(code)), english) }
+ XCTAssertNotEqual(L10n.string(key, Lang("de")), english)
+ for code in ["fr", "it", "sv"] { XCTAssertEqual(L10n.string(key, Lang(code)), english) }
}
}
diff --git a/frontend/l10n/de.json b/frontend/l10n/de.json
index c5f19975..f3f81a55 100644
--- a/frontend/l10n/de.json
+++ b/frontend/l10n/de.json
@@ -247,6 +247,10 @@
"controls.fn.Y": "Y",
"controls.fn.ZL": "ZL",
"controls.fn.ZR": "ZR",
+ "controls.gameApplied": "Änderungen werden mit dem Controller-Menü dieses Spiels geteilt.",
+ "controls.gameNote": "Gemeinsame Einstellungen mit dem Controller-Menü dieses Spiels.",
+ "controls.globalApplied": "Spielbezogene Belegungen bleiben getrennt.",
+ "controls.globalNote": "Die anfängliche Belegung von Tastatur und Controller.",
"controls.homeQuit": "Mit der Home-Taste beenden",
"controls.homeQuitNote": "Halte im Spiel die Home-Taste 2 Sekunden lang gedrückt und drücke dann A. Dein Mac muss Apps die Home-Taste überlassen.",
"controls.homeQuitOld": "Erfordert macOS 27. Auf diesem Mac beendest du ein Spiel mit ⌘Q.",
@@ -268,6 +272,8 @@
"controls.press": "Taste drücken …",
"controls.reset": "Auf Standard zurücksetzen",
"controls.row": "Tastatur und Controller",
+ "controls.saveFailed": "Speichern fehlgeschlagen. Bitte erneut versuchen.",
+ "controls.savingDisabled": "Das Speichern von Einstellungen ist für dieses Spiel deaktiviert. Aktiviere es, um die Controller-Belegung hier zu ändern.",
"controls.settingsHint": "Gilt für jedes Spiel, das du auf diesem Mac spielst.",
"controls.sticks": "Tastatur: Sticks und Steuerkreuz",
"controls.title": "Steuerung",