• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How to use pointer capture for MCPE

Nippl3S

Lurker
Hey guys, how do you use pointer capture for minecraft pocket edition? Because i can't look around without holding the left button.

So what is pointer capture and how do i use it without root? any ideas thanks.

Device : SAMSUNG J4 (2018)
Ver : Android 8.0.0
 
Last edited:
Hey sorry you can't do that. Android does not use mouse like a computer.

Hmmm, then the Fouk is this?


Pointer capture

Some apps, such as games, remote desktop, and virtualization clients, greatly benefit from getting control over the mouse pointer. Pointer capture is a new feature in Android 8.0 (API level 26) that provides such control by delivering all mouse events to a focused view in your app.

Starting in Android 8.0, a View in your app can request pointer capture and define a listener to process captured pointer events. The mouse pointer is hidden while in this mode. The view can release pointer capture when it doesn't need the mouse information anymore. The system can also release pointer capture when the view loses focus, for example, when the user opens another app.

For information on how to use this feature in your app, see Pointer capture.

SOURCE: https://developer.android.com/about/versions/oreo/android-8.0#pc
 
Back
Top Bottom