this post was submitted on 04 Feb 2026
7 points (100.0% liked)

Learn Programming

2076 readers
12 users here now

Posting Etiquette

  1. Ask the main part of your question in the title. This should be concise but informative.

  2. Provide everything up front. Don't make people fish for more details in the comments. Provide background information and examples.

  3. Be present for follow up questions. Don't ask for help and run away. Stick around to answer questions and provide more details.

  4. Ask about the problem you're trying to solve. Don't focus too much on debugging your exact solution, as you may be going down the wrong path. Include as much information as you can about what you ultimately are trying to achieve. See more on this here: https://xyproblem.info/

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
 

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

top 5 comments
sorted by: hot top controversial new old
[–] breadsmasher@lemmy.world 2 points 4 days ago* (last edited 4 days ago)

~~I know this doesn’t fully answer your exact question but have you considered this instead~~

~~https://github.com/microsoftconnect/GameInput~~

~~> GameInput is a functional superset of all legacy input APIs—XInput, DirectInput, Raw Input, Human Interface Device (HID), and WinRT APIs~~

I think OP is already talking about this API

[–] 6nk06@sh.itjust.works 1 points 4 days ago (1 children)

Which language, OS, or environment?

[–] ZILtoid1991@lemmy.world 1 points 4 days ago (1 children)

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

[–] 6nk06@sh.itjust.works 1 points 4 days ago (1 children)

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.world 1 points 4 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.