UWPHook icon indicating copy to clipboard operation
UWPHook copied to clipboard

Clashing with steam controller support

Open andres-asm opened this issue 8 years ago • 11 comments

Hi

I've been using UWPhook for a while. Lately though, it clashes with steam controller support, I guess some change on steam caused this.

For instance when I launch forza 3 the right stick controls the mouse (since that's my desktop profile on steam). I guess I can just disable the desktop control profile and it would just be a minor annoyance.... but it's still an annoyance.

andres-asm avatar Sep 17 '17 17:09 andres-asm

It's because of Steams behavior, it interprets games added via UWPHook as desktop applications and i'm yet to find a way to change this.

BrianLima avatar Sep 17 '17 22:09 BrianLima

So I guess for the time being I should just disable the desktop profile?

andres-asm avatar Sep 18 '17 01:09 andres-asm

Probably, it is a long time since I last tried to make these things work properly, I surely will go back, but for now, yes.

BrianLima avatar Sep 18 '17 13:09 BrianLima

Hi @fr500, could you elaborate a little more on this "clashing"? Were you Streaming? How do i edit the desktop config?

I'm working on a new version with built-in support for streaming with controllers, but, i'm having a bit of problems, as Steam is sending keypresses from mouse or keyboard when i press a button, but the wors is that many buttons don't work at all, and i don't know where to edit it.

BrianLima avatar Nov 16 '17 10:11 BrianLima

This problem isn't really a Steam limitation so much as it is a Microsoft Store limitation or a clash between Steam and UWP: Microsoft Store apps are run indirectly through the UWP runtime, even when using a Desktop application downloaded through the MS Store (such as Inkscape, for a non-game example). This also has the effect of, by default, removing compatibility with DirectInput (DualShock 4, old USB gamepads) and XInput 1.x devices (Xbox 360 controllers, most Windows-only XInput gamepads, and most XInput emulation, such as DS4Windows and Steam Input). Note that apps can be programmed to support XInput 1.x and DirectInput devices (such as Killer Instinct and New Super Lucky's Tale), but it's extra steps that won't even work with UWPHook because Steam's Desktop profile only supports keyboard and mouse input.

Formedras avatar Oct 03 '20 22:10 Formedras

How do i edit the desktop config?

For the desktop client:

  1. Steam > Settings
  2. Controller > General Controller Settings. Turn on support for your gamepad.
  3. Controller > Desktop Configuration. You can edit the profile here. It defaults to disabled, but you can browse Templates for the Gamepad configuration.

The steps are a bit different for Big Picture.

idbrii avatar May 25 '21 05:05 idbrii

I have a Duelsence and I've set my desktop configuration to a gamepad but it's within any Xbox game through UWPHook it doesn't work on any gamepad input

image

hope someone can help, this is the only thing holding me back from playing games pass games and had issues jumping from steam to DS4Windows back and forth

AtTimesChris avatar Sep 08 '21 20:09 AtTimesChris

I haven't had luck playing many UWP/WinStore games with DualSense locally (didn't try streaming) aside from ones with native support (Carto and Ghost of a Tale used to work, but not any more 😕).

I setup my Desktop Configuration in Steam to use normal gamepad controls and made the touch pad act like a mouse. If I launch a game (Curse of the Dead Gods), the mouse control works but the gamepad doesn't. That means Steam is correctly setting my profile for the current game, but the game still can't see my gamepad.

image

My guess is that something about UWP/WinStore games access gamepads at a lower level and Steam's fake Xinput device doesn't work. Or what Formedras said and the Desktop profile doesn't actually support acting like a gamepad.

idbrii avatar Sep 09 '21 23:09 idbrii

You mean while streaming? or just from steam?

andres-asm avatar Sep 09 '21 23:09 andres-asm

perhaps disable steam input for the game and try to find an OS level driver for the DS5

andres-asm avatar Sep 09 '21 23:09 andres-asm

I have a Duelsence and I've set my desktop configuration to a gamepad but it's within any Xbox game through UWPHook it doesn't work on any gamepad input

[Image removed for reply quote]

hope someone can help, this is the only thing holding me back from playing games pass games and had issues jumping from steam to DS4Windows back and forth

For now, try using GloSC, with or without UWPHook. It works by creating an overlay window that Steam detects and allows gamepad input on. Because of I have no clue what, Windows takes Steam's input from that window and lets it be used in the UWP application. It's not perfect, but it does work. https://alia5.github.io/GloSC/

As another alternative, try installing Windows 11 Insider Preview. Its UWP runtime takes unused and unusable controllers (including wireless DualShock 4 controllers) and feeds them to the application as XInput data. This doesn't result in duplicated inputs on games that can use DualShock 4 wired controllers, by the way. It seems to ignore inputs that the game itself accepts. Maybe it can also use DualSense controllers? Though since it's an upgrade to an operating system version still considered unstable, I'm not gonna say "It's worth a shot." You're the one that decides that one. If you're fine reformatting and reinstalling if you don't like Win11, then maybe it is. If not, best to wait for RTM, or even longer.

Formedras avatar Sep 10 '21 23:09 Formedras