AOF-Dev / MCinaBox

MCinaBox - A Minecraft: Java Edition Launcher for Android. An Encapsulation of [CosineMath's BoatApp](https://github.com/AOF-Dev/BoatApp).
GNU General Public License v3.0
1.27k stars 179 forks source link

Mouse pointer issues #675

Open MatStef132 opened 3 years ago

MatStef132 commented 3 years ago

Describe the bug There are 2 bugs that I found with the mouse pointer

  1. It doesn't get captured, so when you get to the bounds of the screen it just stops (I have shown it on the video)
  2. The clicking doesn't completly work (right or left) and you have to use the on-screen mouse buttons

To Reproduce Steps to reproduce the behavior: Launch MCinaBox Plug a usb mouse to your device Try things I metioned above You will see that they are true

Expected behavior Right and left click should both do their thing (place and mine). Also the mouse should be captured, so you can spin infinitly.

Screenshots I don't have a screenshot, because it wouldn't make any sense. I have a video here that shows the mouse capturing problem: https://youtu.be/YX0VJdTwpZw

Smartphone

Additional context To test it I used a usb mouse with a usb c-usb a adapter

iscle commented 3 years ago

Hi!

Thanks for reporting this issue. I already knew about it, and right now it can't be fixed, it's an Android limitation.

It might be possible to fix it for Android Oreo and higher, but I wasn't able to do it when I tried.

It will have to wait...