GaryOderNichts / moonlight-wiiu

Moonlight Wii U port
GNU General Public License v3.0
143 stars 13 forks source link

Add mouse and home button support, TV output toggle, and automatic connection on startup #9

Closed aaronjamt closed 2 years ago

aaronjamt commented 2 years ago

This PR adds mouse support (with the touchscreen, drag to move mouse and tap to click), forwards the home button (press and hold for 3 seconds to exit). It also skips the "press A to stream/B to pair" screen, instead automatically pairing on startup (if needed), then starting streaming. Finally, it fixes a few minor compiler warnings (due to missing default: clauses inside switches) and an error when building if you #define DEBUG.

GaryOderNichts commented 2 years ago

Thanks for the PR, decided to rework a lot of moonlight-wiiu and fixed the things I mentioned.

aaronjamt commented 2 years ago

Apologies for the late reply (my Github notifications were disabled for some reason) but thanks for merging this. The TV output toggle thing has to do with the blue "TV" button on the Wii U Gamepad, next to the power button. That commit detects pressing that button and, instead of opening the default "TV control" menu on the gamepad, will toggle whether or not the video feed from Moonlight is sent to the TV output. I had some issues with high latency/slow framerate/dropped connection when it was outputting to the TV as well and my use case only needed it to show on the gamepad. I might have removed that code before commiting since it was specific to my use case.