Dual Input Architecture
The Nintendo Switch version of Diablo II: Resurrected natively recognizes two input methods: gamepad buttons/sticks and direct touchscreen coordinates. D2R Mobile bridges multi-touch input into these formats through an internal state machine (Sources/dm_touch_controls.c) paired with platform overlays on iOS and Android.
The state machine classifies finger contacts across three distinct operational contexts, driven by internal game navigation messages (dm_tc_navigation):
- Front-End Screens (Main Menu, Character Selection, Creation):
The virtual analog stick and skill clusters are hidden. Screen touches translate directly into UI cursor clicks (
dm_ui_touch), allowing you to select classes, adjust options, or tap interface buttons directly. - In-Game Exploration & Combat (No Panels Open): The screen divides into functional control zones:
- Left Zone: Virtual analog stick translating thumb movement into left-stick axes.
- Right Zone: Skill action buttons translating taps into gamepad button presses (X, Y, B, A, ZR, ZL).
- Bottom Bar: Access to belt potions, town portal, and menu shortcuts.
- World Targeting: Tapping a monster, item nameplate, chest, or NPC dispatches coordinates to
dm_ui_world_tapfor engine target resolution. Tapping empty ground dispatches no input. - In-Game Panels (Inventory, Stash, Cube, Skill Trees): When an interface panel opens, controls switch to direct panel interaction based on the engine's internal panel hierarchy:
- Single Tap: Selects an item and displays its stat tooltip.
- Double Tap: Uses, drinks, or equips/unequips the item.
- Long Press on Item / Drag & Drop: Picks up an item to move it between grid cells, stash tabs, or the cube.
- Long Press on Empty Space (v2.3.0): Automatically sorts the open inventory or stash grid.
- Dismissal: Tapping outside the active panel perimeter closes it immediately.
v2.3.0 Gesture & Touch Overlay Improvements
Recent releases through v2.3.0 expand touch gameplay beyond simple button taps:
- Drag Skill Buttons to Aim: Instead of relying solely on nearest-target auto-aim, you can press and drag a skill button to aim directional spells and skills (such as Teleport, Blizzard, or traps) precisely before releasing.
- 1-Tap Secondary-Weapon Skill Auto-Swap: Tapping a skill that is bound to your secondary weapon slot automatically switches to your off-hand weapon set and triggers the skill in a single action—especially helpful for Call to Arms (Battle Orders) buffing or Teleporting on switch.
- Long-Press Empty Inventory Space to Sort: Long-pressing an empty cell inside your inventory or stash panel runs the native sort command without hunting for the sort button.
- Lighter iOS Touch Overlay: v2.3.0 reduces the rendering overhead of the iOS touch overlay (
DmTouchOverlay.m) above the Metal viewport.
HUD Overlay & Android Touch Overlay Status
D2R Mobile minimizes artificial UI layers by repurposing the game's original assets:
- Original HUD Widgets: Life orb, mana orb, belt slots, town portal, and system buttons are native Switch HUD elements repositioned and scaled via an overlay RomFS layout file.
- Shell-Drawn Elements: Experience bar graphics and belt slot count numbers are rendered directly by the shell.
- iOS Touch Overlay: Rendered as a lightweight UIKit overlay (
DmTouchOverlay.m) floating above the Metal viewport, extracting skill icons dynamically from the game's skill atlas and reading active bindings from memory (dm_touch_game_bridge.c). - Android Touch Overlay Status (v2.3.0): The official
D2RMobile-android.apk(v2.3.0) ships with full on-screen touch controls using the same dual-zone touch state machine and skill overlay, plus true fullscreen support on foldables and 4:3 tablets (devices narrower than 16:9 render 3D gameplay edge-to-edge while keeping the 16:9 UI anchored along the bottom, matching iPad behavior). Note that this site documents Android controls from upstream release notes and has not physically benchmarked Android touch latency.
Physical Gamepads & macOS Controls
Automatic Xbox & PlayStation Button Icon Switching
On iOS, iPadOS, Android, and macOS, pairing a supported Bluetooth or wired controller immediately hides on-screen touch overlays and routes hardware inputs directly to the game engine. Starting with the v2.3.0 control refinements, D2R Mobile automatically switches on-screen button glyph prompts to match the connected controller family: - Xbox Wireless Controllers display Xbox A / B / X / Y / LB / RB / LT / RT glyphs. - PlayStation DualSense (PS5) & DualShock 4 (PS4) display PlayStation Cross / Circle / Square / Triangle / L1 / R1 / L2 / R2 glyphs. - Nintendo Switch Pro & Joy-Con controllers keep native Switch glyph prompts.
Support depends on the controller model and your device's OS version; pair the controller in system Bluetooth settings before launching or while in-game.
macOS Desktop Controls
On Apple Silicon Mac desktop builds (D2R Mobile.app and D2R Mobile M3.app), input adapts to desktop hardware:
- The controls below are the documented Mac route, not an independent gameplay benchmark. Our physical Mac run on v2.2.4 stopped at resource selection because the complete 18-file game resource set was unavailable; keyboard, mouse, and controller behavior remain untested in-game by this guide.
- Keyboard Navigation: Move with W, A, S, D; confirm with Space or J; cancel/menu with Esc or K; toggle minimap with Tab; open menu with =.
- Mouse Controls: Left-click empty ground to pathfind and walk; click and hold to continuously walk toward the cursor; left-click monsters to attack with the primary skill bound to J; click world objects to interact; drag and drop items across inventory grids; right-click executes back/cancel (B).