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

[System] GameInput on PC isn’t yet available. #11

Open
FLY1NGSQU1RR3L opened this issue Nov 13, 2021 · 11 comments
Open

[System] GameInput on PC isn’t yet available. #11

FLY1NGSQU1RR3L opened this issue Nov 13, 2021 · 11 comments
Assignees

Comments

@FLY1NGSQU1RR3L
Copy link
Member

The following APIs aren’t yet implemented in GameInput. They'll be available in a future update.

  • IGameInput::GetTemporalReading
  • IGameInput::RegisterReadingCallback
  • IGameInput::CreateAggregateDevice
  • IGameInputDevice::GetBatteryState
  • IGameInputDevice::PowerOff
@FLY1NGSQU1RR3L FLY1NGSQU1RR3L changed the title GameInput on PC isn’t yet available. [System] GameInput on PC isn’t yet available. Nov 13, 2021
@FLY1NGSQU1RR3L FLY1NGSQU1RR3L self-assigned this Mar 11, 2022
@FLY1NGSQU1RR3L
Copy link
Member Author

Current plan of record: June 2022 GDK will begin to release part or all of the interfaces required to support GameInput on PC w/ the GDK.

@DJm00n
Copy link

DJm00n commented Apr 13, 2022

Hi @FLY1NGSQU1RR3L!

Can you please clarify - whole GameInput is not available or just the listed methods?

@Devaniti
Copy link

@DJm00n whole GameInput is not available in public GDK yet.

@r2d2Proton
Copy link

I am available to implement this part of the code. I will work on right away and continue until it is completed, fully tested, and standby to make improvements as needed.

@DJm00n
Copy link

DJm00n commented Jul 7, 2022

Looks like GameInput is now included in recent Microsoft.GDK.PC.220600 10.0.22000.4362 package:

native\220600\GRDK\gamekit\Include\GameInput.h
native\220600\GRDK\gamekit\lib\amd64\GameInput.lib

More info here: https://github.com/microsoft/GDK/releases/tag/June_2022

@r2d2Proton
Copy link

I did run into a few of them myself. The raw stuff too - GetRawDeviceFeature, etc. More importantly though my USB Xbox controllers are not working. They do work in XInput and I would have expected the same in the latest GameInput API. Keyboard and mouse do work, USB Xbox 360 controller - no. That is bad code. Bade Code Review. Bad testing. Can you point me to a sample in the Windows-Driver-Sample that I can start from to create my own version of the interface?

@spencerparkin
Copy link

What's the licensing for GameInput? Can anyone write an application using it? Or do we have to wait until it's part of the windows SDK?

@DJm00n
Copy link

DJm00n commented Nov 9, 2023

@spencerparkin
Copy link

@DJm00n SIGH..................I'll have my lawyer read all that and make sense of it for me. Thanks.

@LordOfDragons
Copy link

Taking a quick look at the licensing there it seems this is not usable by an open source game engine. Can you please clarify if an open source project in general can legally safely use the public GDK as available on NuGet?

Furthermore I tried using the public GDK from NuGet (the one supposed to contain GameInput.h) but it is broken. I find GameInput.h in the packages directory but VisualStudio refuses to find the file when using "GameInput.h". Can you fix the NuGet package to properly adjust additional include path as other packages do (like the WinRT ones)?

@walbourn
Copy link
Member

The first package was a preview, so you should find the 2024 releases are functional.

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

7 participants