krabobmkd / amigamame

Port of Mame106 (2006) to Amiga classic 68060, using bebbo gcc6.5 crosscompiler and cmake.
GNU General Public License v2.0
3 stars 0 forks source link

A1200 rev1d4 Keyboard multiple pressing of 2 or more keys #17

Open gtv3000 opened 1 month ago

gtv3000 commented 1 month ago

when I use the directional arrows plus an action button they don't work at the same time, but only one at a time, while with the 2 or 7 button controller of the CD32 it works correctly

krabobmkd commented 4 weeks ago

Hello, Yes i've just tested that. The sad thing is on UAE it works ok. I rely on intuition for this. i'll investigate.

gtv3000 commented 4 weeks ago

Hello, Yes i've just tested that. The sad thing is on UAE it works ok. I rely on intuition for this. i'll investigate.

if it can help you, the keyboard controller of the a600 and a1200 is different from all the other amigas (timings?) To confirm I also have 1 Amiga 500 with Pistorm and Raspberry P3a+ and I'll see if it has the same problem. Thanks ..

krabobmkd commented 3 weeks ago

.. So I just managed to disable the generation of "repeat keys", It gains a bit of reactivity, but sadly the "interblockage" of keys can't be corrected and is a hardware limitation specific to most A1200 and A500 keyboard. Arrows Keys and most modifier keys alt/amiga/shift would not block each other, but then arrow keys will bock all letters and each letter would block its line when kept pressed. This is said to "not happen" with A4000 "mecanichal" keyboards and UAE. I recoded amig_input.cpp using keyboard.device instead of intuition IDCMP but have same issue. So I will just let the second player keys as configured by default for the machines where it work, and write some documentation to warn user at some point. "Better use CD32 Pads."

gtv3000 commented 2 weeks ago

I tried the mame106rev3cBeta on A500rev6a Mitsumi with keyboard and I can use the direction keys + 2 fire keys to shoot at the same time, I tried some 2-key roms without problems

krabobmkd commented 2 weeks ago

I tried the mame106rev3cBeta on A500rev6a Mitsumi with keyboard and I can use the direction keys + 2 fire keys to shoot at the same time, I tried some 2-key roms without problems

Hello, the problem occur when using two player: the arrow keys of the first player each blocks a full line of letters, also each letter keys blocks other keys on the same line. Basically only modifier keys (amiga shift alt) doesn't interblock anything.