Play a Game with a Controller
Install OpenJoystickDriver (OJD), connect a controller, and play.
Many Mac games understand only a few controller kinds. OJD drives a virtual gamepad, a pretend controller of one of those kinds, from your real one. You set this up once per controller. On macOS 13 or later, OJD then starts when you log in. It takes about five minutes.
- Your controllerXbox, PlayStation, Switch, or another USB or Bluetooth pad.
- OJDOpenJoystick
Driver reads the controller and applies your profile. - Virtual gamepadOne standard pad that macOS and games recognise.
- Your gamesSteam, emulators, and native Mac games.
Set Up Your Controller
- Open the disk image and drag OpenJoystickDriver.app onto Applications. Keep it in
/Applications. - Open OpenJoystickDriver from the Applications folder.
-
Click the menu-bar icon and choose Open OpenJoystickDriver.

-
Click Request… next to each permission (or Grant Access), then allow OpenJoystickDriver when macOS asks. One permission lets OJD read the controller, and the other lets it hand the controller to games.

- In the Access area, click Restart OpenJoystickDriver if it appears.
- Connect the controller by USB cable, Bluetooth, or dongle.
-
Click Controllers, select the controller, and click Open Input Test. Working under its name means OJD reads it.

- Press buttons and move the sticks. If nothing shows, see Controller Is Not Detected.
- Start the game. It reads the virtual gamepad as if it were your controller.
To check from Terminal, run ojd status and ojd controller list. See Command Line.
If the Game Shows No Input
Steam and SDL games work with the default virtual gamepad kind. Apps that use Apple’s own Game Controller support, such as Safari, need another kind. Pick it in the Controllers area:

Or use Terminal:
- Run
ojd controller listand copy your controller’s ID. - Run
ojd virtual set game-controller-compatible CONTROLLER.
To undo it, run ojd virtual reset CONTROLLER. Some games read neither. See Game and App Compatibility.