moonlight-stream / moonlight-ios

GameStream client for iOS/tvOS
GNU General Public License v3.0
1.12k stars 286 forks source link

Native touchscreen full support? #644

Open Mandrake158 opened 1 month ago

Mandrake158 commented 1 month ago

I don't know if it can be implemented, but would be awesome to have a mode that fully passthrough all touch inputs to the host PC. Like instead of using 2 fingers to pinch and zoom Moonlight itself, have it go straight to the PC and be able to zoom the website (and nothing else) like you could do on a native touchscreen display

This would allow playing touch based games and even phone emulators with ease. Like holding down the finger, instead of trying to get the right click button, just pass it as full left click/touch

For example, using the left thumb to move around and holding the right thumb to move around on a touch game. Instead of trying to zoom the stream image and only registering like 2 clicks on the right thumb

TrueZhuangJia commented 3 weeks ago

check my repo, it has been implemented for a long time https://github.com/Moonlight-the-Fried-Fish/moonlight-ios-NativeMultiTouchPassthrough BTW, testflight is on for my fork

alotofentropy commented 3 weeks ago

it works incredibly well on test flight... Makes the iPad better than a native windows tablet

Mandrake158 commented 3 weeks ago

check my repo, it has been implemented for a long time

https://github.com/Moonlight-the-Fried-Fish/moonlight-ios-NativeMultiTouchPassthrough

BTW, testflight is on for my fork

It's awesome, don't know why it hasn't been merged The only thing I would prefer is having a small 3 dots (with transparency when not active) with all the commands from the right swipe, as sometimes when I need a command (like F11), the right swipe gets registered as an input before, so the window loses activeness

Any chance on an android version?

TrueZhuangJia commented 3 weeks ago

@Mandrake158 The slide & tap gestures are inherited from original moonlight. By the time I was developing those gestures I thought about improvements instead of building something totally different.

For moonlight-android I recommend this fork, @ClassicOldSong https://github.com/ClassicOldSong/moonlight-android

if you want the most comprehensive custom on screen buttons, try this: @WACrown https://github.com/WACrown/moonlight-android

TrueZhuangJia commented 3 weeks ago

check my repo, it has been implemented for a long time https://github.com/Moonlight-the-Fried-Fish/moonlight-ios-NativeMultiTouchPassthrough BTW, testflight is on for my fork

It's awesome, don't know why it hasn't been merged The only thing I would prefer is having a small 3 dots (with transparency when not active) with all the commands from the right swipe, as sometimes when I need a command (like F11), the right swipe gets registered as an input before, so the window loses activeness

Any chance on an android version?

i m trying to implement a feature that prevents touch slide sending event to the remote PC if the initial point spawned at the upper screen edge (left or right), guess it will work out better

TrueZhuangJia commented 2 weeks ago

check my repo, it has been implemented for a long time https://github.com/Moonlight-the-Fried-Fish/moonlight-ios-NativeMultiTouchPassthrough BTW, testflight is on for my fork

It's awesome, don't know why it hasn't been merged The only thing I would prefer is having a small 3 dots (with transparency when not active) with all the commands from the right swipe, as sometimes when I need a command (like F11), the right swipe gets registered as an input before, so the window loses activeness Any chance on an android version?

i m trying to implement a feature that prevents touch slide sending event to the remote PC if the initial point spawned at the upper screen edge (left or right), guess it will work out better

already implemented for native touch mode in build 41 @Mandrake158

Mandrake158 commented 2 weeks ago

i m trying to implement a feature that prevents touch slide sending event to the remote PC if the initial point spawned at the upper screen edge (left or right), guess it will work out better

already implemented for native touch mode in build 41

@Mandrake158

It works wonders! Now I can play non full screen games, swipe, press F11 and since it doesn't lose focus, it goes full screen

Thanks!