Hi,
I’m making a game for schools that use Chromebooks with and without touchscreen.
Issue is that the Chromebook doesn’t let my game get the mouse’s position. Left click is registered but the mouse position doesn’t change. Cursor is just floating on the screen without affecting the game.
I know that there is a Java method that requests for pointer capture. Information about this can be found from Android dev site: Track touch and pointer movements | Android Developers
I tried including Java code to my gameactivity.java but nothing happens. I’m not a coder so I might be doing all wrong on Java-side and the gameactivity might not even be the right place to go to.
Can someone suggest a work-about on this issue?
Cheers