1

I am not able to navigate in my UWP WinJS app using a gamepad controller in Windows 11. It is working fine in Windows 10 though.

I also found out that I am no longer getting keydown event when pressing any key on Xbox controller.

I am confused. Anyone can advise something to try. TIA I've also created a sample app, which just prints the key captured by keydown event. Works fine in Windows 10 but not in Windows 11. Sample App: https://1drv.ms/u/s!Aj082Ju6Hyp0jo4mPd9nq6vO3zStzA?e=qplpBs

Ref:

https://learn.microsoft.com/en-us/uwp/api/windows.system.virtualkey?view=winrt-20348

vishal
  • 596
  • 2
  • 12
  • 31
  • Does the key down event work for a keyboard on Windows11 in your app? – Roy Li - MSFT Sep 10 '21 at 02:47
  • @RoyLi-MSFT: yes, it works for keyboard. – vishal Sep 10 '21 at 03:02
  • @RoyLi-MSFT: Here is a sample. This sample works fine in Windows 10, can detect gamepad controller events but Windows 11 can only detect keyboard events. https://1drv.ms/u/s!Aj082Ju6Hyp0jo4mPd9nq6vO3zStzA?e=qplpBs – vishal Sep 10 '21 at 03:19
  • I'll try to find someone to test and check out this. Please submit feedback in the Feedback Hub app about this as well. You could find the Feedback hub app in the Star Menu. – Roy Li - MSFT Sep 10 '21 at 08:58
  • @RoyLi-MSFT: I really appreciate that. I've submitted feedback in the Feedback Hub app. Here is the link: https://aka.ms/AAdswjc – vishal Sep 10 '21 at 14:41
  • @RoyLi-MSFT did you get chance to try this? Thanks. – vishal Sep 16 '21 at 12:08
  • Well, since Windows 11 is not officially released, please submit your issue in the Feedback Hub. It's the best channel to report this. – Roy Li - MSFT Sep 20 '21 at 09:32
  • @RoyLi-MSFT: yes, already did that. Hoping MS look into that and comment or acknowledge :) – vishal Sep 21 '21 at 02:44
  • @RoyLi-MSFT I have a similar issue in that I am not getting any keypress/keydown events from the controller on Windows 11, but inside a Webview running on a C#/XAML UWP app. I have not tested if it works as expected on Windows 10, but I suspect it might. Since Windows 11 is officially released, I think this question deserves a second look. Here is the question I just posted: https://stackoverflow.com/questions/70975642/webview-not-receiving-input-from-xbox-controller-on-windows-11 – Joshua Dannemann Feb 03 '22 at 18:04

0 Answers0