fuse-libretro icon indicating copy to clipboard operation
fuse-libretro copied to clipboard

virtual keyboard pressed multiple times

Open metallic77 opened this issue 1 year ago • 2 comments

On arm linux handheld and android. When press a key in virtual keyboard, example in combat school press 2 to change joystick it gets pressed multiple times like 6-7 times.

metallic77 avatar Dec 02 '24 10:12 metallic77

Hello @metallic77

The best you can do is to configure:

Core Options -> Time to Release Key in ms: 100 [ms]

Unfortunately, the only method of reading the keyboard on the ZX Spectrum is polling, so if the game doesn't wait for the key to be released that will happen even with a real keyboard. You can try adding a USB keyboard to your device.

I might add a smaller value like "a frame" in the next release: 16.6 [ms] (NTSC) or 20 [ms] (PAL).

Thank you!!

jfroco avatar Dec 16 '24 22:12 jfroco

Yeah it works properly this way, thanks for the workaround.

metallic77 avatar Dec 17 '24 06:12 metallic77