xbox-one

xbox one controller prevent default back button behavior with Javascript

耗尽温柔 提交于 2021-01-29 11:14:18
问题 I have an xbox one app that has a webview containing a javascript app. In my React app I have something like this: navigator.gamepadInputEmulation = 'gamepad'; window.addEventListener('onkeydown', function(event) { if (event.keyCode === 196) { event.stopImmediatePropagation(); // custom back button logic } }); The custom back button logic runs but then the default controller back button logic also runs even with event.stopImmediatePropagation(); Is there any fix for this? If I set navigator

Disable pointer mode for webview in Xbox UWP

…衆ロ難τιáo~ 提交于 2021-01-29 04:24:55
问题 Is there a way to disable pointer mode for WebView in an Xbox UWP app? I cannot use the RequiresPointer property since WebView is extended from FrameworkElement and not from Control . This is my sample XAML: <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <WebView Source="http://stackoverflow.com/" Height="300" Width="500" /> </Grid> Please find the pointer marked in the image below. I have provided RequiresPointerMode = ApplicationRequiresPointerMode.WhenRequested; in

Disable pointer mode for webview in Xbox UWP

感情迁移 提交于 2021-01-29 04:23:41
问题 Is there a way to disable pointer mode for WebView in an Xbox UWP app? I cannot use the RequiresPointer property since WebView is extended from FrameworkElement and not from Control . This is my sample XAML: <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <WebView Source="http://stackoverflow.com/" Height="300" Width="500" /> </Grid> Please find the pointer marked in the image below. I have provided RequiresPointerMode = ApplicationRequiresPointerMode.WhenRequested; in

UWP Xbox One page navigation when using WebView

心不动则不痛 提交于 2020-01-15 10:05:01
问题 Usually when running a UWP app on Xbox the B button on the controller is handled automatically and will return you to the previous page. I have a page which contains a WebView, when you use the directional buttons to place the focus box around that control, the B button no longer responds. You can use the A button to take control of the WebView and display the pointer and the B button then will return focus back as above but I cannot navigate back using the B button until you move the focus

UWP Xbox One page navigation when using WebView

蓝咒 提交于 2020-01-15 10:03:44
问题 Usually when running a UWP app on Xbox the B button on the controller is handled automatically and will return you to the previous page. I have a page which contains a WebView, when you use the directional buttons to place the focus box around that control, the B button no longer responds. You can use the A button to take control of the WebView and display the pointer and the B button then will return focus back as above but I cannot navigate back using the B button until you move the focus

UWP Xbox One page navigation when using WebView

青春壹個敷衍的年華 提交于 2020-01-15 10:03:23
问题 Usually when running a UWP app on Xbox the B button on the controller is handled automatically and will return you to the previous page. I have a page which contains a WebView, when you use the directional buttons to place the focus box around that control, the B button no longer responds. You can use the A button to take control of the WebView and display the pointer and the B button then will return focus back as above but I cannot navigate back using the B button until you move the focus

UWP Game Capture on Xbox DirectX or MMF

时光总嘲笑我的痴心妄想 提交于 2020-01-03 06:39:11
问题 I'm investigating building a "Game Capture" App that works within UWP on Xbox One, as for capturing the actual content of the screen during game-play, it appears there are two ways to go within the wider eco-system of Microsoft libraries: DirectX (Now part of Windows API) Microsoft Media Foundation With that in mind, my assumption is that DirectX is natively accessible by UWP apps via the Windows Runtime API, and aside from limitations on the DirectX feature-sets and hardware, basic APIs

Windows Live OAuth access XBox Live Info

为君一笑 提交于 2019-12-22 06:35:25
问题 So, I'm working on a website, and I want users to be able to log in with their xbox account to link their gamer tag to my site. I can use oauth like this: But, I can't figure out how to get xbox live permissions. Other sites that do this have permissions like this: How do I get this permissions which allow me to get info from an xbox account, like the gamertag? On the permissions page I don't see xbox anywhere. 回答1: You can do this pretty easily by using Xbox Live API, Sign up for the Xbox

Xbox One Controller input to UWP App

只谈情不闲聊 提交于 2019-12-20 04:59:26
问题 I have been trying to make an Xbox One controller interact with a UWP application and have looked into the Gamepad class (based on the suggestions mentioned in the comments - Controller support for Xbox one in Windows UWP). I have 2 issues: 1) Gamepad.Gamepads.Count returns 0 for me even when I have my Xbox One controller switched on while the application is running on Xbox. 2) I do not know, how exactly can I assess when the A, B, X and Y buttons are pressed and also access the coordinates

Controller support for Xbox one in Windows UWP

给你一囗甜甜゛ 提交于 2019-12-17 16:16:16
问题 I am wondering how I am supposed to handle input for UWP apps targeting Xbox One. I have noticed DirectInput, but I see two issues with it for my use cases: From MSDN, it only seems to support Xbox 360 controllers XInput is an API that allows applications to receive input from the Xbox 360 Controller for Windows. Controller rumble effects and voice input and output are supported. DirectX and all of its API's (Direct2d, Direct3D, Xinput, etc...) are only supported on C / C++. That means even