moonlight-stream / moonlight-android

GameStream client for Android
GNU General Public License v3.0
3.23k stars 512 forks source link

Xbox One Streaming with Moonlight #567

Closed whiskeytangofx closed 5 years ago

whiskeytangofx commented 6 years ago

Hey guys,

Just wanted to ask a quick question before I drop $50 on an Xbox controller....

I have Moonlight set up and configured and it works rather well. My question is that if I connect a bluetooth Xbox One controller on the remote PC, would the Xbox app on my home PC recognize there's a controller present? Does Moonlight pass that through back to the home PC?

I do have Moonlight configured to stream my home PC with what I remember to be some sort of usage of Microsoft's RDP app/protocol.

EDIT - My apologies if this should be in a different thread, but I am looking at doing this from either the Android variety of Moonlight or the Chrome variety, or both.

Alec123445 commented 6 years ago

Yes it should work.

whiskeytangofx commented 6 years ago

Thanks! While it worked for Steam and a couple of other apps, it doesn't seem to be working with mstsc.exe.

mstsc.exe seems to be unable to see the controller when streaming it through Moonlight. I do have it connected through bluetooth on my Fire 10 HD tablet.

Some suggestions have been to update firmware on the controller (in the process of trying that) or plugging the controller in via USB. Don't know if it's just my tablet, but when I use a USB OTG adapter to plug in the Xbox One controller, it causes my tablet to constantly reboot.

I'll do some more troubleshooting and post back.

whiskeytangofx commented 6 years ago

So, I changed some settings in Remote Desktop to allow pass-through to my home PC and I can move the mouse pointer around now and even "click" with the controller buttons, but the Xbox app doesn't recognize there being a controller hooked up.

I am just going to leave it at it might never work the way I want it to, but if anyone has any ideas feel free! Thanks guys, this is a great app and a great community!

Alec123445 commented 6 years ago

in moonlight settings on android. scroll down. there should be a setting for moonlight overrides android drivers and check it.

whiskeytangofx commented 6 years ago

I gave that a try as either checked or unchecked and it didn't seem to make a difference with my setup. I could launch the mstsc.exe app, it would show my desktop, I could start Xbox streaming with the controller, but would still get the message from the app saying there wasn't a controller connected to the PC.

I do have one of those wireless USB 360 adapters laying around at home. I think I'm going to try plugging that in tonight to the desktop, try streaming again, and see if that makes a difference. Enough of a trigger for the Xbox app to say "Yeah, you're good"

whiskeytangofx commented 6 years ago

Right now I have the following checked:

"Multiple controller support" "Xbox 360/One controller driver" "Override Android controller support"

Alec123445 commented 6 years ago

Try turning off xbox360/one support and see if they controller still works and then check and see if it shows up in xbox app. Tho i would use steam it usually works better. So steam might detect it when xbox app doesn't.

whiskeytangofx commented 6 years ago

Any idea if it's possible to add the Xbox app to Steam and stream that way? I dug all around online and couldn't find anything that looked feasible or that it would actually work.

Some guy posted a video where he suggested just using regular RDP to stream to your home PC :-D

Alec123445 commented 6 years ago

Why would you want to. You can just stream the steam app through moonlight. It should show up as a game.

whiskeytangofx commented 6 years ago

Just to play my Xbox games on the go. Seems Microsoft really locks it down and limits what you can use to control the console. Don't think they want people playing shooters with mouse+KB against people with gamepads.

I was playing TF2 earlier with Steam and the controller on my tablet and it was surprisingly good. I mean, I was going up against guys with mouse+KB, so was getting stomped a couple of times!

Alec123445 commented 6 years ago

ahh i see. Well i don't think that would work. If you could it would require quite a lot of janking. Heres an form post with people working on it. I havent read that far to see if they got it to work but here it is. https://forums.geforce.com/default/topic/907230/gamestream/xbox-one-game-streaming-without-capture-card-to-shield-devices-/1/

Alec123445 commented 6 years ago

https://forums.geforce.com/default/topic/907230/gamestream/xbox-one-game-streaming-without-capture-card-to-shield-devices-/post/4862353/#4862353

And apparently don't fullscreen the xbox app that causes it to freeze

whiskeytangofx commented 6 years ago

Oh man, I have some reading to do! It honestly makes a lot of sense that you would need some sort of adapter between the two devices. Thanks again!

Alec123445 commented 6 years ago

The second link is to the particular post in that forum thread that explains how to do it. Read that post and the next few and your should be able to do it.

genmatrix commented 6 years ago

Loading a game that uses a virtualized controller (like Destiny 2) then just never launching the game and switching to the Xbox app will allow to stream the Xbox from the Xbox app and the controller to work.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.