Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.
Swift apple-siliconcustom-formathomebrewiosipaipadipadosiphonemetalnative-portnintendo-switchnxnativeromfsswitch-games
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: thehobbit85 <[email protected]>
Date: Wed, 4 Nov 2026 20:44:33 -0800
Subject: [PATCH] Document the fork touch controls so environment validation
passes
Upstream-Status: fork-only
Reason: The fork touch-control patches add four environment settings without table rows, which makes the Tool tests job fail once it preserves test exit status
Issue: LNPANDY/NX2Apple#690
---
docs/env_switches.tsv | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/docs/env_switches.tsv b/docs/env_switches.tsv
index d25e9e3..08e9eec 100644
--- a/docs/env_switches.tsv
+++ b/docs/env_switches.tsv
@@ -365,7 +365,11 @@ DM_THERMAL_CAP switch `0` turns off the thermal cap, which holds the frame step
DM_THR diagnostic `=1` logs each SVC (except `SleepThread`) with its first four arguments, and each `CreateThread` with entry, stack, priority and core
DM_THRCPU diagnostic `=<tsv path>[,<seconds>]` writes each thread's CPU time (100% = one core) and the total every interval (default 10 s); on iOS a relative path is under `Documents`
DM_TOUCH_HAPTICS player `0` turns off the light haptic tap when a touch control is pressed (on by default); launcher setting
+DM_TOUCH_HINT player Localized words for the iOS right-stick hint, shown once per launch when the 3D layout has room and no controller is connected. Empty disables the hint
+DM_TOUCH_LAYOUT player The player's per-layout touch-control arrangement, encoded by the shell's touch layout editor. Invalid values keep the built-in positions
DM_TOUCH_LOG diagnostic `=1` logs each touch-screen read with touch points (sample, finger, position, attributes) and each gesture entry, up to 500 lines
+DM_TOUCH_SIZE player iOS touch-control size: small, medium (default) or large. Controls move toward medium when the requested size does not fit
+DM_TOUCH_STICK player iOS left touch-stick position: corner (default), higher or inward
DM_UDC_SELFTEST diagnostic `=1` runs a start-up check of DontCare load and store on private depth-stencil and RGBA8 textures (clear, Load + DontCare, read back) and logs one result line
DM_UE_SHADERS path Folder of the Unreal shader code archives decoded by `uepak.py`, for `shader_split.py` (default `ue_shaders` beside the RomFS); needed when the RomFS has Unreal paks
DM_UE_TEXTURE_POOL switch Megabytes Unreal's texture streaming pool (`r.Streaming.PoolSize`) is raised to, overriding the profile's `ue_texture_pool`; `0` keeps the game's own pool. On iOS only this switch turns it on (`Documents/env.txt`)