Skip to content

Add support for the RetroFighters Defender Controller #282

Open

Description

@nefarius

Reminder. For reference.

Activity

  1. added
    enhancement
    Core
    on Mar 4, 2023
  2. self-assigned this
    on Mar 4, 2023
  3. changed the title [-]Add support for the RetroFighters Defender[/-] [+]Add support for the RetroFighters Defender Controller[/+] on Mar 4, 2023
  4. nefarius commented on May 26, 2024

    @nefarius
    OwnerAuthor

    Defender BT (2nd model)

    Wireless support was added in #364 and confirmed working (all features; input, LED and rumble).

    Currently it is only possible to get it working on PC via the following procedure:

    • Connect/pair the Defender BT to a PS3 once
    • Turn off and unplug both Defender and console
    • Spoof the PS3 MAC address on the Windows machine
    • The Defender will now connect to PC

    Problem with pairing on Windows is that the Defender is one of those "smart" controllers that detect which host they are connected to, so it switches to an X360 replica on USB on Windows, which blocks sending it the pairing packet. More R&D is required for this.

    Defender (OG, 1st model)

    To attempt to get USB to work #321 is required to be fixed first.

    Leaving the issue open until both models are covered to whatever level is technically possible.

  5. added this to the Version 3 milestone on May 26, 2024
  6. nefarius commented on Sep 6, 2026

    @nefarius
    OwnerAuthor

    Findings from real PS3-to-Defender-BT USB captures

    Analysed the CircumSpector/Research captures with local tshark. Full write-up with byte-level detail is now in docs/PS3_USB_STARTUP.md ("Retro Fighters Defender (Bluetooth Edition)" section).

    Defender Bluetooth Edition: the host-detection trick is a DS4 feature report

    2024-05-14_PS3-plugin-and-rumble.pcap shows the device on a real PS3:

    1. Enumerates as a DualShock 4 (054C:05C4, bcdDevice 0x0221, 467-byte report descriptor - a genuine DS4 is bcdDevice 0x0100 with a 483-byte descriptor, so the two are distinguishable without touching the controller).
    2. PS3 does SET_PROTOCOL, SET_IDLE, reads one input report, then sends SET_REPORT Feature 0x14, 17 bytes: 14 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00.
    3. The device stops answering interrupt IN, drops off the bus, and ~1 s later re-enumerates as a DualShock 3 (054C:0268, bcdUSB 1.10, bcdDevice 0x0100, 148-byte descriptor, EP1 IN + EP2 OUT).
    4. In DS3 mode it answers GET 0xF5 with its stored host MAC and accepts the normal DS3 startup (0xF4, EP0 output, interrupt OUT at ~16 ms).

    2024-05-14_DS4Rev1-on-PS3.pcap confirms the PS3 sends the exact same 0x14 report to a genuine DS4 every ~1 s for the whole session (the DS4 just ignores it), so replaying it from a Windows-side tool is harmless to real DS4 controllers.

    2024-05-04_Windows-PC-plugin-capture.pcapng shows Windows never sends 0x14; that's the only reason the device never enters DS3 mode on a PC. The DS4 mode is reachable on Windows by cycling modes (hold Home ~3 s, per the manual), and in DS4 mode the Defender BT is a plain hidusb device, so a user-mode HidD_SetFeature call can send the same probe.

    Once in DS3 mode, the existing USB\VID_054C&PID_0268 entry in driver/dshidmini.inf binds DsHidMini, and the #321 rework (DsUsb_Ds3PairAndVerify, SupportsBluetoothAddressReports) already handles the 0xF2/0xF5 pairing - so this removes the need for the PS3-first-pairing + MAC-spoofing workaround.

    Implemented in ControlApp (branch feat/282-defender-bt-ps3-mode-switch): a DefenderBtModeSwitcher that detects a Defender BT in DualShock 4 mode and replays the 0x14 probe via HidD_SetFeature, surfaced on the Devices page as a "Switch to PS3 mode" button (plus an opt-in "auto-switch on arrival" setting). No driver changes were needed.

    Defender OG (dongle): no DS3 mode is known to exist

    • 054C:0CDA is the PlayStation Classic controller identity (49-byte descriptor, one IN endpoint, digital only), not a DS3 emulation. The dongle's other modes - XInput (045E:028E) and generic ShanWan DirectInput (2563:0575, 137-byte descriptor with the 0x2621 PS3 "magic" feature) - already work on Windows without DsHidMini too.
    • Binding DsHidMini to 0CDA would misparse PS-Classic reports as DS3 reports, so it's intentionally not being added to dshidmini.inf.
    • Whether the OG dongle ever presents as 054C:0268 on a real PS3 (like the BT model does) is still unconfirmed. If anyone owns an OG (non-Bluetooth) Defender dongle and a real PS3, a USB capture of it powering up on the console (same recipe as the linked doc) would settle this - if it does expose a DS3 identity, the same mode-switch approach could be extended to it; if not, there's nothing further for DsHidMini to do here.
  7. added a commit that references this issue on Sep 6, 2026
  8. nefarius commented on Sep 11, 2026

    @nefarius
    OwnerAuthor

    The mode switch attempt for the v2 model (send special report, await device drop from bus and come back as DS3) on Windows does not work for me. The feature is still in there and refined a bit but not really doing anything. More RnD required, yay!

  9. guidin360 commented on Sep 24, 2026

    @guidin360

    hi @nefarius . Will this work with the Defender PRO? I have one so if testing/debugging is needed i'm in!

  10. nefarius commented on Sep 24, 2026

    @nefarius
    OwnerAuthor

    We will know once I have the time to investigate my own copy I just got today through ridiculously expensive customs payments 😒

  11. nefarius commented on Sep 24, 2026

    @nefarius
    OwnerAuthor
    Image
  12. thisislogos commented on Sep 25, 2026

    @thisislogos
    Image

    Wait I'm a little confused. Does this mean the Defender Pro could potentially be recognized as DS3? I've been using an official DS3 to get pressure sensitive buttons working for emulation. Would be nice to have the Defender Pro as a replacement

  13. nefarius commented on Sep 25, 2026

    @nefarius
    OwnerAuthor
    Image

    Wait I'm a little confused. Does this mean the Defender Pro could potentially be recognized as DS3? I've been using an official DS3 to get pressure sensitive buttons working for emulation. Would be nice to have the Defender Pro as a replacement

    Yes, that's the point of my research.

  14. nefarius commented on Oct 2, 2026

    @nefarius
    OwnerAuthor

    From my experimentation I think the best universal way for wired and wireless PC support of the Defender generations is via their wireless adapter on a compatible PS1/PS2-USB-Adapter.

    I purchased three different kinds of adapters that all look similar but perform vastly different. Still wondering how to best document this so ppl who wanna find the same hardware can do so.

    The best performing adapter is one that impersonates the wired DS3; you get pressure and rumble and roughly 700 Hz of stable input report refreshes.

    Then 2nd comes an adapter who's ID is know an ShanWan something something, it also supports pressure and rumble but only at a fixed 60 Hz.

    The I got a "Twin USB Joystick" adapter that doesn't work with the defender at all, I assume it is deliberately designed towards PS2 pads at max.

    Investing in native USB or Bluetooth support compatibility appears to not be worth it; some revisions only use their USB-C to charge, not data. The shipped USB dongle is fixed to present Xbox 360 compatible or generic DInput, neither are of interest to DSHM.

    Overall good progress, but since these adapters are all looking similar and have no fixed manufacturer and spoof HWIDs it will be a gamble for users around the world to acquire a working one.

  15. nefarius commented on Oct 2, 2026

    @nefarius
    OwnerAuthor

    The Haul

    Image
  16. RayThePounder commented on Oct 23, 2026

    @RayThePounder

    Hey, I contacted Retro Fighters customer support about this specific use-case for my Defender pro, and I got a lead!

    I asked specifically if there was a way to force DS3 mode while wired because I figured they must have had a way to do it for debugging purposes. Turns out I was right. They got back to me saying "press all face buttons and SELECT/START and L1/L2/R2/R1 when in wired mode."

    Now the first couple times I tried this it changed it to DS4 mode. However I must've been doing something wrong because About two hours ago I managed to get it to toggle to DS3 mode and DsHdiMini Control App recognized it! Only thing is that it appears that the small motor doesn't work in this mode, but everything else works! The D-pad and all the face buttons are pressure sensitive, the triggers and bumpers are pressure sensitive, and SixAxis is working as well!

    Here's some photos showing pressure sensitivity working:

    Image Image Image

    More research will need to be done on how to reliably activate this mode. I've been too afraid to disconnect the controller since I got it working.

  17. theroboben commented on Oct 26, 2026

    @theroboben

    @RayThePounder Thank you for sharing. Eager to use my $70 controller with MGS2HDFix, I have started aggresively testing this method and it looks like they passed along the wrong instructions...

    In wired mode, pressing all face buttons and L1/R1 reliably puts the controller into PS3 mode. haven't found a way to exit back

    In wired mode "face buttons and SELECT/START and L1/L2/R2/R1" switches it to PS4 mode.

    Also noticed when using the included USB wireless transceiver when the controller is set to dinput mode, (by pressing and holding start and select) DsHidMini can see it as a PS2 Controller over a ShanWan adapter

    EDIT: In turns out the described behavior is enabled by DsHidMini's flag for "Automatically switch Retro Fighters Defender BT to PS3 mode"

  18. guidin360 commented on Nov 2, 2026

    @guidin360

    @RayThePounder @theroboben maybe you have hints here. Mine just cycles between xbox 360 and retrofighter gamepad. ControlApp sees is as ps1/ps2 controller but no analog input.

    Image
  19. nefarius commented on Nov 2, 2026

    @nefarius
    OwnerAuthor

    IDK what it is but on my end the mode switches across all three models is pretty moody and sometimes wants to work, sometimes not. The most stable result I got (with pressure support) is using their wireless PS1/2 dongle via a compatible PS1/2 to USB Adapter instead of fiddling with the controller USB or Bluetooth directly.

  20. RayThePounder commented on Nov 3, 2026

    @RayThePounder

    @guidin360 Two things!

    1. The method of switching to DS3 mode that myself and @theroboben used only works in wired mode. If you are connecting wirelessly it won't work.
    2. It would probably help if you are on the latest firmware. The controller does not seem to come with the latest firmware.

    It's also rather difficult to do the input. I did it wrong a couple of times, verified by using software to monitor my inputs.

  21. guidin360 commented on Nov 3, 2026

    @guidin360

    thanks @RayThePounder . I am using wired and just upgraded to the latest firmware.. still no luck! Do you need to hold them for a few secs?
    i may start searching for adapters as @nefarius mentioned :(

  22. guidin360 commented on Nov 3, 2026

    @guidin360

    here are my findings. @nefarius if you want to debug something let me know:

    connect the controller via usb -> click reset button
    hold face buttons + L1 + R1.
    controller goes into DS4 mode. dsminihid asks me to set it to ds3. it works
    initially the input tester on controlapp will say it is disconnected. I open PCSX2 -> set the controller to SDL
    controlapp input tester detects it again.
    PCSX2 works just fine.

    @theroboben @RayThePounder thanks a lot for your help! please let me know if the DS4 to DS3 switch works for you too?

    Image
  23. nefarius commented on Nov 3, 2026

    @nefarius
    OwnerAuthor

    @guidin360 what exact Defender model are you using; there are now three of them.

  24. guidin360 commented on Nov 3, 2026

    @guidin360
    Image Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Coreenhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions