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.

you are viewing a single comment's thread
view the rest of the comments
[–] [S] 1 point 9 months ago (2 children)

It's part of the Windows GameInput API. It's C++/COM interface.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 9 months ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] [S] 1 point 9 months 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.

  • source
  • parent