I haven't seen this on the forums, and I know this has been a problem.
Anyone using Android TV or a Chromebook has this issue. Starting with 8.0, the Android port of ScummVM can use the requestPointerCapture feature, allowing the standard cursor to be replaced by the application's cursor.
Double Mouse Cursor - Solved in Android 8
Moderator: ScummVM Team
-
- Posts: 1
- Joined: Sat Jun 09, 2018 7:49 pm
Re: Double Mouse Cursor - Solved in Android 8
Is this already the case (can't find any commits stating that it is), or does this still need to be implemented?gregoryoyork wrote: ↑Thu Aug 30, 2018 9:51 pm I haven't seen this on the forums, and I know this has been a problem.
Anyone using Android TV or a Chromebook has this issue. Starting with 8.0, the Android port of ScummVM can use the requestPointerCapture feature, allowing the standard cursor to be replaced by the application's cursor.
This might be somewhat naive to ask, but:
If it needs to be implemented, could somebody point me to the right repository or possibly even the file where this could/should be done?
e.g.: https://github.com/scummvm/scummvm/tree ... rm/android ?
I haven't developed for Android in quite some time, but would be willing to try...
Re: Double Mouse Cursor - Solved in Android 8
Dragoth: A quick search of the website and wiki would have thrown up this...
https://wiki.scummvm.org/index.php/Developer_Central
https://wiki.scummvm.org/index.php?titl ... ng_ScummVM
https://wiki.scummvm.org/index.php?titl ... VM/Android
https://wiki.scummvm.org/index.php?titl ... ndroid-SDL
The SDL based backend is the newer one... Submissions for patches as Github Pull Requests as you indicate.
https://wiki.scummvm.org/index.php/Developer_Central
https://wiki.scummvm.org/index.php?titl ... ng_ScummVM
https://wiki.scummvm.org/index.php?titl ... VM/Android
https://wiki.scummvm.org/index.php?titl ... ndroid-SDL
The SDL based backend is the newer one... Submissions for patches as Github Pull Requests as you indicate.
Re: Double Mouse Cursor - Solved in Android 8
I already found your linked docs/tutorials beforehand- i was just hoping that maybe a developer had some idea how to implement it and could point me in the right direction. Nevertheless, thanks for your post! (no sarcasm)
I had some time to read through some of the source in the android port of ScummVM and have some ideas. Once i get a little free time I'll make a pullrequest.
For anyone else interested:
From androidpolice: https://www.androidpolice.com/2017/05/1 ... e-pointer/
...using the new requestPointerCapture method. This will cause the on-screen pointer to disappear, and all mouse events will be transmitted to the application.
Android will automatically release the pointer capture if the app is closed or otherwise loses focus.
Android documentation: https://developer.android.com/training/ ... er-capture
Re: Double Mouse Cursor - Solved in Android 8
No problem. Will look forward to any Pull Requests
- SubElement
- Posts: 17
- Joined: Sun Oct 20, 2013 2:30 pm
Re: Double Mouse Cursor - Solved in Android 8
Sorry to bring up a year old thread, but was this ever implemented?
I'm running this on my ShieldTV and I am still seeing double cursors in ScummVM.
I'm running this on my ShieldTV and I am still seeing double cursors in ScummVM.
-
- Posts: 17
- Joined: Sat Feb 03, 2018 3:45 pm
Re: Double Mouse Cursor - Solved in Android 8
Can you give this PR a try, and see if that fixes the issue?SubElement wrote: ↑Mon Oct 14, 2019 5:52 am Sorry to bring up a year old thread, but was this ever implemented?
I'm running this on my ShieldTV and I am still seeing double cursors in ScummVM.
- SubElement
- Posts: 17
- Joined: Sun Oct 20, 2013 2:30 pm
Re: Double Mouse Cursor - Solved in Android 8
Would I have to compile this myself? If so, I don't know how sorry.ccawley2011 wrote: ↑Tue Oct 15, 2019 4:09 pmCan you give this PR a try, and see if that fixes the issue?SubElement wrote: ↑Mon Oct 14, 2019 5:52 am Sorry to bring up a year old thread, but was this ever implemented?
I'm running this on my ShieldTV and I am still seeing double cursors in ScummVM.
-
- Posts: 1
- Joined: Sat Jul 25, 2020 11:52 am
Re: Double Mouse Cursor - Solved in Android 8
It looks like the pull request has already been merged in the master branch.
I'm running ScummVM version 2.1.1 in RetroArch on an Nvidia Shield TV (2019 version) but there the issue still persists.
Maybe, when I can find some time, I'll try to make a custom build with some logging etc. to see if I can find a solution.
But I hope someone else can find a fix since I'm not experienced with Android development.
I'm running ScummVM version 2.1.1 in RetroArch on an Nvidia Shield TV (2019 version) but there the issue still persists.
Maybe, when I can find some time, I'll try to make a custom build with some logging etc. to see if I can find a solution.
But I hope someone else can find a fix since I'm not experienced with Android development.
- Praetorian
- ScummVM Developer
- Posts: 884
- Joined: Tue May 08, 2007 8:54 am
- Location: Greece
- Contact:
Re: Double Mouse Cursor - Solved in Android 8
If you have the time and the motivation (and since you also own a device where the bug fix did not work), then go for it.marcselman wrote: ↑Sun Jul 26, 2020 6:01 pm It looks like the pull request has already been merged in the master branch.
I'm running ScummVM version 2.1.1 in RetroArch on an Nvidia Shield TV (2019 version) but there the issue still persists.
Maybe, when I can find some time, I'll try to make a custom build with some logging etc. to see if I can find a solution.
But I hope someone else can find a fix since I'm not experienced with Android development.
I've been meaning to look into this issue again, but there are other tasks that have priority over it and, since progress on the port is very slow as of late, any help is much appreciated.
Also, I would not call myself an experienced Android developer either
If you are familiar with Docker, I'm maintaining a Docker image with the (latest) Android toolchain set up here:
https://github.com/antoniou79/scummvm-android