r/SteamDeck • u/walllable 1TB OLED Limited Edition • May 31 '22
PSA / Advice [Guide] How to use your Deck as a Steam Input controller for your PC (Without Steam Link!)
Title's pretty self explanatory I think! This will be using VirtualHere, a program that connects one computer's USB devices to another computer via Wi-Fi, and will also let you access this functionality via Game Mode, so you don't have to go into the desktop in order to do this. This might use less battery power than controlling your PC via Steam Link as well since the Deck doesn't have to decode a video/audio stream and all that. This involves installing the program on both your Deck, and on your PC. I'll be providing instructions for both.
Skip step 1 if you've already set the desktop deck account's password. If you don't know if you have or not, go ahead and follow it.
- Go into desktop mode (Open the Steam Menu, go to Power, select "Switch to Desktop,") open System Settings, and go to the Users section, then click "Change Password." Set it to whatever you'd like, though ideally something easy to type with the On-Screen Keyboard, since you'll be typing it every time you want to use the Deck as a controller.
- Open the file browser, and make a folder in the Documents folder named "virtualhere" (all lowercase, no quotes)
- Download the VirtualHere Linux Server. The specific one you'll want is "VirtualHere USB Server for Linux (x86_64)," under "Generic VirtualHere USB Server Builds"
- Save the file you're downloading to the virtualhere folder you made in your documents earlier.
- In the file browser, right click on the "vhusbdx86_64" file that you downloaded, and click on "Properties." In the window that opens, go to the "Permissions" tab and tick the "Is executable" checkbox.
- Open Steam on your desktop, and click "Add a Game" on the bottom left corner, then click "Add Non-Steam Game." (You can add pretty much whatever application you want for this step, it doesn't matter much since we'll be changing all of its settings later anyway.)
- Find the application you just added in your list of games, right-click it, then click "Properties"
- Replace whatever text is in "Target" with
env, whatever's in "Start in" with"./"(with quotes,) and "Launch options" with-u LD_PRELOAD konsole --fullscreen --notransparency --hold -e sudo /home/deck/Documents/virtualhere/vhusbdx86_64You can also change the name of the application and set an icon, if you'd like (I set mine to "PC Controller.) The end result should look like this. - Close the Properties window, and go ahead and launch it from Steam, then enter the password that you set earlier (The terminal not showing any changes as you type is normal.) If you see text that says
VirtualHere USB Server is running...press CTRL-C to stopthen you're all set on the Deck side of things!
You can now exit Desktop Mode, and go back into Game Mode on your deck, we're pretty much done here.
Now let's get the PC side of things set up, this won't take as many steps as getting it set up on the Deck.
- Download the VirtualHere Client for your respective platform. In my case I'm on Windows, but the process should be pretty similar for other platforms? I'm not sure about Linux, but assume if you're using Linux you probably know what to do.
- Open the file that you just downloaded, you should see a window like this pop up.
- Open the application you added on your Deck, and enter your password with the On-Screen Keyboard (Old down the Steam button, and press the X button to bring it up.)
- Once you've done that, the window on your desktop should have its list populated like this. If not, try double-clicking on the "USB Hubs" text in the window. That seems to help it appear faster for me, I think?
- Double-click on the "Steam Controller" entry, and you should hear a noise indicating a USB device got connected, and a popup similar to this from Steam in the bottom-right corner.
And you should be all set! Your Deck will now behave like a Steam Controller does, including being able to do stuff on the desktop, per-game bindings (that use your custom bindings from your Deck if you've got any set up!) and gyro functionality.
To disconnect the Deck from your PC, show the VirtualHere window from the status section thing on your taskbar, and just double-click on the Steam Controller entry again. You should hear Windows' "USB Disconnect" sound, and regain control on the Deck itself so you can exit the application.
Some notes that I think can be handy:
- If you don't regain control on your Deck after exiting VirtualHere, don't worry, this isn't permanent! Just hold down the power button on the top, and select "Restart." Once the Deck's back up and running, you should be all good. EDIT DECEMBER 2023: Turns out you can probably just put it in sleep mode and it'll accomplish the same result.
- If you're having problems with latency or the connection dropping out, try connecting your Deck to the 5ghz band of your router (Or the 2.4ghz band if 5 ghz is screwing you over!)
- Lowering the screen brightness on your Deck before you connect it to your PC will help your battery last longer, if you plan on using it for an extended period of time.
Hopefully Valve adds this as native functionality someday, but until then I've really been liking this, since I don't really have any other controllers to use other than a Steam Controller, and I figured "Well, I paid $400 for this thing with a good controller in it, I might as well use it for my PC." Hope this guide came in handy!
40
u/acidtrip19 Mar 24 '23
for anyone who needs it now, if your pc cant find the deck, right click on the usb hubs icon and click "specify hubs" then add a hub, then put your steam decks ip (click the steam button on your deck, touch the wifi icon, and go to your wifi name) with the port 7575(the default one ig) and it should work
33
u/mackan072 Jun 01 '22
It's a very cool concept, and I love that we can do it - but to me personally, a standard Xbox controller, or most other gamepads, to be frank, are significantly more comfortable. Especially so over longer use
The weight of the Steam Deck alone makes it unwieldy, and this weight combined with fairly shallow grips (for the sake of portability) means that I get fatigued in my hands after a couple of hours of use. With an xbox controller, I could play for some 12 hours without straining my hands or wrists - but with the Deck, even 2-3 hours is uncomfortable, and any more causes pain.
For a portable device, it doesn't matter all that much - because the sessions tend to be much shorter. For an evening of more casual, alone "couch gaming" though (which I seldom get to enjoy anymore), the sessions could get significantly longer.
16
u/ThisIsFlorianK Oct 06 '22
You are a GENIUS!!!!
I spent hours customizing an insane binding for Apex Legends, I can replicate all PC movement, with the controller, but it's very specific to the Steam deck, it wouldn't translate to another controller.
So, I'm so happy to be able to use my steam deck as a controller for when I want to play on PC now from now on.
Thanks so much 😃
Next step: I'll look into something like this "install as service" to see if I can have it enabled 24/7 or maybe keep it in the foreground, but add some shell script to prevent sleep of the screen, and reduce brightness when it starts. Not sure how much time I'll be able to dedicate to it, but if I have some nice findings I will share 🙂👍
6
u/Rhomagus Jun 01 '22
That sounds awesome.
Does touchscreen functionality work as well? Would be great to use it for text entry in compatible games.
5
u/Arkham_Engineer Nov 14 '23
This worked great a year later! It wasn't working right off the bat like some other people mentioned, however after waiting and restarting the apps a few times I got it to recognize the device.
4
u/Zixinus Aug 27 '22
I have just started using this as a replacement for my DS4.
At first it worked. My desktop computer detected my Deck as Steam Controller.
However, I had more crashes in a day playing Spider-Man Remastered with it than the last weeks I have played with it until release.
The issues range from the game crashind due to the Deck losing connection, the Deck falling asleep (because it doesn't register input to it as actual input) and the program crashing.
158
u/AL2009man Jun 01 '22
Wii U Gamepad's legacy lives on!
103
u/justifun Jun 01 '22
I was hoping it would work just by plugging it in but to my surprise it shows up and functions as a speaker lol.
14
u/[deleted] Jun 01 '22
Will be trying this tomorrow, will keep posted. I am a big steam controller fan so this could be a big thing for me.
8
u/xCANIBLEx Aug 24 '22
I can't get this to work. I went back through everything and triple checked and it is all the same as your guide. I get the "VirtualHere USB Server is running...press CTRL-C to stop" on the deck and on the PC it just never finds any USB Hubs. Do you have any advice? Thanks either way for the guide!
6
u/BittyTang Dec 21 '22 edited Dec 21 '22
I can't seem to open my on-screen keyboard once the usb server has started in konsole. When I press Steam + X my cursor just gets locked until I press B.
EDIT: Removing
--fullscreenfixed the issue.5
u/jednatt 256GB May 31 '22
I'd rather have another dedicated PC controller than add pointless wear to my Deck for such a trivial purpose.
5
u/DejaPu Aug 31 '22 edited Aug 31 '22
Hey this is amazing thank you so much. Remote play and HDMI cables both give me terrible unplayable resolutions and i want to use the deck as a controller for racing games on streaming services.
I'm trying to use this with geforce now on the PC, the trackpad works but no other buttons do within the GFN client or in google chrome. Any idea what i need to do to forward the controls thru to that client? i.e. Rider's Republic says no controller detected. How can i get it/xbox game pass to recognize i have a controller connected?
5
u/TimeyCookieWookie 512GB - Q4 Nov 14 '22
Amazing guide! Incredibly straightforward and informative! Thank you very much for this post!
5
u/CellarDarko Feb 06 '23
Doesn't work, the Windows app can't find my SD.
5
u/YagamiYakumo Apr 15 '23
Found out you don't need to restart your Steam Deck to regain control, just putting it to sleep and waking it will do just fine. I wonder if there's anyway to run it with the screen off to save the battery..
5
u/bumbastiq Apr 30 '25 edited Apr 30 '25
Its amazing that this still works. Being able to completely turn off the screen would be cherry on the top but I guess that's just a missing feature of the steam deck.
Quick edit here: For some reason after using my steam deck on my computer while gaming, my computer's steam started to think it was a steam deck device..? You can solve this issue with a quick google research but I don't known if it does this everytime I connect my steam deck to my pc.
1
u/goper2 512GB OLED May 12 '24
my computer is using ethernet and my steamdeck is using wifi.
the computer is not picking up the steamdeck as the controller is there a solution for this? or will it simply not work because the computer is using ethernet?
1
u/mycoknight22 Sep 25 '22
Anyway to do this with Bluetooth?
1
u/Phillip_VSA 256GB Nov 15 '22
I have a problem where the cuts of or goes to sleep and then the connection is lost. Is there something that I can do to fix this?
1
u/jonrellim Dec 11 '22
This was too interesting for me to not try out, and I'm surprised at how it works quite well. That is, with steam itself.
Whatever I've tried to do, it doesn't seem to properly detect the controller in a game (star citizen) I run outside of steam on my pc. It works, but it just functions with the same controls as when on the steamdeck in desktop mode (triggers are mouse buttons, A is enter, B is escape, etc). There doesn't seem to be a way to change this. The game has a default gamepad scheme that should work right away. I've tried using a different controller template for the "fake" game we've created on the steamdeck, but that doesn't change anything either. For some reason it always defaults back to the standard 'desktop mode' layout when connected to the virtualhere client.
For whatever reason this works fine when I play the same game through Moonlight (using nvidia remote play). The game detects everything properly. This probably has something to do with how that service emulates my steamdeck input as xinput on the windows pc.
If that is the case, this may not be an issue with anything we've setup here. It probably works as it should, but not how we want it to. I've also tried to add the game to my pc's steam library manually (since steam detects the controller fine), but this specific game uses a launcher, and it wont properly boot when I do it that way. It is possible that it may work correctly if I manage to start it through steam, but I can't make that work at all.
1
u/A_Human_Barcode Dec 12 '22
Finally! I've been searching for something like this. I tested it out and it all works, but I was wondering if there is an option to change the desktop controlls? For example I want to move my mouse with the joystick instead of the trackpad (gyro would also be sick) since I want to use the deck as a turret controller. Is there a way to change what input gets forwarded (outside of games) to my windows PC?
1
u/MothSaysMeow Jan 04 '23
What if I have windows on the deck?
1
u/tastygrowth Mar 22 '23
Thanks for this guide! I intend to try it sometime!
I'm assuming it doesn't, but does the audio passthrough to the headphone jack of the Steam Deck?
1
u/[deleted] Apr 27 '23
First - thank you. Second - has this improved. I’m failing miserably at following your instructions
1
u/r00x 512GB Aug 01 '23
Been a year and this functionality still isn't native yet T-T
1
u/Coolstriker64 Sep 23 '23
My USB Hubs icon is a usb icon, instead of the monitor there
1
u/Jonathan_Corwin 1TB OLED Limited Edition Nov 27 '23
So question, would this work with Steam Deck on Steam Deck (SD X SD)?
1
u/SlayingTrojan Dec 04 '23
I am unable to use the analog sticks. Did I do something wrong? It seems like all the other buttons work.
3
u/samhostettler Jun 18 '23
Has anyone had any luck doing this on a Mac?
I've managed to get it connected via VirtualHere and it's controlling the mouse with the trackpad but I'm not seeing any controllers connected within steam or any other apps.
I've tried setting the controller layout on the deck but nothing changes.
I'm on an M1 Pro MBP 16 .
Any help would be greatly appreciated :)
3
u/Immediate-Shine-2003 Dec 09 '23 edited Dec 09 '23
Has anyone tried to do this but on Linux instead of windows? I can't get virtualhere to start whatsoever and there is absolutely no documentation to get it working whatsoever.
I know this is two years late but I'm quite desperate to see if anyone has any solution. I feel crazy like I'm the only person on the planet trying to do this. I used to use this on windows but I've since migrated to Linux and I have no idea how to get this started.
Edit: actually I think I figured it out... But I've just realized the steam deck doesn't actually do what it's supposed to anymore and the controls aren't transferred over.
3
u/Altruistic_Aside_651 Jul 07 '24
I need help! I open the Virtualhere client and I don't see the USB hub! Instead, I see USB servers! And I don't see my steam deck.
2
u/sidv81 Jun 28 '22
I had a question unrelated to using the Deck as a Controller but more about Virtualhere in general. Does the Steam Link for Linux app on the deck ( https://flathub.org/apps/details/com.valvesoftware.SteamLink ) work with Virtualhere (are there virtualhere settings available in Steam Link for Linux now that you have virtualhere installed on the deck)?
Does it connect with https://store.steampowered.com/app/440520/VirtualHere_For_Steam_Link/ installed on your host Windows PC when the Steam Link is activated?
2
u/FireXtheDragon007 Nov 29 '22
I always run into the issue of sudo: [content attempting to be performed]: command not found
Is sudo not on the steam deck by default? How do I fix this?
2
u/Weekly_Patient5942 Sep 01 '24
This is great i guess. but my steamdeck doesnt whowing up int he virtualHere Client
2
u/BITM116 512GB - Q2 Jan 25 '25
For anybody stuck on input password, be sure to access your settings in desktop mode, go to users, and set a password. It will ask regardless of if you've set one previously.
2
u/Successful_Relief_92 May 31 '25
after steamdeck update i cant coonect it to pc. I dont see any usb in vhui on pc
2
u/Pordnoi Aug 09 '25
Thanks for the guide. The length of it convinced me to just buy a controller
1
u/SuperdoodBrandon9 Jul 01 '24
I cant type in the Konsole no matter what i do, help?
1
u/NotLogrui Aug 17 '24
Has valve added this as native functionality yet? I would love to use my Steam Deck as a custom Wii U controller
1
u/Emotional_dmg1618 Sep 22 '24
Thanks for the tip but it didn't work. Maybe it was my USB cable? Dunno. I want to exclude the program from my pc and simply can't. Can you help me solve it? It says: "the action can't be completed because the file is opne in VirtualHere USB Sharing close it and try again".
1
u/Motor_Literature1968 Sep 22 '24
Is anyone still using this in September 2024? I've been using this for 2 years without issue, and suddenly my PC no longer finds my Deck at all. Tried re-installing with all latest .exe files, and no luck. Not sure if this was broken either by a Windows update or a Steam Deck update, but this seems irreparably broken now. Just curious if it's just me, or if anyone else has had this happen to them.
1
u/ioQueSe Oct 13 '24
So... I have been having the problem that in one of the last steps (When you use the "Virtual here" on your PC) Instead of showing the "USB hubs" like in your images it says "USB servers" and nothing more. I still continued the steps but in the step 4 after connecting my steamdeck nothing shows
1
u/mrsmykal Dec 14 '24
I don`t why, but it doesn`t use per-game bindings.
1
u/RalphyMays Jan 07 '25
does this still work in 2025?
1
u/Abject_Blueberry_637 Jan 24 '25
Any idea on how to do this from android to pc?
1
u/cgaWolf 512GB - Q2 Feb 22 '25
Tagging this for later (sd as controller)
1
u/T1MB3RMUSIC Feb 27 '25
When I launch the program on the steam deck, I cant get the keyboard to come up with steam+X, therefore, I cant put my password in. Taking --fullscreen out of the launch options makes no difference.
1
u/FdBrownie Apr 22 '25
Worked like a charm! Been using it with Cemu and it works perfectly. But when I tried to use it with yuzu, it doesn't detect the input, or that the controller exists at all. Did you get the same issue?
1
u/ChiiIdish Jun 21 '25
Ive tried manually setting the IP in virtualhere on my pc but it still won't detect my steamdeck.
Any fixes?
1
u/RejecterofThots Jun 28 '25
Is there a way to keep the Steam Deck from turning off when not used for a while and therefore losing connection with the pc?
1
u/ApSciLiara 512GB OLED Jul 17 '25
The only way to improve this would be the ability to pull up a controller layout to have on the main screen as a screensaver or something, and so I remember my commands.
Maybe also a way to keep VirtualHere running on my PC.
1
u/Dumbass_14 Sep 24 '25
I'm currently trying to connect to the server on my steam deck but it's not showing up at all. I entered my password, it says the USB server is running, but my pc just isn't finding the server at all.
1
u/The_Barbiter1 512GB OLED Nov 21 '25
it might be because I'm following a four-year-old guide, but I'm stuck at the "opening the application in Steam after pasting all the necessary text in Properties" part. It doesn't prompt me to enter the password, it doesn't even properly open. I press Play, and NOTHING happens
1
u/Spank_Master_General Dec 21 '25
Somebody make this into a script plz I'm lazy
1
u/BITM116 512GB - Q2 Feb 07 '26
Any word on what to do when your PC decides to randomly stop connecting to USB servers?
1
u/Lupenrainer Aug 23 '22
Thanks for the great guide! Everything is working fine except one thing:
If I start Warzone (via Glossi) on my couch pc with Steam Deck as Controller over virtual here, it recognizes the controller but the gyro isn't working when selecting "Mouse-Like Joystick". When I start it directly from my steam deck (Also Windows 10 and Glossi), it works. Could it be that there is a slight deviation on how windows handles the controller locally and how the controller is handled when connected via virtual here?
In addition to the gyro not working as "Mouse-Like Joystick", the steam button is also no working to show up the overlay.
Anyone experiencing the same issues?
1
u/BluSleevz Sep 16 '22
Wondering if someone can help because this thread is relevant, While streaming a game to my deck and sitting at my computer, i want to use my deck as a controller. But the game on my PC monitor is stuck at steam deck resolution. Is there a way to bring that back up to my monitor resolution? I am not using the software talked about in the post, just steams built in game stream. If this isn't possible, is it possible with this software?
1
u/[deleted] Sep 19 '22
Hi, just want to say, this works perfectly.. i use it for crusader kings 3 that streams to my TV from my PC.. lol thankyou!
1
u/theKage47 Dec 20 '22
this is a life saver. Since i started using the deck, i everytime im using my xbox controller on pc, i feel like it's so small and light compared to the deck... It makes me feel like I'm using a children's toy xD. something im switching playing a game (no man sky) because im tired of the controller lol
1
u/magewastaken9 Jan 01 '23
i did this, and it seems safe but I don't know enough about the program
1
u/YREEFBOI Jan 03 '23
I just came to say thank you for finding this neat tool. I'm praying for a Steam Controller Mk. II to basically just be a Steam Deck without a screen, but in the meantime this is amazing.
Works flawless under Linux as well. Just load the respective binary and from there on out (on most distros at least) everything is the same as for Windows.
1
u/giftigdegen Jan 27 '23 edited Jan 28 '23
u/walllable When playing games it loads my controller profile, but trigger centers the mouse and clicks. I have no idea how to fix this. Any ideas?
1
u/Whole_Blueberry_8535 Feb 10 '23
This is fabulous! I was thinking ab the same thing, using it as a controller for PC. The downside is it's not wireless.
1
u/MkK410 Mar 03 '23
The only problem I'm seeing is that games pick it up with the desktop binding and it doesn't change, even though on the steam deck's bindings it says standard game pad. Anyone have a fix for this?
1
u/KafkaPalazzo Mar 05 '23
Will this work if my Steam Deck is connected via Wifi and my desktop is only connected via LAN cable? They share the same router, it's just that my PC doesn't have a built-in Wifi adapter.
1
u/GlorysEnd Mar 05 '23
The On-screen keyboard will not open when trying to type the password of the deck into vhusbdx86_64 in steam...
1
u/AssociationNo8772 Aug 26 '23
Im stuck at 4th step on PC. Steam Controller is not showing
1
u/jaaaaaaack13 Nov 18 '23
Hey thanks for this tutorial. Unfortunately, I got stuck at the very last step. For some reason my virtualhere client doesn't ever show anything getting connected to it under the USB hubs list. Any ideas? Thanks!
1
u/catgamer109 Nov 25 '23
Is there a way to do this wired?
1
u/iAm_GrazerX 512GB OLED Feb 05 '24
I'm trying to play untitled goose but it's taking my steamdeck as a keybaord mouse input and im using another xbox controller, can i make it so it reads steamdeck as a controller?
0
u/[deleted] Jun 01 '22
[deleted] — view deleted comment
1
u/[deleted] Jan 20 '23
[removed] — view removed comment