microsoft / microsoft/GDK

GameInput dll version via interface

Open
#105 2 comments 1 reaction 1 assignee View on GitHub

@AlexYatskov is already working on this.

Since Mar 23, 2026.

gameinput
Dominant language
No language data
Stars
1.7k
Forks
134
PR merge metrics
No merged PRs in 30d

Description

Hello,
Due to various amount of issues that can be found between lib versions, it would be really nice to have access to exact version of library/IGameInput object loaded upon CreateGameInput call.
It can benefit us (devs) in a way, so that we can ask end user to update library to avoid some issues, or notify our codev teams about potential issues, during development.

For example, release 2.1 contains issue background input handling, so in mine case for example our Editor can't handle inputs from controller, due to how composition of simulation window and editor works (basically simulation for lib looks like background process). Luckily issue been fixed in 2.2 release of GameInput lib.

However, as of right now there is no way, code can identify which version of dll was loaded (other than hacks), so my department has constant false positive issues about controller not working. It's nice that redist can be loaded with newer lib implementation with backward support, but at the same time it's a curse XD

I've seen that in latest nuget 2.2(https://nuget.info/packages/Microsoft.GameInput/2.2.26100.6110) at "native/lib/x64/GameInput.cpp" there was some example of hack, which allows to determine which lib version was loaded. But I'm not keen in a slightest to do that manually on our end, when it's basically already available on Lib side.

So is it possible to add this as a feature in next release?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.