-
Notifications
You must be signed in to change notification settings - Fork 693
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
Windows.Gaming.Input only detect devices as RawGameControllers #9169
Comments
I think reading the documentation is in order here. "This list is initially empty and will not list gamepads even if they are already connected. After a short period this will return a complete list of gamepads." in the Remarks section. This essentially means that you should use Gamepad.Gamepads or the other similar properties as early as you can in your application to start populating the lists. This means that by the time you want to use them, the lists will be populated. |
Thanks for your answer. This is the same for RawGameController as you can see in MS documentation. But this not work for GamePad, Joystick and RacingWheel. |
It does work. This is with an XBox Series controller though. The documentation does state that runtime classes like GamePad needs an XBox One/XBox 360 certified controller. I wonder if that basically means that it needs an XInput driver. --Edit-- --Edit 2-- |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment. |
Describe the bug
When try to get Joystick or racing wheels with Windows.Gaming.Input all the devices are only recognized at RawGameControllers.
Joystick = Virpil controls
Racing wheels = Fanatec
Steps to reproduce the bug
using Windows.Gaming.Input;
var tmp = Windows.Gaming.Input.RacingWheel.RacingWheels; // EMPTY
var tmp2 = Windows.Gaming.Input.FlightStick.FlightSticks; // EMPTY
var tmp3 = Windows.Gaming.Input.Gamepad.Gamepads; // EMPTY
var tmp4 = Windows.Gaming.Input.ArcadeStick.ArcadeSticks; // EMPTY
var tmp5 = Windows.Gaming.Input.RawGameController.RawGameControllers; // Found all my joysticks and racing wheel
Expected behavior
Founding my joystick in Windows.Gaming.Input.FlightStick.FlightSticks;
Founding my racing wheel in Windows.Gaming.Input.RacingWheel.RacingWheels;
Screenshots
NuGet package version
None
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: