mist-devel / mist-binaries

Firmware and core binaries for the MIST board
202 stars 48 forks source link

Keyboard and mouse can hang in MiniMig #149

Open Torti-the-Smurf opened 5 months ago

Torti-the-Smurf commented 5 months ago

Hi.

A little question that bugs me since years :) (minimig releated)

Is it the "fault" of the Core or the Firmware that the keyboard and mouse can get stuck/hang on an input.

Let me explain: With the mouse, i work on the Workbench and all the sudden, the last LMB get stuck (like its still pressed) and the only way to resolve it, is to move the mouse, then the Button will be released.

Same think happends with the keyboard, especially in Pinball games (not in pinball dreams) but in pinball fantasies, Pinball Brain damage, pinball mania, obsession, ect...

just try to hit both flippers at the same time... and do that often ... you will see soon or later, depending on the game, its either not possible to hit both keys at the exact same time... or that a input hangs (flipper is still up, even if nothing is pressed)

Any ideas ... ? and will it get fixed ; eventually ;) ?

Greetings and BIG thanks, Torti

gyurco commented 5 months ago

I never experienced such thing, also nobody reported it yet, so it must be a local thing to you. The joystick stuck in OSD is already fixed in the firmware.

robinsonb5 commented 5 months ago

It's worth trying another keyboard and mouse. (I have one mouse which behaves as you describe when used with Windows XP - but the same mouse is fine in Windows 10. I'd have said it was impossible if I hadn't seen it myself.)

harbaum commented 5 months ago

This is the behaviour I'd expect to see when USB problems happen. Then the packet indicating a key being released or a button isn't pressed, anymore may be lost.

The host then never learns that the key or button has been released until the next keyboard or mouse data packet being received. And this happens if you move the mouse or press another key.

Indeed, using a different device may solve the issue.

But this should then be independent of the running core or software.

Torti-the-Smurf commented 5 months ago

Thanks for the infos guys.

The interesting thing is... when i do the keyboard test in the Mist OSD ... it never behaves like that. (that a button get stuck) ... its only in the MiniMig Core and only in some of the pinball games.

Didnt you (Robinson) also said once, you where unable to press both flippers at the same time in pinball mania or was it pinball brain damage....

Hmmm... Its also weird that some pinball games; like pinball dreams work just fine.

Maybe it has something to do with the slaves ..... ?

Speaking of slaves...

I did find out that some of the sound problems are slave/game related. Depending on the game and the slave version. Disposable Hero was a tricky one.

It has a weird soundplayer or is very timing sensitive; because i also saw similar results in some WinUAE videos. So i tried ALL the slaves and Whdload versions... (that took a while :)

Only ONE slave (older one) and one version of a WHDLoad exe is working 100% correct. (and it has to be the exact combo of both)

Also, some sound issues can come from a player not handling the CACHE correcty, so the cache has to be disabled. somthing like CHIPNOCACHE can help, or ExpChip if its a smaller game. Anyway, getting of topic here ;)

In any case,thanks for all the infos and stuff. very much appreciated !!!

Yours, Torti

Torti-the-Smurf commented 5 months ago

Tested another USB Keyboard. Same result.

Those are the Pinball Games that have Issues : (pretty much the same problem in all of them ; cant press 2 keys at the same time, or hang very easily) Pinball Mania Obsession Pinball Prelude Brain Damage

and those work without any problem. !! Pinball Dreams Pinball Fantasies Pinball Illusions Slam Tilt.

No Keyboard problem anywhere, only in those that are in the first List. Weids; some odd keyboard routines ?

Btw. I did set the Mouse "controls back to default" (double cklick time) and since then i had no more mouse hanging (or just luck).

greetings

Torti-the-Smurf commented 4 months ago

Do you think those games handle the Keyboard interrupt in a different fashion, like described here? (and my tests always refering to the AGA side)

http://zakalwe.fi/~shd/amiga-cracking/agafix-v1.html