Control the Mac with a Controller
Make controller buttons press keys, click, move the pointer, or scroll.
This helps from the couch, or in an app with no controller support. In the Profiles area, create a profile, a list that says “this button means that key”, then pick a key for each button.
flowchart LR
A[You press a button] --> B[OJD looks it up in your profile]
B -->|button south means Space| C[The Mac gets Space]
Before You Begin
Install OJD and connect the controller. See Start: Play a Game with a Controller. Allow Accessibility (Device Control and Data Access on macOS 27) by clicking its Permission Missing row in the menu-bar menu.
Make a Profile in the App
A profile holds what each control does.
-
Click Profiles, then New Profile.

- Enter a Profile name, choose your Controller and Target, and choose a Template such as Empty.
- Click Create, select the profile, and click Add Assignment.
- Click Listen for Control and press a button.
- Choose a Destination. For a key, click Capture Key and press it.
- Click Add Assignment, then Save, then Set Active.
Press the button. The Mac acts as if you pressed the key.
The toolbar above the profile list holds the other tools:

Make a Profile in Terminal
ojd profile create "My controller" --controller 045E:02FD
ojd binding set "My controller" button:south key:space
ojd profile activate "My controller"
Replace 045E:02FD with your controller’s ID from ojd controller list. Targets can also be mouse:BUTTON, move:x|y, and scroll:x|y.