Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add virtual button to switch screen (iPad OS) #641

Open
KitkatYeung opened this issue Jul 1, 2024 · 3 comments
Open

Add virtual button to switch screen (iPad OS) #641

KitkatYeung opened this issue Jul 1, 2024 · 3 comments

Comments

@KitkatYeung
Copy link

I'm using my outdated iPad as a second screen (Sunshine and EDID loader: extend screen). Switching streaming screen at moonlight is impossible without a keyboard.

Is your feature request related to a problem? Please describe.
It is not a problem for iPad keyboard users. But if not using a keyboard the switch screen feature is not usable.

Describe the solution you'd like
Add a semi transparent/hide-able shortcut button with text to indicate what is the current monitor and tap this button to loop all monitors.

Describe alternatives you've considered
Connect a physical keyboard, but not always possible :>

Additional context

@TrueZhuangJia
Copy link

https://github.com/Moonlight-the-Fried-Fish/moonlight-ios-NativeMultiTouchPassthrough
my fork will implement a feature could potentially & partially meet what you want.
there'll be a semi-transparent on screen button (relocatable) to simulate keyboard, both single key or key combination (like ctrl+shift+esc)
you may create a shorcut on Windows desktop with shortcut key to execute anything.
image

Coming soon within this week

@gencur55
Copy link

gencur55 commented Dec 15, 2024

I am also interested in this feature. It would be easier than connecting a keyboard every time. Sunshine uses CTRL + ALT + SHIFT + F1/F12 to change display, and Moonlight IPadOS app already has CTRL, ALT, and SHIFT buttons. We need FN keys or a button to replicate this shortcut.

@gencur55
Copy link

Until they add Fn keys, @TrueZhuangJia your fork has a great solution, "Command Tool" thank you.

  • Download Moonlight-ZWM from App Store.
  • Change "Slide Distance for in-stream menu:" to 0.01 * screen-width. (I like it this way. The default value is 0.5)
  • Sliding from right or left (can be changed in settings) will open Settings or Command Tool.
  • On streaming, slide from the side you set Command Tool to open.
  • On Command Tool, click "Edit" then "Add / Duplicate".
  • Write the command CTRL+ALT+SHIFT+F1 and write an alias to identify this command. Change Screen 1.
  • Add another one with CTRL+ALT+SHIFT+F2, Change Screen 2.

After that, all you have to do to change screens is just swipe and open Command Tool, select the commands you added. That's it.

There are already have some commands and i couldn't find a way to short them. if you want this command on top, after you add them, duplicate each command already exist and delete the old one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants