Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- **Note: you'll need a homebrewed Switch to do this.**
- 1. Setup Sunshine on your PC (https://github.com/LizardByte/Sunshine), Moonlight-NX on your Switch (https://github.com/rock88/moonlight-nx), and some software to connnect your Joycons to your PC, I use DS4Windows (https://github.com/Ryochan7/DS4Windows/releases/), but BetterJoyforCemu (https://github.com/Mik235/BetterJoyForCemu) works well too.
- 2. **NOTE: This step is optional, and requires editing values in regedit on your PC. Proceed at your own risk. If you don't want to do this step, you can simply buy a dummy HDMI header (https://a.co/d/0kZheoQ)**
- - Setup usbmmidd on your pc (https://www.amyuni.com/forum/viewtopic.php?t=3030), follow the instructions on the page until you get to "deviceinstaller64 enableidd 1"
- - Because the driver doesn't inclue a 720p resolution for the fake monitor, you'll need to add it yourself, you can find these instructions in idd_instructions.txt in usbmmidd_v2.zip, but I'll paste a short version of the instructions here anyway:
- Modify the list of supported resolutions by changing the following registry key:
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF\Services\usbmmIdd\Parameters\Monitors
- Edit one of the values into "1280,720"
- activate a virtual monitor:
- deviceinstaller64 enableidd 1
- - Go to your display settings on your PC and you'll find the new fake monitor, place it anywhere you want, and edit the resolution to be 1280x720, then press apply
- 3. Open a Terminal (command prompt) window and run this command:
- "C:\Program Files\Sunshine\tools\dxgi-info.exe" (change if you installed Sunshine somewhere else)
- Note the value for "Output Name" for the monitor you setup.
- 4. Open Sunsine, go through the initial setup, then go to Configuration -> Audio/Video -> Output Name and enter the value you noted down.
- 5. (You'll either need to get second pair of Joycons, a pro controller, or re-pair your Joycons to your PC after setting up Moonlight-NX) On the Switch, open Moonlight-NX, then connect to your PC (it should auto detect the address if your Switch and PC are on the same wi-fi network). Then, select the Desktop configuration, and it should show the fake monitor we setup on the switch. On your pc, open Cemu, set your inputs to the Joycons (make sure to set the input type to SDL so you can get the motion controls), then go to Options -> General and check both options to remember the window size and position for the gamepad window and main window. Then when you launch your game, open a separate gamepad window from Options, and drag it to the fake monitor with your mouse.
- Et viola! You now have your switch working as your gamepad for Cemu! I recommend getting some kind of holder to hold the joycons and your switch for the full effect, you can use this one, its cheap, but works: https://a.co/d/54dxyN7 . Do note, touchscreen doesn't work afaik (even with enabling it in Moonlight), but everything else should work fine (Joycon's suck-ass BT connection non-withstanding).
- side note: you can also install switchroot on your switch and use Moonlight on that so you can get the touchscreen part working
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement