Repository navigation
Releases
Releases · OpenJoystickDriver/OpenJoystickDriver
OpenJoystickDriver 0.6.0
Immutable
release. Only release title and notes can be modified.
Added
- The virtual gamepad kind
DualSenseCompatible(ojd virtual set dual-sense-compatible CONTROLLER; "For DualSense games" in the Controllers detail) publishes the DualSense identity (054C:0CE6) over its USB reports (#72). It carries the touchpad click and the microphone mute button next to the DualShock 4's controls, sends a game's rumble report to the physical controller, and sets the lightbar color. OJD never picks it automatically. It carries no touch, motion, or adaptive trigger data. - A controller model's settings can be kept per USB port instead of per model, for two identical controllers that share a VID:PID, such as two 2.4 GHz dongles. The Keep Settings choice in the Controllers detail and
ojd controller settings-scope CONTROLLER [model|port]store the model in the newperPortControllerslist ofSettings.plist. Per model stays the default and changes nothing for existing files. Per USB port keys on the unit ID, so swapping two controllers between ports swaps their settings, and a controller with no USB port stays per model. For a model kept per port, a virtual gamepad kind choice applies to the selected controller only, asojd virtual set --unitdoes, and a profile made in the New Profile sheet or byojd profile createfor a connected controller is for that controller's unit. Profiles for the whole model stay as the fallback. - The tuning key
usbInputPollIntervalMicroseconds(125 to 1000000) sets the period the host polls a raw-USB controller's input endpoint with, by adjusting the host'sIOUSBHostPipebefore the first read (#79). OJD reads the device speed from the registry and converts the period: whole milliseconds, at least 1, at full and low speed, and the largest 125 µs × 2^(n - 1) not above the request at high speed and above, so only high-speed devices reach 8000 Hz. It applies toXboxGIP,XboxXID,XboxXUSBandVendorGameSirUSB controllers; stick-only input still dispatches at most every 4 ms. It does not reach a DualSense or the Rocket Force X, which macOS serves through HID. Untested on hardware. - The tuning key
stickAntiDeadzone(above 0, below 1) offsets the deadzone a host applies to the virtual gamepad's sticks. Apple's GameController framework, which browsers and native macOS games read, applies 0.24 to the left and 0.265 to the right stick of the Xbox virtual gamepads and about 0.125 to the DualShock 4 one, and Windows games under XInput apply 0.24 and 0.27, so a controller with no record deadzone felt a deadzone of about 0.20 to 0.25. With valuea, a moved stick of radiusrreportsa + (1 - a) * ralong the same direction, a centered stick stays centered, and remapped sticks take it too. Absent, nothing changes. 0.24 suits the Xbox virtual gamepads and 0.12 the DualShock 4 one:ojd config set stickAntiDeadzone 0.24 --controller VVVV:PPPP, or the Stick Anti-Deadzone stepper in the controller detail. - Per-app launch settings for
ojd virtual launch(#63). A setting holds the SDL GameController backend flag, environment variables, and arguments, keyed by the bundle identifier of the nearest enclosing.appor by the absolute path of a program outside one, so Steam's%command%and the.appreach the same setting.ojd virtual launch-setting list|show|set|removemanages them with human,--json, and--plainoutput, andojd virtual launch --no-launch-settingsignores the stored setting for one run. The Controllers page has a launch settings section with Add App..., Edit..., Remove, and Copy Steam Launch Option, which copies"PATH-OF-OJD" virtual launch -- %command%for Steam's launch options, with the full path of theojdlink in/usr/local/bin,/opt/homebrew/binor~/.local/bin. The Launch button applies the stored settings too. Settings live inSettings.plist, which the app and the command line share. A test app started the way Steam starts a game got the stored variables, hints and arguments; a game started from Steam is untested. See Launch Settings per App. ojd controller send CONTROLLER BYTES [--feature] [--report-id N] [--usb-endpoint N]writes raw bytes to a controller as a HID output report, a HID feature report, or a USB interrupt OUT packet, so a controller-mod author can try a report without the edit, reinstall andojd controller rumbleloop. It is untested on hardware.- The
InControlCompatiblevirtual gamepad kind ("For older Unity games") poses as a DualShock 4 v2 (054C:09CC) over USB, so Apple's GameController framework binds it as a DualShock 4 and older Unity games that use InControl, such as Hollow Knight, Hollow Knight: Silksong and Katana ZERO, send rumble (#72). Choose it withojd virtual set in-control-compatible CONTROLLERor the virtual gamepad picker; automatic selection never picks it. Its report descriptor, firmware report and at-rest input report are those a genuine DualShock 4 v2 sends over USB. It answers the DualShock 4 calibration, pairing, MAC address and firmware feature reports, carries no touchpad, touch or motion, and shows PlayStation button names. An SDL mapping trigger reads its axis when the kind also sets a trigger button. Rumble that a game, CrossOver or Identify in System Settings sends to it reaches the physical controller and runs until the next rumble report, at most 5 seconds. A tester's Logitech F710 played Hollow Knight with it, and its Home button opens the Game Overlay. While the state holds still, it sends its input report every 4 ms, and each report advances the 6-bit counter and the timestamp, as a genuine controller does over USB. Wine and CrossOver pass a DualShock 4 to a Windows game as raw HID, so games such as God of War and It Takes Two read those fields themselves. The report stream is untested on hardware. - The Wii U GameCube adapter (
057E:0337) works with theNintendoGameCubeAdapterprotocol. OJD shows one controller for each of its four ports. Each port has its own port key, analog triggers, and rumble when the gray cable is plugged in. No one has tested it on hardware yet. - The ZD O+ Excellence works over USB with no user files. Its Switch-mode identity
057E:2009at bcdDevice0x0020is held with nothing sent, so it re-enumerates as11C0:5505, which has a bundledXboxXUSBwired record. Other057E:2009pads keep the Switch protocol. - A record mode chosen without probes may state
server, which overrides the record'sserverwhile that mode runs. A raw-USB record (XboxGIP,XboxXUSB, aVendorGameSirUSB variant) may stateservertoo; it applies only to a HID device the record fits no interface of, which theHIDDescriptorfallback serves. Before, such a raw-USB record was refused with E5007. TheidlereasonAwaitsReenumerationnames a pad that changes identity when nothing greets it: its mode statesserver: OJD, and OJD holds the HID claim and sends nothing. The Controllers page andojdreport the reasonAwaitsReenumeration. - A
HIDDescriptorrecord may holdsession.playerIndicator, the HID report and per-slot values that light a controller's player LEDs while macOS serves it. The record for the Bluetooth SteelSeries Nimbus0111:1420names it, soojd controller player 0111:1420 1sends the player-1 report instead of failing withE2013. Players 1 and 2 were checked on hardware over Bluetooth. - A rumble template (
session.rumble) may namefollowUp, 1 to 4 whole reports sent after each report that runs a motor, andstop, the report sent in place of the template when every motor is off. A patch can give the DragonRise0079:0006theFA FEcommit andF3 00stop reports that Linuxhid-dr.csends. E5007 names a follow-up or stop report that doesn't match the report length or its report ID. No one has felt it on hardware yet. - Agent skills help an AI coding agent diagnose a controller, write a patch or record, add rumble, generate documents, and package a mod with
ojd. Theskillsfolder holds them in the Agent Skills format for any agent, such as GitHub Copilot. Claude Code installs them with/plugin install openjoystickdriver --marketplace OpenJoystickDriver/OpenJoystickDriver, and Codex withcodex plugin marketplace add OpenJoystickDriver/OpenJoystickDriver.just release-bump-versionsets each plugin's version to the app version. See Using Agent Skills. - The Controllers detail in Simple mode says how many hidden settings hold a value other than their default, with a button that shows all controls, as the profile editor does.
ojdpaints theerror[E…]:label of an error line bold red, asswiftandclangpainterror:, when standard error is a terminal that takes color;--no-color,NO_COLORandTERM=dumbturn it off. Status output stays plain, as Apple's command-line tools keep theirs.
Changed
- BREAKING: a USB controller that another program holds, such as Steam (reason
DeviceInUse), is a held controller instead of an unsupported device.ojd controller listlists it with sessionHeld,ownedByAnotherClient, itsowner, and noprotocol; itsidisVVVV:PPPP.ojd statuscounts it under Controllers withheldandowner, and no longer lists it inunboundDevices. The Controllers list names the holder. Both print the hint to close that program or reconnect the controller.ojd diagnosestill reports the reason. - A controller that keeps its USB port or Bluetooth LE peripheral keeps its virtual gamepad for 5 seconds after it unplugs, sending a neutral report meanwhile. The same controller returning in that time publishes through the same virtual gamepad, so a game such as RSDKv5U keeps the player binding (#63). After 5 seconds, on quit, or for a controller with no stable port, the virtual gamepad is removed. A different gamepad kind chosen meanwhile replaces it when the controller returns.
- The release and tester DMGs are 16.6 MB...
OpenJoystickDriver 0.6.0-alpha.3
What's Changed
8BitDo Ultimate 2C Wireless
- Rumble works over the 2.4 GHz receiver and the USB cable when the pad is in XInput mode.
- Over Bluetooth LE, every control decodes correctly except the two rear buttons.
- The receiver in DInput mode lists no controller while no pad is linked, and serves the pad once it is linked.
- The Controllers list titles a device OJD does not serve with its product name, such as
8BitDo Ultimate 2C Wireless Controller. A receiver with no pad linked readsWireless receiver. - The 8BitDo bootloader identities
2DC8:3208and2DC8:5750are sent no data.
Other controllers
- Flydigi Vader 4 Pro over Bluetooth in XInput mode: the sticks use their full range and Home registers.
- Flydigi Vader 4 Pro dongle: rumble is on.
- Flydigi Vader 5S: the USB startup steps run in the order the controller needs.
- Xbox 360 wireless receivers (
045E:02A9,045E:0719): input is decoded, and empty receiver slots do not show as controllers. - Xbox One (GIP) pads that send the Xbox button with another key code, such as the PowerA Enhanced Wired (
20D6:2028): the Xbox button registers. - Xbox Elite Series 1 (
045E:02E3): OJD uses the right USB endpoints. - Razer Wolverine V3 Tournament Edition (
1532:0A43): OJD uses the right USB endpoints. - PowerA XBX Spectra Enhanced Wired (
20D6:4002) and Turtle Beach Rematch Advanced Wired (10F5:711E) have records. - Thrustmaster Ferrari 458 Spider wheel (
044F:B671): steering and brake are read. - GameSir G7 SE on firmware 6.6.4 (
3537:1082): LT reads as Left Trigger. OJD reads the layout from the pad's report descriptor. - GameSir G7 Pro dongle (
3537:1022): OJD can read the dongle's HID gamepad interface.
Several of these come from reporters' captures and were not checked on the maintainer's hardware: the Vader 4 Pro records, the Vader 5S startup, the Xbox 360 receiver in the app, the Elite Series 1, the PowerA Enhanced Wired Xbox button and the G7 Pro dongle.
USB driver extension
- OJD asks for the Xbox USB driver extension only after you act.
- Xbox controllers that no driver owns are served over direct USB.
- The banner shows only while a connected controller needs the extension. It shows progress and the result of each request.
- Models that macOS serves are listed as served by macOS, with a Claim button.
- A controller that has sent no input yet shows "Waiting for the first input...".
- A USB start that keeps failing stops after five tries.
Old files and profiles
ojd migrateconverts files from earlier alphas to the current format and keeps each original inMigrated/.- The service migrates your files when it starts.
- Every screen that reports
E5001offers a Migrate button. - A profile can name several apps. You choose them from a list of running and installed apps.
- Status shows the profile in force and the app that selected it.
Menu bar and window
- The menu bar menu has one row per controller, with its battery and profile.
- Each problem has its own row at the top, and the row opens the fix.
- The menu bar icon changes while a problem exists.
- You can drag the menu bar item out with Command.
- Every toolbar action has a menu command, and Edit has Find.
- Settings controls that cannot change say why.
- A failed request shows its reason beside the control that sent it.
- Input Test applies the player indicator when you choose it.
Add support for your own controller
- A patch, a record or a generator script adds a controller without a source change.
ojd generateruns a JavaScript file and writes the documents it returns.ojd record draftdrafts a record for a connected controller that OJD does not serve.ojd protocol validate,installandlistmanage documented protocol families.- Shortcuts and the local endpoint can set a profile value, rumble a controller and read the mod list.
just build-devandjust install-devbuild the app without Xcode, with the Command Line Tools and a swift.org toolchain. That build has no Xbox USB driver and no Shortcuts actions.
Changes that need your attention
- Stored documents are XML property lists (
.plist) with the versionopenjoystickdriver/v1alpha3. Runojd migrateif the app reportsE5001. - A profile uses
appIDs, a list, in place ofappID. idleis a key of a mode and names its reason.- A patch deletes a key through a
removelist. - OJD is licensed under MPL-2.0.
Known limitations
- Bluetooth LE rumble cannot work on macOS because the 8BitDo Ultimate 2C has no GATT characteristic for its output report.
- Over Bluetooth LE, OJD leaves the 8BitDo Ultimate 2C to macOS, and macOS lists no controller for it, so games see none until you run
ojd controller claim 2DC8:301B. - On the receiver in DInput mode, the 8BitDo Ultimate 2C has no rumble and its controls have no names.
- The rear buttons of the 8BitDo Ultimate 2C have no bit of their own on the receiver in XInput mode.
- The 8BitDo Ultimate 2C battery level reads zero over Bluetooth LE.
Solved Issues
Fixes #34
Fixes #41
Fixes #14
Fixes #62
Fixes #18
Fixes #48
Closes #39
Closes #47
Closes #50
Closes #54
Closes #56
Closes #57
Closes #64
Partly addressed
- #9, Xbox 360 wireless receiver: decoding and empty-slot hiding are tested with the captured packets. Input through the app on a receiver is not checked.
- #35, Flydigi Vader 4 Pro: Bluetooth XInput mode and dongle rumble are done. The dongle in DInput mode (
04B4:2412) reads the vendor report 4 with the back paddles and rumble on report 5, from the Flydigi Apex 4 record. It waits for a run on a Vader 4 Pro. - #53, PowerA Enhanced Wired (
20D6:2028): the Xbox button is read from any virtual-key frame, as Linux xpad reads it. It waits for a run on the controller. - #55, Xbox Elite Series 1 (
045E:02E3): the endpoints from #56 are in. They wait for a run on the controller. - #37, Flydigi Vader 4 Pro dongle in XInput mode: the fix is decided and not built.
- #58, Thrustmaster Ferrari 458 Spider: steering and brake are read. The clutch, the other buttons and the turn to the right need captures.
- #59, 8BitDo Ultimate C Wired for Xbox (
2DC8:2027): the startup sequence is compared with the Linux capture, and a pad that sends nothing says so. The pad has no record, and the Ultimate Mini is not covered. - #63, GameSir G7 Pro dongle: the HID gamepad interface is read. Its controls have no names until a capture through the dongle.
Contributors
- @xsyetopz
- @bdidier: Xbox 360 wireless receiver work (#54, #64)
- @konnsim: Xbox Elite Series 1 endpoints (#56, #55)
- @multision: Razer Wolverine V3 Tournament Edition endpoints (#39)
- @phil-bbs: Turtle Beach Rematch Advanced record (#57)
- @Anonim0Venezian0: PowerA Spectra record (#50)
- @fmilioni, @manupernas, @feelyourwarmth, @ductrsan-sys: 8BitDo Ultimate 2C reports, patches and captures (#34, #41)
- @nightmare2122: Linux capture of the 8BitDo Ultimate C Wired (#59)
- @lzpfmh, @jonasw8, @Presum0: Xbox 360 wireless receiver captures and reports (#9)
- @nabekhan: Xbox 360 receiver bridge used as a reference (#9)
- @scraton: Flydigi Vader 4 Pro captures (#35, #37, #36)
- @deniskabana: Ferrari 458 Spider packets (#58)
- @dnfanjos: GameSir G7 Pro dongle report (#63)
- @cooltune: Xbox One controller report (#18)
- @eduardopuente: Xbox One 1537 wired run (#18)
- @mattallty: GameSir K1 / G7 SE mapping (#47)
- @AliAnam71: Logitech F710 run (#48)
- @cbandras: Razer Wolverine V3 Tournament Edition request (#14)
- @ElAscendido: PowerA Spectra report (#62)
New Contributors
- @bdidier made their first contribution in #54
- @konnsim made their first contribution in #56
- @multision made their first contribution in <https...
OpenJoystickDriver 0.6.0-alpha.2
What's Changed
- docs: record the Xbox Nano Controller test over Bluetooth by @claudiopostinghel in #60
- Fix Flydigi Vader 5S USB GIP initialization by @Taichougio in #40
Solved Issues
- ROG Raikiri Pro (0B05:1ABB): detected as Xbox One GIP but no input packets received, reported and tested by @GavinYouth in #45
New Contributors
- @claudiopostinghel made their first contribution in #60
- @Taichougio made their first contribution in #40
Full Changelog: 0.6.0-alpha.1...0.6.0-alpha.2
OpenJoystickDriver 0.6.0-alpha.1
OpenJoystickDriver 0.5.0-beta.4
What's Changed
- Fix Xbox 360 wired button bits and Rock Candy endpoints by @elijahtheprophet24 in #24
- feat(controllers): add Flydigi Vader 4 Pro Bluetooth support by @scraton in #30
- WR-007 (11c1:5600): HID mapping and Apple GameController tester build by @arthurknowles34-a11y in #31
- Wired SCUF Envision Pro (2E95:434D): tested HID discovery/mapping patch and signed build request by @zoltanerdelyic1 in #33
New Contributors
- @elijahtheprophet24 made their first contribution in #24
- @scraton made their first contribution in #30
- @arthurknowles34-a11y made their first contribution in #31
- @zoltanerdelyic1 made their first contribution in #33
Full Changelog: 0.5.0-beta.3...0.5.0-beta.4
OpenJoystickDriver 0.5.0-beta.3
What's Changed
- fix(driverkit): emit a kext-legal CFBundleVersion for the dext by @cooltune in #26
- Add verified PDP Xbox 360 controller 0e6f:0401 support by @ankitpipalia in #27
New Contributors
- @ankitpipalia made their first contribution in #27
Full Changelog: 0.5.0-beta.2...0.5.0-beta.3
OpenJoystickDriver 0.5.0-beta.2
OpenJoystickDriver 0.5.0-beta.1
What's Changed
- Add Flydigi Vader 5S support with per-device endpoint config by @danilowanner in #1
- chore(deps): bump softprops/action-gh-release from 2 to 3 by @dependabot[bot] in #4
- Prepare 0.2.0 release packaging by @xsyetopz in #6
- build(deps): bump actions/checkout from 6 to 7 by @dependabot[bot] in #13
- Fix Logitech F310 OUT endpoint (1 -> 2) by @m-melaku in #16
- fix(controllers): send GIP rumble frames without the internal option flag by @cooltune in #20
New Contributors
- @danilowanner made their first contribution in #1
- @dependabot[bot] made their first contribution in #4
- @xsyetopz made their first contribution in #6
- @m-melaku made their first contribution in #16
- @cooltune made their first contribution in #20
Full Changelog: https://github.com/xsyetopz/OpenJoystickDriver/commits/0.5.0-beta.1