libretro / vice-libretro

Versatile Commodore 8-bit Emulator
GNU General Public License v2.0
40 stars 70 forks source link

Touchscreen virtual keyboard and zoom oddities #431

Closed zzedmore closed 2 years ago

zzedmore commented 2 years ago

Hi, the touchscreen virtual keyboard feels off with any amount of zoom. Pressing a key on the touchscreen triggers a different place. The more zoom the worse it gets. For instance, with Automatic zoom (maximum), pressing the Up, down or left cursor triggers the right cursor.. Basically, all keys near the outside edge of the keyboard dont press the correct key. This is the first time i've used the touchscreen for the virtual keyboard so not sure when this began occurring. (Android 11).

For reference, I checked the PUAE core's virtual keyboard with zoom and that responds correctly. I can rule out the beer 😄 (i think).

sonninnos commented 2 years ago

Does the "Zoom Mode Crop" option make any difference with it and/or how about with manual cropping?

zzedmore commented 2 years ago

Yes it also seems to happen with 'zoom mode crop - horizontal, vertical etc.', at it's worse with maximum zoom. (And manual zoom, the more you crop the worse it gets.) If I turn zoom off, it seems to work fine. (My screen is 1080p).

sonninnos commented 2 years ago

This is rather annoying, since doing the exact same testing with this and PUAE, I can't replicate anything odd with the pointer regarding VKBD keys at different zoom levels. The test is drawing a pixel on the exact pointer point, and it follows VKBD keys as it should. So the problem is somewhere else.

I can try some shootings in the dark soon which do not seem to make my tests any worse at least.

And for some magical reason now that I tried to use the core on my Android phone, there are no VICE cores to download, only Frodo and PUAE, and

Download of 'info.zip' failed: Internal error.

And this is with RetroArch Plus from the store..

zzedmore commented 2 years ago

The core info.zip (and cores) download fine for me. I get my Retroarch from -

http://buildbot.libretro.com/nightly/android/

Something else i've noticed is that your Vice and PUAE cores update daily on the buildbot even when there hasn't been any commits. Bit weird.

sonninnos commented 2 years ago

Okeydoke, I did some test changes, so please keep me posted once the build is ready.

zzedmore commented 2 years ago

That seems to have fixed it! Thankyou. 😄

sonninnos commented 2 years ago

Yeehaa, first hit, not bad for a shot from the hip!