Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard and mouse can hang in MiniMig #149

Open
Torti-the-Smurf opened this issue Jan 30, 2024 · 6 comments
Open

Keyboard and mouse can hang in MiniMig #149

Torti-the-Smurf opened this issue Jan 30, 2024 · 6 comments

Comments

@Torti-the-Smurf
Copy link

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
Copy link
Contributor

gyurco commented Jan 30, 2024

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
Copy link
Contributor

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
Copy link
Contributor

harbaum commented Jan 31, 2024

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

Torti-the-Smurf commented Feb 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants