sm64-port-android icon indicating copy to clipboard operation
sm64-port-android copied to clipboard

Autohide touch controls

Open JustMeDaFaq opened this issue 4 years ago • 8 comments

Added a simple possebility to define which input device got used lately.

Any input on the gamepad makes the touchscreen controls automatically disappear. Touch the screen to bring them back again :)

JustMeDaFaq avatar Sep 25 '20 16:09 JustMeDaFaq

~~Probably more appropriate for base?~~ The Auto Hide is nice. I don't think it picks up when a controller is turned on after the game launches, but this is a good addition for now and that's something which can be changed with another update.

Edit: I understand why that was a bad suggestion now. I didn't realize that base was referencing this repo.

rbeesley avatar Sep 26 '20 05:09 rbeesley

Probably more appropriate for base? The Auto Hide is nice. I don't think it picks up when a controller is turned on after the game launches, but this is a good addition for now and that's something which can be changed with another update.

It does pick up, whenever a controller is turned on/any controller input gets registered (no matter when the controller gets connected) while the game is running :)

JustMeDaFaq avatar Sep 26 '20 09:09 JustMeDaFaq

It does pick up, whenever a controller is turned on/any controller input gets registered (no matter when the controller gets connected) while the game is running :)

Yup. I was just coming back here to leave that update. Maybe I just had an issue getting my controller to connect earlier, but trying it again tonight it worked as expected.

rbeesley avatar Sep 27 '20 09:09 rbeesley

@JustMeDaFaq could you implement this in other branches as well? I compiled with your fork, and the auto hide works great. But I prefer the ex and ex nightly over master, because of the extended menu and other options master doesn't have. I tried doing it myself but failed

Dominiquedb avatar Oct 04 '20 15:10 Dominiquedb

@Dominiquedb Sorry for my late reply, gonna have a look at those tomorrow 🤓

JustMeDaFaq avatar Oct 05 '20 01:10 JustMeDaFaq

@Dominiquedb Sorry for my late reply, gonna have a look at those tomorrow nerd_face

Thanks for looking into it, and your reply was actually very fast, 10 hours is definitely not a late reply

Dominiquedb avatar Oct 05 '20 12:10 Dominiquedb

@Dominiquedb Sorry for my late reply, gonna have a look at those tomorrow nerd_face

Thanks for looking into it, and your reply was actually very fast, 10 hours is definitely not a late reply

Thanks! I added autohiding to both, ex/master and ex/nightly branches on my fork now too. Tested on my device and both are working great for me, could you test it and tell me if its working for you too? https://github.com/JustMeDaFaq/sm64-port-android @Dominiquedb

JustMeDaFaq avatar Oct 05 '20 18:10 JustMeDaFaq

@Dominiquedb Sorry for my late reply, gonna have a look at those tomorrow nerd_face

Thanks for looking into it, and your reply was actually very fast, 10 hours is definitely not a late reply

Thanks! I added autohiding to both, ex/master and ex/nightly branches on my fork now too. Tested on my device and both are working great for me, could you test it and tell me if its working for you too? https://github.com/JustMeDaFaq/sm64-port-android @Dominiquedb

You are the man, I just tested ex/master and ex/nightly, both work great, this auto hiding is just perfect, it really adds a lot to the app for me. Time for me to try if my phone can handle render 96

edit: just got the render96 working with the disappearing touch controls, looks beautiful, but my phone (xiaomi redmi note 8t, sd665 - 4GB ram) can't handle it at 60fps, speed will remain at 100% but the frames will drop occasionally, got as low as 19fps, still very playable but I prefer regular graphics at a stable frame rate

Dominiquedb avatar Oct 05 '20 19:10 Dominiquedb