keepcalculator

06 Numbers and Powers

How to Use a Controller with Ryujinx Switch Emulation

Card No. 06·86245 · Updated · Standard formula, shown below

This guide walks you through connecting and configuring a controller for use with Ryujinx, the Nintendo Switch emulator for Windows and Linux. By the end, you’ll have your gamepad mapped and ready to play, whether it’s an official Switch Pro Controller, an Xbox pad, or a generic USB gamepad.

What You’ll Need

  • A PC that meets Ryujinx’s minimum requirements (Windows 10/11 64-bit or a recent Linux distribution).
  • Ryujinx installed and running. You can get it from the official website or via a package manager like Flatpak on Linux.
  • A controller that your operating system recognizes. This includes Xbox, PlayStation, Switch Pro, and most third-party USB or Bluetooth gamepads.
  • If using Bluetooth, make sure your PC has Bluetooth built-in or a dongle, and the controller is paired before starting Ryujinx.

Step-by-Step

  1. Connect your controller to your PC. For wired controllers, plug in the USB cable. For wireless, pair via Bluetooth in your OS settings (Windows: Settings > Bluetooth & devices; Linux: system settings). Make sure the controller shows as connected and recognized.
  2. Open Ryujinx. Launch the emulator. If it’s your first time, it will ask you to set up the firmware and keys — do that first if you haven’t already, as games won’t run without them.
  3. Go to Settings. In the top menu bar, click Options and then Settings (or press Ctrl+S). This opens the configuration window.
  4. Select the Input tab. On the left sidebar, click Input. This is where all controller configuration happens.
  5. Choose your controller type. Under Input Device, you’ll see a dropdown. Select your controller from the list. If it’s not there, try reconnecting or using a different USB port. For most Xbox and generic pads, it will appear as “XInput Controller 1” or similar.
  6. Set the input mode. In the Input Mode dropdown, choose Gamepad (or Controller). This tells Ryujinx to read analog stick and button inputs as a gamepad rather than keyboard.
  7. Map the buttons. Click the Configure button next to the controller image. A new window opens showing the Switch button layout. Click on each button (A, B, X, Y, L, R, etc.) and then press the corresponding button on your controller. Do this for all buttons, the D-pad, and both analog sticks (press them down for L3/R3).
  8. Test the mapping. After mapping, click OK to close the config window. In the main Settings window, you’ll see a live preview of the controller — move the sticks and press buttons to verify they register correctly.
  9. Save and launch a game. Click Save at the bottom of Settings. Now load a game (File > Open, or double-click a game in your library) and test the controller in-game.
  10. Adjust per-game settings if needed. Some games require motion controls (like the gyro in Zelda: Breath of the Wild). If your controller has a gyro (e.g., DualShock 4, Switch Pro), you can enable it in the Input settings under Motion. Otherwise, you can map motion to the right stick as a fallback.

Common Mistakes

  • Not selecting the right input device. If you have multiple controllers connected, Ryujinx might default to the wrong one. Always double-check the Input Device dropdown.
  • Skipping the button mapping. Even if your controller is recognized, the default mapping might be wrong. Always run the configuration step to ensure each button does what it should.
  • Using the wrong input mode. If you set Input Mode to Keyboard, your controller won’t work. Make sure it’s set to Gamepad.
  • Not pairing Bluetooth properly. On Windows, sometimes the controller shows as paired but not connected. Go to Bluetooth settings and click Connect on the controller.
  • Forgetting to save. After configuring, you must click Save in the Settings window, not just close it. Otherwise, changes are lost.

Tips

  • Use a wired connection for less latency. If you’re playing fast-paced games, a USB cable eliminates wireless lag and connection drops.
  • For Switch Pro Controller on Windows, use Steam’s controller support. If you have Steam installed, enable “Switch Pro Configuration” in Steam’s controller settings to get better compatibility, then configure Ryujinx to use it as a generic gamepad.
  • Map the capture button to something useful. The Switch’s capture button isn’t needed for emulation — map it to a quick-save or a screenshot key if you like.
  • Use the “Player 1” indicator. In the Input settings, there’s a number next to the controller. Make sure it’s set to 1 (or the correct player number for local multiplayer).
  • Calibrate analog sticks if they drift. In the controller config window, you can adjust dead zones. If your character moves on its own, increase the dead zone slightly.

Troubleshooting

Controller not detected at all: First, check if the controller works in other applications (like a game on Steam or a browser game). If not, reinstall the controller drivers. On Windows, go to Device Manager, find the controller under “Human Interface Devices” or “Xbox Peripherals,” right-click and select “Update driver.” On Linux, try a different USB port or re-pair Bluetooth.

Buttons are mapped but the game doesn’t respond: Make sure the game is actually running and not paused. Also, some games require you to press a button to “press start” on the title screen. If that doesn’t work, go back to Input settings and verify the mapping is saved.

Analog sticks work but buttons don’t: This usually means the controller is being read as a keyboard. Go to Input Mode and switch to Gamepad. If that doesn’t fix it, try a different USB port or restart Ryujinx.

Controller disconnects randomly: For Bluetooth, make sure the controller is fully charged. Also, move closer to the Bluetooth receiver. For wired, try a different cable — some cables are charge-only and don’t transmit data.

Gyro not working: Not all controllers have gyro. If yours does (e.g., DualShock 4, Switch Pro), ensure it’s enabled in the Input settings under Motion. Also, some games don’t use gyro at all, so test in a game that does (like Splatoon 2).

Controller works in menus but not in-game: This can happen if the game uses a different input API. Try changing the Input Mode to Controller (instead of Gamepad) and see if that helps. Also, check if the game has its own controller settings.

Frequently Asked Questions

Can I use a keyboard and mouse instead of a controller? Yes, Ryujinx supports keyboard and mouse, but many Switch games are designed for gamepads. You can map keyboard keys in the Input settings by choosing Keyboard as the input device.

Will my PS5 DualSense controller work? Yes, DualSense controllers work with Ryujinx. Connect via USB or Bluetooth, and it will appear as a generic gamepad. You’ll need to map the buttons manually.

Can I use multiple controllers for local multiplayer? Yes, Ryujinx supports up to 8 players. In the Input settings, you can configure each player’s controller by changing the player number at the top of the Input tab.

Why does my controller vibrate constantly? This is a known issue with some games and controllers. You can disable vibration in the Input settings by unchecking “Enable Rumble.”

Is there a way to use motion controls with a non-gyro controller? Yes, you can map motion to the right analog stick in the Input settings under Motion. It’s not as precise, but it works for games that require gyro.

Do I need to configure the controller for each game? No, the configuration is global. However, some games may have their own controller options that you can adjust in-game.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →