PDModdingCommunity / PD-Loader

Loader for PDAFT. Click on Wiki or Releases, not Code.
139 stars 16 forks source link

DS4 via Wireless Adapter Support #10

Open My1 opened 1 year ago

My1 commented 1 year ago

so in This file there are several IDs for different PS-Type controllers from DS4 first gen up to DS5 into several other offerings. one thing that is missing tho, is the DS4 Wireless Adapter from Sony.

While I am not quite sure how the GUIDs work, it looks like everything but the first 4 bytes are static, with those 4 bytes being the product ID followed by the vendor ID.

The DS4 Wireless Adapter has the IDs 054c as Vendor and 0ba0 as Product: https://pcilookup.com/?ven=054c&dev=0ba0&action=submit

so I would assume the lines to add would be something like this:

        // Wireless Adapter: {0BA0054C-0000-0000-0000-504944564944}
        { 0x0BA0054C, 0x0000, 0x0000, { 0x00, 0x00, 0x50, 0x49, 0x44, 0x56, 0x49, 0x44 } },