Repository navigation
Releases
UniPad v1.5.1
UniPad v1.5.1
Lower CPU usage · Zero allocations · Identical behavior
⚡ Performance release — no new features, no UI changes
This release is entirely about lowering CPU usage. Behavior is verified identical to v1.5.0.
🔧 CPU / performance
- Input loop now waits on a high-resolution Windows timer with absolute-deadline scheduling instead of busy-polling — the CPU is no longer spun while waiting for the next poll.
- Device lookup: removed string building and per-cycle device-list snapshots.
- Phone topology: the phone-client topology snapshot is now reused across poll cycles instead of being rebuilt every cycle (unchanged latch/stale/reconnect behavior).
- Rumble output: the rumble strength lookup delegate is cached, so the output cycle no longer allocates per pass.
📊 Measured results
Benchmarked with the new repeatable suite (tests/UniPad.Performance, raw data in build/performance/results.json):
| Scenario | Result |
|---|---|
| Binding lookup, 27 bound targets | ~50% less CPU time, zero allocations |
| Output cycle, 8 virtual pads | ~50% less CPU time, zero allocations |
| Phone poll, 8 clients | ~70% less CPU time, zero allocations |
✅ Verification
- 54/54 regression checks pass, including real SDL with virtual joysticks and real loopback WebSockets
- A deterministic 100,000-frame replay produces an identical checksum before and after the change — no behavior change
- Full technical report (Persian) in
build/performance/REVIEW_FA.txt
📥 Download
UniPad.exe — single portable file. No installer, no .NET runtime required.
SHA-256: DEB6C07F216F8893F66645552FA934C46392D77A483871FBF8EB1C906598D5A1
Verify it with:
Get-FileHash .\UniPad.exe -Algorithm SHA256⬆️ How to update
UniPad will offer the update automatically through its in-app updater, or
Download UniPad.exe below (portable single file, no installer) and replace your current copy.
Tip
Keep UniPad somewhere writable such as C:\Tools\UniPad, not inside Program Files.
🐛 Feedback
If CPU usage still looks too high for you, please open an issue with your CPU model, connected devices, and what the app was doing at the time.
UniPad v1.5.0
UniPad v1.5.0
Phones as controllers · Player colours · Clickable player strip
✨ What's new
📱 Your phone is a controller
Any phone on the same Wi-Fi can now drive a player — open Phones in the sidebar and scan the QR code. No app to install.
- Customisable layout: tap the gear on the phone to move, resize, lock, disable or fade any control, per control or all at once, and reset to defaults. Saved on the phone.
- Fullscreen button, vibration on/off, and rename the phone from the phone itself — the new name shows up in UniPad right away.
- The phone page follows UniPad's language (English/Persian) live, including right-to-left.
- Phones page in the app: QR code and join link, server state, LAN address picker, and every phone with its player, online state and latency — rename, kick or disconnect all. A browser version is one click away.
- The server port is configurable and moves to the next free port when busy; the join link uses the PC's real Wi-Fi/Ethernet address, with virtual and VPN adapters ranked last.
🎨 A colour for every player
Each player has a fixed colour across the tab captions, the group frames of its panel and the player strip. Devices in use are framed and tinted in their player's colour, with the player number, on both the Advanced monitor and the Phones list. Light and dark themes get their own tuned palette.
👆 Clickable player strip
The squares under the controller diagram are now buttons — click one to jump to that player's tab.
🐛 Fixes & hardening
| Area | What changed |
|---|---|
| Phone server | Fragmented WebSocket messages are reassembled, messages are capped at 4 KB, and malformed packets are ignored instead of dropping the phone. |
| Phone admission | The capacity check is atomic, and forgotten offline phones are evicted when the server is full. |
| Threading / shutdown | Fixed a race between profile loading and the network thread, and an exception on exit. |
| Window | The main window can no longer be shrunk below its default size. |
📝 NOTE
Important
Scanning the QR code no longer assigns a player automatically. The phone joins the device list — pick it in a player's Input Device box.
- On first run Windows Firewall may ask for network access — allow it on Private networks so phones can connect.
- Safari on iPhone does not support fullscreen or vibration for web pages.
- ViGEmBus is required and UniPad installs it on first run. HidHide is optional but recommended.
📥 Download
UniPad.exe — single portable file. No installer, no .NET runtime required.
SHA-256: D95F060377EA4932670E5F61A2D8E97D0A217FFB59B7CE04AB49F616758413BC
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. Your profiles and settings keep working.
Tip
Keep UniPad somewhere writable such as C:\Tools\UniPad, not inside Program Files.
UniPad v1.4.0
UniPad v1.4.0
Per-player profiles · Per-group clear · Player status strip
✨ What's new
🎮 Profiles you can share between players
Each player panel now has a Profile box. Save a panel's bindings, stick tuning, vibration and D-pad stick emulation under any name you like, and load that profile into any other player tab. Profiles are stored as separate files in the profiles folder, so they can be backed up or copied between machines. New opens a small naming dialog, available in English and Persian.
🧹 Clear one group at a time
Every binding group — shoulders, misc, sticks, D-pad and face buttons — has a small clear button in its corner. It unbinds only the buttons in that group; deadzone, range, vibration, D-pad emulation and the linked profile stay as they are.
👁️ See every player at a glance
A strip of eight squares under the controller diagram shows which players currently have a live virtual pad — the same rule as the Controllers count in the status bar — and highlights the number of the tab you are looking at.
🐛 Fixes
| Area | What was wrong |
|---|---|
| Auto Map | On unknown pads with 8–9 buttons, Back/Start landed on the same buttons as the triggers; with 10+ buttons they collided with the stick clicks. |
| Toggle | Toggle mode on a hat bound to a stick direction or trigger was silently ignored. |
| Driver install | Installing ViGEmBus froze the window while the virtual pads were connected. |
| Performance | Every unbound target allocated a placeholder on each 1000 Hz poll cycle. |
| Controller diagram | RT sat slightly lower than LT, and the upper-left corner did not mirror the right. |
📝 NOTE
Important
Auto Map's heuristic layout for unrecognised controllers has changed. If you rely on an old auto-mapped layout for such a pad, check its bindings after running Auto Map again. Controllers recognised by SDL are not affected.
- 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.
📥 Download
UniPad.exe — single portable file. No installer, no .NET runtime required.
SHA-256: 929747718E7E86AFAA6BD8163DC19F1444A45186BDCBE5FEAAB99AD3ED3F9706
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.
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.
UniPad v1.2.0
What's new
Keyboard and mouse as an input source. UniPad can now emulate a controller
from the keyboard and mouse, which is what you want when a game supports only
a gamepad. They appear in the device picker as a single Keyboard & Mouse
entry, so a laptop keyboard with no mouse attached and a full desktop setup are
the same choice; whatever is missing simply stays at rest. Auto Map lays down a
WASD layout with the mouse buttons on the triggers, and every binding can still
be changed individually afterwards.
Mouse look drives the right stick. Mouse movement is converted into right
stick deflection and decays back to centre on its own, so camera control feels
continuous rather than stepped. Sensitivity, how quickly the stick returns to
centre, and Y inversion are all adjustable live from the Advanced page.
Update UniPad from inside UniPad. The About page now checks GitHub for a
newer release and, when there is one, downloads it and puts it in place for
you - all that is left is a restart. Nothing is replaced until the download has
been verified, so an interrupted update leaves the installation exactly as it
was, and the previous executable is cleaned up automatically on the next start.
Rearranged Advanced and About pages. Advanced now holds only what changes
how input is read and emitted: general options, driver state and the new
keyboard and mouse tuning, with the raw device monitor filling the rest. The
data folder, logs, mapping database and update actions have moved into a
Maintenance box on the About page, where they belong.
Fixes
A real controller is no longer mistaken for UniPad's own virtual pad. Pad
detection used a plain half-second time window plus a GUID blacklist, so a
controller that happened to arrive while a virtual pad was being connected was
written off for the rest of the session. Because identical twin adapters share
a single GUID, losing one of them lost both. Detection now also requires the
USB identity of the pad flavour that was actually requested, and each connect
can claim exactly one device.
Two players can no longer end up on the same controller. Reattaching saved
devices ran one greedy pass, so if a player's saved port was briefly absent
during startup enumeration, the same-GUID fallback handed it the controller
another player already had - and that overwritten mapping was then saved on
exit, which is why settings appeared to be forgotten between runs. Reattaching
now runs in two passes and tracks ownership, and it repairs a profile that was
already damaged this way.
Controller enumeration is allowed to settle before startup. SDL discovers
devices on its own thread, so virtual pads used to be created while real
controllers were still arriving. UniPad now waits for the list to stabilise,
which is what made the problem above appear only with three or more devices
connected.
Auto-detect orders ports numerically. Port 10 no longer sorts before port
2, so large numbers of identical adapters land in the expected player slots.
Tidier icon assets. Each icon file now has exactly one role, and the
duplicate that shipped in earlier builds is gone.
Download
UniPad.exe - single portable file, no installer, no .NET runtime needed.
SHA-256: 2F62ED3FC980FE9735EC52348F733D1A9AC2904BD7600F413CBD4C933EA3CA7F
Verify it yourself:
Get-FileHash .\UniPad.exe -Algorithm SHA256Upgrading
Replace the old UniPad.exe and keep the UniPad_Data folder next to it; profiles saved
with v1.0.x and v1.1.0 keep working unchanged. This is the last release you need to
update by hand - from v1.2.0 onwards About → Check for Updates does it for you.
Keep UniPad in a folder you can write to (for example C:\Tools\UniPad), not inside Program Files,
since both the data folder and the in-app updater need write access next to the executable.
Notes
Keystrokes still reach the game as well as the virtual pad, so if both respond at once,
unbind the keyboard controls inside the game or hide the physical device.
ViGEmBus is still required and UniPad installs it for you on first run.
UniPad v1.1.0
What's new
A theme of its own. UniPad no longer borrows the Windows accent colour.
Buttons, focus rings, sliders, checkboxes, hover states and the analogue stick
dots now all follow the same orange accent in both the dark and the light
theme, so the interface looks identical on every machine.
Rebuilt player panel. The bindings are laid out in aligned parallel
columns: Shoulder L and the left stick on the left, Shoulder R, the face
buttons and the right stick on the right, with Misc centred between the two
shoulder groups. The shoulder group is now split per side, and the separate
LT/RT bars have been removed in favour of the live stick previews.
The executable finally has its icon. The application icon is embedded in
UniPad.exe, so it shows up correctly in Explorer, the taskbar and Alt+Tab.
Download
UniPad.exe — single portable file, no installer, no .NET runtime needed.
SHA-256: D06743ADB47D36A08BDBEEDDFA30EF4AD620C65858B6EE6A6C4003F46F2F6628
Verify it yourself:
Get-FileHash .\UniPad.exe -Algorithm SHA256Notes
Nothing changed in input handling, mapping, profiles or virtual output, so
profiles saved with v1.0.x keep working unchanged. ViGEmBus is still required
and UniPad installs it for you on first run.
UniPad v1.0.1
A visual refresh. No changes to input handling, mapping, or profiles — every
profile saved with v1.0.0 keeps working as-is.
What changed
- Redrawn controller preview with an Xbox-style layout and colour-coded face
buttons that light up as you press them. - Reorganised configuration window: Advanced and About moved into the category
sidebar instead of sitting in the player tab strip. - Reworked tab and panel framing for a cleaner, more consistent look.
Installation
Download UniPad.exe below and place it in a folder you can write to (for
example C:\Tools\UniPad), not inside Program Files. If you are coming from
v1.0.0, just replace the old executable — keep the UniPad_Data folder next to
it and your settings carry over.
Verifying your download
SHA-256: 5AEDAF71B5974E8598F896000CCC7ED7F50A4C02158329413B71D73FC54E0C44
Verify it yourself:
Get-FileHash .\UniPad.exe -Algorithm SHA256UniPad v1.0.0
UniPad v1.0.0
First public release. UniPad turns any input device on Windows into a
virtual Xbox-compatible (XInput) controller, so games that only support
XInput can be played with hardware they were never built for.
Highlights
- Universal input sources — map gamepads, keyboards, and mouse input
to a single virtual XInput controller. - Per-game profiles — save, load, and switch mapping profiles.
- Device hiding via HidHide — optionally hide the physical device from
games so they only see the virtual controller, preventing double input. - Guided driver setup — UniPad detects whether ViGEmBus is present and
walks you through installing it on first run. - Community mappings — uses the SDL_GameControllerDB database so
uncommon controllers are recognised out of the box; the database can be
updated from within the app. - Bilingual UI — English and Persian (فارسی), with full right-to-left
layout support. - Portable — a single
.exewith no installer. All settings live in a
UniPad_Datafolder next to the executable; delete the folder and the
app is gone without a trace. - System tray operation — runs quietly in the tray while you play.
Requirements
- Windows 10 version 1809 or later, or Windows 11 (64-bit only)
- Administrator rights on first run (driver installation)
- ViGEmBus 1.22.0 or later
— UniPad can install this for you - HidHide — optional, only
needed for device hiding - No separate .NET installation required (self-contained build)
A reboot may be required after the drivers are installed.
Installation
- Download
UniPad.exefrom the assets below. - Put it in a folder where you have write access (for example
C:\Tools\UniPad) — not insideProgram Files, since UniPad stores
its data next to the executable. - Right-click → Run as administrator for the first launch, so the
driver setup can complete. - Reboot if UniPad asks you to, then launch it normally.
Verifying your download
SHA-256: 471AF2301158984DB9E34CD26A6971163A57D480D28F91E42F21F20E4C216267
Check it yourself in PowerShell:
Get-FileHash .\UniPad.exe -Algorithm SHA256VirusTotal scan: TODO-PASTE-VIRUSTOTAL-LINK
About SmartScreen and antivirus warnings
UniPad is not code-signed yet, so Windows SmartScreen will most likely show
"Windows protected your PC" on first launch. Click More info →
Run anyway.
Some antivirus products may also flag the file. This is expected for this
category of software: UniPad is a compressed single-file executable, it
installs a kernel-mode driver, and it hooks input devices — a combination
that heuristic scanners treat as suspicious. The full source code is in this
repository and you can build the exact same binary yourself with
build\publish.cmd. If you would rather not trust the prebuilt file, please
build it from source.
Code signing is planned for a future release.
Known issues
- Unsigned binary triggers SmartScreen (see above).
- HidHide and ViGEmBus installation require a reboot on some systems.
Reporting problems
Please open an issue at
https://github.com/UniPad-app/UniPad/issues and include:
- your Windows version (
winver) - the controller model you are using
- the log file from
UniPad_Data\logs\
Disclaimer
UniPad is intended for accessibility and convenience. It is not designed to
circumvent anti-cheat systems, and using virtual input devices may violate
the terms of service of some online games. Use it at your own discretion.
Xbox and XInput are trademarks of Microsoft Corporation. UniPad is an
independent project with no affiliation to Microsoft or to Nefarius Software
Solutions e.U. See THIRD-PARTY-NOTICES.md.
License
MIT — see LICENSE.