sodcalculator

10 Tech How-To

Using a Controller with Classic PC Games: Setup Guide

Guide 10-32147 · Updated · Step by step

This guide shows you how to configure a modern gamepad to work with older PC games that were designed for keyboard and mouse only. You’ll learn the essential tools, step-by-step mapping, and fixes for common issues, so you can enjoy your retro library from the couch.

What You’ll Need

  • A USB or Bluetooth gamepad (Xbox, PlayStation, or generic controller)
  • A Windows PC (the process differs slightly on macOS, covered in FAQs)
  • Steam installed (free) or a program like JoyToKey or x360ce for non-Steam games
  • The classic game installed and running at least once

Step-by-Step

  1. Connect your controller. Plug in a USB cable or pair via Bluetooth (Windows Settings > Devices > Add Bluetooth or other device). Wait for the notification that the device is ready.
  2. Check if Windows recognizes it. Open the Start menu, type “Game Controller” and hit Enter. Your controller should appear in the list. Click Properties and move the sticks/buttons to confirm inputs register. If nothing shows, try a different USB port or re-pair.
  3. For Steam games (easiest path): Open Steam, go to Settings > Controller > General Controller Settings. Enable the checkbox for your controller type (Xbox, PlayStation, Generic). Steam will download the proper drivers automatically.
  4. Add your classic game to Steam. Click “Add a Game” (bottom-left in Library) > “Add a Non-Steam Game” and select the game’s .exe file. This lets Steam overlay its controller configuration onto any game, even old ones.
  5. Open the Steam overlay in-game. Launch the game through Steam, then press Shift+Tab (or the Xbox button) to open the overlay. Click “Controller Configuration” or “Gamepad Settings.”
  6. Choose a template. Steam offers presets like “Gamepad with Mouse Trackpad” or “Keyboard (WASD) and Mouse.” For most classic games, pick “Gamepad with High Precision Mouse” or start from a blank template.
  7. Map the buttons. Click each controller button (A, B, X, Y, sticks, triggers) and assign a keyboard key or mouse action. For example: A = Space (jump), B = Ctrl (crouch), Right Stick = Mouse movement, Left Stick = WASD, Triggers = Left/Right mouse click.
  8. Adjust stick sensitivity. In the same configuration screen, click the left stick and set “Move Mouse” or “Joystick Move” with a sensitivity that feels right (start around 50% and tweak). For camera control, right stick should be set to “Mouse” with a moderate sensitivity.
  9. Save and test. Click “Save Layout” and give it a name. Return to the game and test every mapped action. Adjust any that feel unresponsive or too fast.
  10. For non-Steam games without Steam: Download JoyToKey (free) or x360ce (free). Run the program, and it will detect your controller. Assign keyboard keys to each button using the on-screen diagram. Keep the program running in the background while you play.
  11. For DOSBox games: If you’re playing a DOS classic, open your DOSBox configuration file (dosbox.conf). Find the [autoexec] section and add: mapperfile=mapper.map. Then run DOSBox, press Ctrl+F1 to open the key mapper, and assign joystick buttons to the keys the game expects (usually arrows and Ctrl/Alt). Save and exit.

Common Mistakes

  • Choosing the wrong template. “Gamepad with Mouse Trackpad” works poorly for games that need precise aiming. Start with a simple WASD+mouse template.
  • Forgetting to enable Steam’s controller support. Without step 3, Steam won’t see your controller and the overlay config won’t appear.
  • Mapping keys the game doesn’t use. Some old games ignore certain keys. Check the game’s manual or options menu for the actual key bindings before mapping.
  • Setting mouse sensitivity too high. Classic games often have no built-in sensitivity slider. Start low and increase gradually.
  • Using the wrong controller mode. Some controllers have a switch (X/D/I). Make sure it’s set to X (Xbox) mode for Windows compatibility.

Tips

  • Use the left stick for movement and the right stick for mouse look — this mirrors modern FPS controls and feels natural.
  • Map the D-pad to number keys (1-9) for quick weapon switching in games like Doom or Quake.
  • Create separate profiles for different games. What works for a strategy game won’t suit a platformer.
  • For games with heavy keyboard use (like RPGs), map the most frequent keys to the face buttons and keep the rest on the D-pad.
  • If the game supports it, enable “raw mouse input” in its settings for smoother camera control.
  • Test with a simple action first (like moving forward) before mapping everything, to verify the base connection works.

Troubleshooting

  • Controller not detected at all: Try a different USB cable (some are charge-only). For Bluetooth, remove the device from Windows and re-pair. Restart the PC and try again.
  • Steam overlay doesn’t open in the classic game: Some old games run in compatibility modes that block overlays. Right-click the game in Steam > Properties > Compatibility, try “Windows 7” or “Windows XP SP3” mode. Alternatively, use JoyToKey instead.
  • Inputs lag or are jumpy: Reduce the polling rate in your controller’s driver software if available. Also close background programs that might capture input (like recording software).
  • Game crashes when controller is plugged in: Some very old games have joystick support that conflicts. Unplug the controller before launching, then plug it in after the game loads.
  • Mouse movement feels inverted: In the Steam controller config, click the right stick and change “Invert Y” or “Invert X” depending on your preference.
  • Buttons work but sticks don’t: In Steam’s controller settings, click “Test” and see if the sticks register. If not, update your controller’s firmware via the manufacturer’s tool.

Frequently Asked Questions

Q: Will this work with any controller?
A: Yes, as long as Windows detects it as a gamepad. Generic USB controllers work with JoyToKey or x360ce; Xbox and PlayStation controllers work natively with Steam.

Q: Can I use this on a Mac?
A: Steam’s controller config works on macOS too, but JoyToKey doesn’t. Use the Steam overlay method for all games on Mac.

Q: The game only supports keyboard, but I want analog movement.
A: You can’t get true analog movement in a game that only reads digital keys. The left stick will act as a digital WASD, which is fine for most classics.

Q: How do I set up a second controller for local multiplayer?
A: Connect both controllers, then in Steam’s controller config, each player can have their own profile. For non-Steam games, JoyToKey supports multiple controllers; assign keys to each one separately.

Q: My game has built-in gamepad support but it’s terrible. Can I override it?
A: Yes. In Steam, disable the game’s native controller support (check its properties) and let Steam’s config handle it. For other games, use x360ce to emulate an Xbox controller and remap everything.

Q: Why does my controller work in menus but not in-game?
A: The game might switch input modes. Ensure the game window is focused (click on it). Some games pause controller input when the window loses focus. Also check if the game has an option to enable joystick in its settings.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →