6

According to Microsoft documentations, I'd need to use nuget to load the GameInput library. Issue is that I'm only using the MSVC linker, not the whole MS toolchain, especially as my language of choice is D.

(I can also accept other alternatives to load the GameInputCreate function.)

top 3 comments
sorted by: hot top new old
[-] sleep_deprived@lemmy.dbzer0.com 3 points 2 months ago

From my knowledge, you can either use the nuget CLI (which is just a portable exe you can download) and do nuget install Microsoft.GameInput to download and extract the package into the cwd, or download the package directly from https://www.nuget.org/packages/Microsoft.GameInput (.nupkg files are just zips). Inside should be everything you need, .libs and headers and such.

[-] ZILtoid1991@lemmy.world 1 points 2 months ago

Well, it seems to that all I needed is to load the GameInput.dll, then I have the library to use, except I messed up the VTables, so I have to fix that first.

[-] ZILtoid1991@lemmy.world 1 points 2 months ago

Update: Now I need to use GameInputRedist.dll instead, but kept the GameInput.dll parts there just in case if I ever port to Xbox.

this post was submitted on 11 Nov 2025
6 points (100.0% liked)

Learn Programming

2064 readers
8 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