Add Support for a Controller
Teach OJD a controller it does not know.
If your controller is missing from Supported Controllers, OJD can’t tell which button you pressed. You’ll make a controller record, a small file that works like a phrase book: in Terminal, with the controller connected, let OJD watch you press each control, fix its guesses, then install the file.
Before You Begin
Check Supported Controllers first. Then install OJD and connect the controller. See Start: Play a Game with a Controller. This page uses Terminal.
A record is a small file that describes what a controller sends. It works like a phrase book: it tells OJD what each message from the controller means, such as “byte 3 is the A button”.
flowchart LR
A[Draft: OJD watches you press each control] --> B[Fix: correct its guesses]
B --> C[Validate: check the file]
C --> D[Install: OJD uses it]
D --> E[Test: open Input Test]
Add a Record
- Run
ojd service start. - Run
ojd controller listto find the controller’s ID. See Finding Your Controller ID. - Run
ojd record draft CONTROLLER > record.plist. If the controller is in the SDL database, add--from-sdland skip the next step. - For the next 10 seconds, press every button and move every stick, trigger, and the D-pad. OJD watches what changes and writes a first guess of the record.
- Fix what the guess got wrong in
record.plist. See Draft a Record from a Connected Controller. - Run
ojd record validate record.plistto check the file. - Run
ojd record install record.plist. -
Click Controllers, select the controller, and click Open Input Test. Each press should light up the matching control.

Run ojd record list to see which records apply. Run ojd record remove VVVV:PPPP to remove yours.
Share the Result
Your record helps the next person with the same controller. See Reporting a Bug and Writing Controller Mods.