I need it to get low level access to some PlayStation Dualsense controller features, such as adaptive triggers and setting colors.

UPDATE: The function is missing from the VTables likely due to vibe coding, but I found a workaround. Opening the device’s pnpPath as a file will grant you evdev-like access to the device.

      • 6nk06@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        22 days ago

        Can’t you use something more modern in C#? COM is a billion years old and it’s the worst thing I’ve ever seen.

        • ZILtoid1991@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          22 days ago

          This is the newest input API for Windows. Apparently there’s some C# binding, but it’s still for the COM interfaces. Issue is, not everything is being documented in the official MS documentations.