Want to play Nintendo Switch games on your PC with a PS5 DualSense controller? You can use the controller with compatible Switch emulators, including Ryujinx and Yuzu-based forks.
The setup depends on what you need. Basic buttons and sticks may work through the emulator’s built-in controller support, while gyro aiming and motion controls can require additional configuration.
Start with native controller support before installing DSX or another mapping tool. Extra software is useful only when the built-in setup does not provide the input features you need.
What You Need
Before configuring your controller, make sure you have:
- A Windows PC that can run your chosen emulator
- A PS5 DualSense controller
- A USB-C data cable or a working Bluetooth connection
- A compatible version of Ryujinx or a Yuzu-based fork
- Additional controller software only if your required features are not working natively
DSX (DualSenseX) is optional. You do not automatically need ViGEmBus, HidHide, or DS4Windows just to connect a DualSense to an emulator.
1. Connect Your DualSense to Windows
You can connect the DualSense using USB or Bluetooth.
USB connection
- Connect the controller to your PC with a USB-C data cable.
- Wait for Windows to recognize it.
- Open your emulator.
- Continue to the controller configuration steps below.
USB is a useful starting point when testing motion controls because it removes Bluetooth pairing and wireless interference from the initial troubleshooting process.
Bluetooth connection
- Open Settings → Bluetooth & devices in Windows.
- Turn Bluetooth on.
- Put the DualSense into pairing mode by holding the Create and PS buttons together until the light bar flashes.
- Select the controller from the available devices.
- Wait for pairing to finish.
If the buttons work wirelessly but gyro input does not, test USB before changing the rest of your configuration.
2. Configure the DualSense in Ryujinx
Ryujinx supports controller configuration through its input settings. The exact menu layout and available motion options can vary by version or fork.
Step 1: Open Input Settings
Launch Ryujinx and open its settings.
Navigate to the Input section and choose the configuration for Player 1. Depending on the version, the relevant controls may be under the main settings or a controller configuration window.
Step 2: Select Your Controller
Choose the connected DualSense from the available input devices.
Set the emulated controller type to Pro Controller for games that expect a Nintendo Switch Pro Controller layout.
Use automatic mapping if the option is available. Otherwise, map the buttons and sticks manually.
Step 3: Test the Buttons
Before testing gyro, confirm that the basic inputs work:
- Left and right sticks
- A, B, X, and Y buttons
- D-pad
- Shoulder buttons
- Triggers
- Plus and Minus buttons
If the controls work, test a game that actually uses motion input before adding another controller application.
Step 4: Test Motion Controls
If your emulator version supports motion input through its selected controller handler, enable the relevant motion option and test it in a game.
A working button layout does not prove that gyro data is reaching the emulator. If motion does not respond, check the emulator’s motion settings and connection method separately.
3. Configure the DualSense in Yuzu-Based Forks
The original Yuzu project was discontinued, and its successor forks may differ in development activity, settings, and supported features.
For that reason, do not assume every fork uses the same menus or offers exactly the same motion-control implementation.
A typical setup is:
- Open the emulator’s controller settings.
- Select Player 1.
- Choose the connected DualSense as the input device.
- Select the Pro Controller layout if appropriate.
- Map the buttons and sticks.
- Enable motion controls if the build provides the option.
- Test the configuration in a game that uses gyro input.
If the option names do not match these instructions, check the documentation for your particular fork and version.
4. Why Gyro Controls May Not Work Over Bluetooth
One common problem is that the controller works wirelessly for ordinary buttons and sticks but does not provide motion data to the emulator.
This can happen because motion support depends on the controller handler, the SDL version and configuration, and the way the application accesses the sensor data.
Do not assume that every Bluetooth connection has the same gyro behavior across all applications and versions.
Try USB First
If motion controls do not respond over Bluetooth:
- Close the emulator.
- Connect the DualSense using USB.
- Reopen the emulator.
- Check the selected controller and motion settings.
- Test the same game section again.
If motion works over USB but not Bluetooth, you have narrowed the problem to the wireless input path or its software support.
If motion still fails, investigate the emulator’s motion provider rather than repeatedly pairing the controller.
5. Do You Need DSX for Yuzu or Ryujinx?
Usually, no.
DSX is designed around supported DualSense configuration and controller features on Windows. It can be useful for specific controller setups, but it should not be assumed to provide every emulator’s required motion-data protocol.
The current Steam version of DSX is separate from the older GitHub DualSenseX v1.4.9 release, which is no longer actively supported or updated.
Official download: DSX on Steam
If the emulator recognizes the DualSense directly and your game works as expected, there is no need to add DSX.
If you need a separate motion server, check that your chosen software explicitly supports the protocol required by your emulator. A virtual Xbox controller alone does not guarantee that gyro data will be forwarded.
6. Using a Separate Motion Provider
Some emulator configurations support an external motion provider through a compatible DSU server. This can be useful when native motion input is unavailable or when a particular setup needs an additional motion-data source.
DSU is a protocol, not simply a generic UDP switch. The server and client must support compatible data formats and settings.
Before Setting Up a DSU Server
Check three things:
- Does your emulator version support an external DSU motion provider?
- Does your controller application explicitly provide a compatible DSU server?
- Does the server support the DualSense’s motion data through your chosen connection?
DS4Windows has historically offered UDP server functionality used by compatible applications. However, the requirements and available options depend on the version you install.
Official project information: DS4Windows download information
Do not assume that DSX provides an identical server simply because another controller application has a UDP option. Verify the installed application’s documentation first.
Configure the Server and Client
If both applications support the required DSU connection:
- Connect the DualSense.
- Start the compatible DSU server.
- Check the server’s configured address and port.
- Open the emulator’s motion settings.
- Select its DSU or external motion-provider option, if available.
- Enter the matching address and port.
- Test the motion data before launching the game.
When both programs run on the same computer, the server may use 127.0.0.1 as its address. The port must match the server’s actual configuration; do not assume a particular port is universal.
If the emulator does not offer the required provider option, a DSU server will not automatically add that capability.
7. Fix Reversed Buttons and Layout Problems
Nintendo’s face-button layout differs from the familiar Xbox arrangement. Depending on your emulator settings, the displayed button labels may not match the physical positions you expect.
If A/B or X/Y seems reversed:
- Check whether the emulator offers a Nintendo-style button layout option.
- Review the current button bindings.
- Change the mapping only if necessary.
- Test the result in the game’s menus and gameplay.
Some games display Nintendo button labels regardless of the controller you use. That does not necessarily mean the physical mapping is wrong.
8. Tune Gyro Sensitivity and Stick Deadzones
If motion aiming feels too sensitive, too slow, or jittery, check the available settings in your emulator and game.
Gyro Sensitivity
Start with the default settings, then make small adjustments while testing the same in-game action.
Avoid copying a fixed sensitivity value from another user’s configuration. The best setting depends on the game, the emulator, the controller, and your preference.
Stick Deadzones
A deadzone can filter out small unwanted stick movements.
If the camera or character moves while the stick is untouched, increase the deadzone gradually if the relevant setting is available.
Do not increase it unnecessarily, as that can make precise movement feel less responsive.
Gyro Drift
If the motion cursor or camera moves when the controller is stationary, check the available calibration and motion settings. Also verify whether the issue occurs over both USB and Bluetooth.
If only one game has the problem, check its motion-control implementation before changing global settings.
9. Prevent Double Input
Double input happens when the emulator receives the same action from both the physical DualSense and a virtual controller created by another application.
Symptoms can include menus moving twice or a single button press triggering an action multiple times.
First check which controller devices the emulator is using. Also close unnecessary controller-mapping software during testing.
When HidHide May Help
HidHide can hide a physical controller from selected applications while allowing a virtual controller to remain available.
It may help if you have confirmed that the emulator is reading both devices.
HidHide is optional. If you are using native controller input and have no duplicate-input problem, you generally do not need it.
Be careful with its configuration. Hiding the physical controller from the wrong application can make a working controller appear to be disconnected.
10. Do You Need ViGEmBus?
Not for every setup.
ViGEmBus was used by older controller-mapping configurations to create virtual Xbox 360 or DualShock 4 controllers. It is not automatically required for native emulator input or for every current DSX installation.
The ViGEmBus project has been retired. Check the actual requirements of your chosen application and virtual-controller mode before installing it.
If your only goal is to use the DualSense directly in Ryujinx or a Yuzu-based fork, start without additional virtual-controller drivers.
11. Troubleshooting Common Problems
The Emulator Does Not Detect the DualSense
- Confirm that Windows recognizes the controller.
- Test a USB data cable.
- Try another USB port.
- If using Bluetooth, remove the old pairing and reconnect.
- Check the selected input handler.
- Close other controller-mapping applications and restart the emulator.
Buttons Work but Gyro Does Not
- Confirm that the game uses motion controls.
- Check the emulator’s motion settings.
- Test USB instead of Bluetooth.
- Verify whether the selected handler supports the required motion input.
- Consider a compatible external motion provider only if native support is insufficient.
Motion Is Jittery
Check the available motion sensitivity, calibration, and smoothing settings. Test one change at a time.
If the problem occurs only over Bluetooth, compare with USB before changing other settings.
The Game Receives Two Inputs
Check whether both the physical controller and a virtual controller are visible to the emulator. Disable unnecessary mapping layers and test again.
Use HidHide only if you have confirmed that hiding the physical controller is necessary.
A Setting Mentioned in a Guide Is Missing
Your emulator may use a different version or fork. Consult the documentation for the exact build rather than installing extra software to recreate an option that is not available.
12. Which Setup Should You Use?
For most users, this order is the simplest:
First: Native controller support
Connect the DualSense, select it in the emulator, map the buttons, and test motion input.
Second: USB troubleshooting
If buttons work over Bluetooth but gyro does not, test USB before changing other settings.
Third: External motion provider
Use a compatible DSU setup only if the emulator and motion server support the same protocol.
Finally: HidHide or virtual-controller software
Add these only when your setup requires virtual output or you have confirmed duplicate input.
This approach avoids unnecessary software and makes it easier to identify the actual source of a controller problem.
Frequently Asked Questions
Can I use a PS5 controller with Ryujinx?
Yes. Ryujinx versions with compatible SDL controller support can recognize a DualSense. Motion support depends on the version, handler, connection, and game.
Can I use a DualSense with Yuzu?
Controller support depends on the build or fork you use. Select the DualSense in its controller settings and test the available motion options.
Do I need DSX for gyro aiming?
Not necessarily. Try the emulator’s native controller and motion support first. DSX should only be used for a feature or integration that your installed version actually supports.
Why does gyro work over USB but not Bluetooth?
Motion support can differ between connection methods and controller handlers. USB is a useful comparison when diagnosing wireless motion problems.
Does DS4Windows provide motion data to every emulator?
No. The emulator and controller utility must support compatible motion-data protocols and settings.
Are ViGEmBus and HidHide mandatory?
No. They serve different purposes and are not universal requirements for native DualSense input.