Repository navigation
UniPad v1.3.0
UniPad v1.3.0
Immediate language switching · Proper Persian layout · Stable device identity
✨ What's new
🌐 The interface changes language immediately
Switching between English and Persian no longer needs a restart. Captions built in code — tab headers, device entries, bind buttons — follow along, and so do the lines in the status bar, which are rebuilt from their key rather than kept as the sentence they were first written as.
↔️ Persian is laid out properly
The window mirrors, but the player panel does not: it describes a physical pad, so the left stick stays on the left and the D-pad stays where your thumb expects it. The header and the action row are ordinary form rows and do mirror, so the connect toggle and the primary button sit where a right-to-left interface puts them. Group box captions are sized to the script they carry instead of a fixed eight pixels, which used to cut Persian headings through the middle.
✅ Apply means apply
Save and Apply did the same thing with different names, so Save is gone. Apply no longer tears down every virtual pad on its way through — pads are rebuilt when the output genuinely changed and left alone otherwise, so editing a binding mid-session no longer costs you the Windows connect sound and a few hundred milliseconds of no controller. OK now applies as well, instead of quietly storing an output type change until the next launch.
🧹 Clear All actually resets
It clears the bindings and restores that panel's deadzone, range, vibration and D-pad stick emulation. The one next to Auto-Detect All does it for every player. Defaults has been narrowed to what its name suggests — deadzone and range only — and it no longer switches D-pad stick emulation back on behind your back.
🪟 A second launch opens the window you already have
Starting UniPad again hands control to the running instance and exits. Two instances each owned their own state, so they overwrote each other's profile and connected two sets of virtual pads; with the window living in the tray, a row of identical icons was usually the first clue.
🐛 Fixes
| Area | What was wrong |
|---|---|
| Device identity | A twin adapter plugged in after startup came back under a different GUID, so the profile saved in that session found nothing to attach to on the next launch — typically player one survived and player two did not. |
| Device picker | Two halves of one adapter both read as (0), with no way to tell them apart. |
| Start minimised | The setting, and the --tray switch the autostart entry uses, had never once done anything. |
| General options | Two checkboxes caused every virtual pad to be rebuilt on the next hot-plug, mid-game. |
| Run at startup | A refused registry write left the box ticked and the preference apparently forgotten. |
| Tray menu | The entry named the setting rather than the action. |
| Rebinding | Editing a binding raced the polling thread; a button held down when the edit started could stay stuck inside the game. |
| Tab switching | Moving between players disconnected and reconnected virtual pads. |
| Status bar | The diagnostics reading stayed on screen everywhere, frozen at a figure from minutes ago. |
| Layout | Shrinking the window dropped the controller diagram on top of the Misc box. |
The details, for anyone who hit these
Device identity. Two fields of an SDL GUID describe how a device was reached rather than what it is: a CRC16 of the reported name, and the signature of the backend that opened it. With raw input and DirectInput both enabled, the two halves of an adapter hot-plugged mid-session were opened by different backends and arrived under different GUIDs than the startup scan produces. Identity is now bus-agnostic vendor, product and version, and the halves are told apart by port ordinal as they always were. Existing profiles are repaired as they are read — no migration step, nothing to redo.
Device picker. Entries are numbered from the list they appear in, rather than from an ordinal that counts within a single GUID. A repeated name becomes #1 and #2; a unique one is shown plainly, without a meaningless (0) after it.
Start minimised to tray. The window was being hidden exactly as intended and then shown again by the application lifetime, which has the last word once initialisation returns. It is no longer handed over when it is meant to start hidden.
General options. Two checkboxes wrote state that the output signature is computed from without telling the signature, so the recorded state went stale and the next hot-plug found a difference nobody had asked for. Hiding physical controllers also runs off the UI thread now — it waits on HidHide and may raise an elevation prompt, and the window used to freeze for as long as you took to answer it. The master output switch was in the signature and did not belong there; it creates and destroys nothing, so its presence only ever caused rebuilds with nothing to rebuild.
Rebinding. Auto-mapping, Clear All and every rebind rewrote a dictionary the polling thread was reading without a lock. The slot is detached for the duration of the edit and a neutral report is submitted.
Tab switching. The recycled player view wrote a stale checkbox value into the newly attached view model, which reached the output manager as a disconnect followed by a reconnect.
Also: auto-detect runs off the UI thread and re-reads XInput slots afterwards, so a newly plugged pad gets its slot caption without leaving the tab. The window now has a minimum size.
📥 Download
UniPad.exe — single portable file. No installer, no .NET runtime required.
SHA-256: 1EE6763EC0D4C0BDC4E7D1CE4E9057EE1236B3E52164E6BB0EBEB077C7C24EC9
Verify it with:
Get-FileHash .\UniPad.exe -Algorithm SHA256⬆️ Upgrading
From v1.2.0, use About → Check for Updates and UniPad does this for you.
Otherwise replace UniPad.exe and keep the UniPad_Data folder beside it. Profiles from v1.0.x onwards keep working, and one written against a hot-plugged twin adapter is repaired on first read.
Tip
Keep UniPad somewhere writable such as C:\Tools\UniPad, not inside Program Files. Both the data folder and the in-app updater need write access next to the executable.
📝 Notes
Important
Windows exposes four XInput slots in total. Real Xbox controllers occupy them too, so with two real pads you have room for two emulated ones. Activate only the players you need.
- ViGEmBus is required and UniPad installs it on first run.
- HidHide is optional but recommended — without it, games see both the real controller and the virtual pad.
- Keystrokes still reach the game as well as the virtual pad. If both respond at once, unbind the keyboard controls inside the game or hide the physical device.
- The tray menu is not mirrored in Persian. It is drawn by Windows, not by UniPad.