Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include GameInput API in Win32Metadata? #1935

Open
smourier opened this issue Jun 24, 2024 · 5 comments
Open

Include GameInput API in Win32Metadata? #1935

smourier opened this issue Jun 24, 2024 · 5 comments

Comments

@smourier
Copy link

smourier commented Jun 24, 2024

Hi,

Unless I'm wrong, the official GameInput Microsoft API (https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/input/overviews/input-overview) is not included in Win32Metadata, would it be possible to include it? The linked nuget contains just one GameInput.h header file.

@riverar
Copy link
Collaborator

riverar commented Jun 25, 2024

Seems reasonable to me. I checked out the packaged lib and it points to GameInput.dll which ships with the OS. This should mean the NuGet headers are in sync with the OS implementation.

@smourier
Copy link
Author

smourier commented Jun 25, 2024

I'm not sure the nuget is in sync or will be forever as Microsoft more and more tends to create nugets or SDK to precisely decouple from Windows lifecycle releases (WinUI3, DirectX Agility SDK, etc.), however I do think it's still useful, even slightly decoupled.

In fact, speaking of these decoupled packages, they already are in Win32Metadata, I guess it's the same type of inclusion.

I thought I could do it myself but it seems a bit complex and may require design decision since it maybe a new namespace (partition?).

@mikebattista
Copy link
Contributor

That header is part of the GDK. The general recommendation is that the GDK team should publish their own metadata (for more than just GameInput) using our tooling like the WDK does.

DirectX Agility SDK is here because it overwrites existing headers in the SDK with newer versions. I don't think the GDK is the same. I don't see GameInput.h in the SDK headers for example.

@riverar
Copy link
Collaborator

riverar commented Jun 26, 2024

@mikebattista Can be found at 10.0.26100.0\um\GameInput.h. Seems new as of 10.0.26063.0 (which is a little strange to me).

@mikebattista
Copy link
Contributor

If it's new as of the new kit that we haven't updated to yet, it would be good to understand their strategy first before ingesting individual headers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants