microsoft / microsoft/win32metadata

Coverage of GameInput API

Open
#2,104 1 comment 2 reactions 0 assignees View on GitHub
missing api
Dominant language
C++
Stars
1.5k
Forks
149
Avg merge
5d 16h
Merged PRs (30d)
4

Description

### Suggestion

Hello,
I am trying to use the GameInput API through `windows-rs`.
I enabled all the Gaming related features but the GameInput API seems to be incomplete. For example, the entire `IGameInput` Interface is missing or some other types relating to keyboard and mouse like `GameInputKeyboardInfo` or `GameInputMouseState` are also missing.

I tried generating the bindings myself from the header that comes with the GDK package but rust bindgen cannot process the "COM lite" or "nano-COM" style code and I don't know how to generate a proper `.winmd` file for it. Bindgen has no issues with the C-Style API of the other GDK classes but `GameInput.h` poses a problem.

Any pointers would be much appreciated.

Contributor guide

Open the contributing guide

Research direction

Start with the GDK GameInput.h header and compare its declarations with the GameInput API exposed through windows-rs. Investigate how the COM lite or nano-COM declarations could be represented in a .winmd, since bindgen cannot process them. Done means coverage includes IGameInput, GameInputKeyboardInfo, and GameInputMouseState.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, rust
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.