You can use a controller with many classic PC games, but the right setup depends on how the game accepts input. If it supports a joystick, configure DOSBox to present the controller as one and calibrate it. If the game only accepts keyboard input, map controller buttons and directions to the keys the game already uses.
First, find out how the game handles input
Check the game’s manual, options menu, or setup program for joystick or controller settings. That determines which of two approaches to use:
- Native joystick support: Enable the joystick option in the game, then configure DOSBox to emulate a joystick.
- Keyboard-only controls: Leave the game configured for keyboard input and map controller buttons and directions to the game’s keyboard keys.
These routes are not interchangeable. Making a controller visible as a joystick will not help if the game only reads keyboard input.
Use DOSBox joystick emulation for games with joystick support
DOSBox v0.74-3 uses the joysticktype setting in its [joystick] configuration section to choose how joystick input is presented to the DOS game. The manual lists none, auto, 2axis, 4axis, and second-controller variants. In that manual, auto is the default; it chooses an emulated mode based on whether one or two controllers are detected. These modes do not guarantee that a particular game supports every axis or button. See the DOSBox v0.74-3 manual.
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →#1 Best Overall
- Spacious Design: Measuring 21.1" wide and 14.1" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
- Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy ergonomic support with the integrated cushioned wrist rest.
- Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
- Durable Surface: Work with confidence on our lap desk's solid surface, featuring a sleek black carbon color, ensuring optimal air circulation to prevent your laptop from overheating.
- On-the-Go Convenience: With an integrated handle and lightweight design (2.8 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.
If the game offers joystick settings, enable them there too. DOSBox’s manual recommends calibrating in both the operating system and the game or its setup program when available. Calibration helps the game interpret the controller’s range and center position.
Troubleshoot joystick problems
- Check that the operating system detects the controller before launching the game.
- Run the game’s own joystick calibration routine, if it has one.
- If a game still has joystick issues, DOSBox’s manual suggests trying
timed=false. Treat it as a troubleshooting option, not a setting that fixes every game.
Map the controller to keyboard keys for keyboard-only games
DOSBox’s mapper lets you bind controller events to keyboard events. Open it with Ctrl+F1, or start DOSBox with the -startmapper argument. The mapper displays virtual keyboard and joystick controls; choose a keyboard action and bind it to the matching controller direction or button. The DOSBox Wiki mapper guide describes the binding approach.
Rank #2
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
- Find the keys the game uses for movement and actions in its controls menu or manual.
- Open the DOSBox mapper and select the virtual keyboard key for an action, such as an arrow key.
- Add a binding, then press the controller direction or button you want to use for that action.
- Repeat for the other keys you need, then test the controls in the game.
DOSBox Staging also provides a key mapper for assigning gamepad buttons to keyboard actions. Its documentation says to open it with Ctrl+F1 on Windows or Linux, or Cmd+F1 on macOS. For this route, configure the game to use keyboard-only controls, then bind the controller to those keys. See the DOSBox Staging controls guide.
A game-specific example is GOG’s Mortal Kombat 2 support guide: it describes selecting a keyboard control such as the Up Arrow, adding a binding, and pressing the controller input to assign it. The menus and steps apply to that game’s packaged environment, so use the guide as an illustration of the method rather than a universal sequence: GOG’s Mortal Kombat 2 controller guide.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallRank #3
- Note: Not suitable for MacBooks released after 2023 or devices with a protruding front camera; Not applicable to full-screen or notch-style tempered glass screen protectors; Do not use on the rear camera of the phone.
- 💻 Why Do You Need a Webcam Cover Slide? — Safeguard your privacy by covering your webcam with our reliable webcam cover when not in use. Don't let anyone secretly watch you. Stay protected!
- ✅ Thin & Stylish — Enhance your laptop's functionality and aesthetics with our 0.027" ultra-thin webcam covers. Seamlessly close your laptop while adding a touch of sophistication.
- ✅ Fits Most Devices — Compatible with laptops, phones, tablets, desktops! Keep your privacy intact on Ap/ple, Mac/Book, iPh/one, iP/ad, H/P, L/novo, De/ll, Ac/er, As/us, Sa/msung devices.
- ✅ 365 Days Protection — Our upgraded 3.0 adhesive ensures a strong hold that won't damage your equipment. Experience reliable, long-term privacy protection day in and day out.
What to expect from a USB controller
A wired USB gamepad is a reasonable device to try because DOSBox Staging 0.83 documents automatic detection of modern USB controllers and mapping them to the emulated analog joystick. That does not ensure every game, DOSBox version, or launch setup will work with every controller. If the game lacks joystick support, use keyboard mapping instead. See the DOSBox Staging joystick documentation.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.If you launch the game through Steam
Steam Input can add another controller-configuration layer, but the chosen input style must suit what the game and its DOSBox wrapper receive. Valve warns that a configuration may not work if the game does not support the selected input style; consult Steam Support’s controller configuration guidance.
Rank #4
- Anti-Slip Surface - Transform your laptop into a mobile workstation with the AboveTEK portable laptop lap desk. The anti-slip surface provides a strong grip for laptops up to 15.6 inches(Diagonal), while the double rubber strip on the bottom ensures a stable display or typing experience on your lap, couch, or bed.
- Retractable Mouse Pad - Retractable laptop mouse pad extends on both directions for the left/right handed with elevation along the edges for stopping mouse from falling off. The size of laptop tray is 14" X 9.7" and the size of mouse pad is 7.4" X 6.1".
- Effective Heat Shield - The effective heat shield made of sturdy and thick material protects your laptop from overheating. Prioritizes your comfort and safety, an ideal lap pad or board for working anywhere.
- EASY to Carry and Store - With an ergonomic and simplistic design, the lap desk is portable to store in a backpack. Only 15" in size, 2.2 lb of weight and with slim 0.6 inch thickness, it is ready to be easily carried around.
- Widely Applicable - The smooth platform accommodates laptops and tablets up to 15.6 inches(Diagonal), making it a versatile accessory and one of the best gifts for mom, dad, students and professionals. Perfect for use as a laptop bed tray or tablet holder anywhere at home, library, or park.
On Windows, Steamworks documents that the Steam overlay hooks traditional gamepad APIs—including XInput, DirectInput, RawInput, and Windows.Gaming.Input—and injects an emulated Xbox controller device. That behavior does not by itself establish which input mode a particular game or DOSBox wrapper will handle. See Steamworks controller documentation.
Quick Recap
Best Value
- Spacious Design: Measuring 21.1" wide and 12" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
- Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy laptop support with the integrated device ledge.
- Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
- Durable Surface: Work with confidence on our lap desk's solid surface, featuring a blush pink color, ensuring optimal air circulation to prevent your laptop from overheating.
- On-the-Go Convenience: With an integrated handle and lightweight design (2.14 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.
Choose the setup route that matches the game
| Setup route | Use it when | What to configure | Likely adjustment |
|---|---|---|---|
| DOSBox joystick emulation | The game has native joystick settings | Set DOSBox’s joysticktype as needed and enable joystick input in the game |
Calibrate in the operating system and game or setup program |
| DOSBox mapper | The game accepts keyboard input but not joystick input | Bind controller inputs to the game’s existing keyboard controls | Check each binding in the game |
| Steam Input | You launch through Steam and need its configuration layer | Choose an input style the game and its DOSBox wrapper can receive | Change the configuration if the game does not support that style |
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

