-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android built-in cursor displayed on top of the game's own cursor #4373
Comments
Can you confirm
|
well it was too late, but just telling you. Once agai sorry, whatever u reading this or not, and my english was bad |
AFAIK there's no proper way to hide the cursor in Android, there isn't any API for it. I guess this may be a |
The fact that the other game they tested hides the cursor means there may be some sort of way for this, but I'm not sure whether that statement is correct nor I can confirm it at the moment. |
Tested on Redmi 5A. Games such as Minecraft and Unity games like Arknights and Azur Lane show the pointer is present. As said by @sr229, there's lack of proper APIs to be able to hide the system cursor. |
It's possible to hide the cursor: https://developer.android.com/training/gestures/movement#pointer-capture I currently have a WIP branch that has pointer capture It should be mostly working. I think there are some bugs, such as rhe mouse not working if absolute input was never received (eg. touch input). |
This comment has been minimized.
This comment has been minimized.
This is only for API level 26, we should be supporting Android N as well since it's still supported? |
The enable can be conditional if the functionality is not available via lower Android APIs. But it should not crash on devices that don't support it. |
This comment has been minimized.
This comment has been minimized.
@ravCraft no further input is required from you here. please wait for a fix to arrive. |
Describe the bug:
I'm playing osu Lazer with keyboard and mouse on android. But there's a problem at the cursor ( Android cursor won't dissapear, The cursor will overlap with the game default cursor)
Screenshots or videos showing encountered issue:
And also, i can't drag with my cursor and game cursor, both cursor are useless.
Disable mouse button in gameplay aren't working
osu!Lazer version:
2021.416.0
Logs:
runtime.log
The text was updated successfully, but these errors were encountered: