Skip to content

GameInput dll version via interface #105

@tristam92

Description

@tristam92

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    gameinputRelated to GameInput API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions