[Ohrrpgce] [ohrrpgce/ohrrpgce] waitforkeyrelease broken on some Linux boxes under unknown conditions (Issue #1245)

Ralph Versteegen notifications at github.com
Sun Sep 11 03:57:01 PDT 2022


Hah, that's amusingly dumb. That's a decent solution, but also a timeout would be reasonable; `waitforkeyrelease` was only intended to wait a couple ticks anyway.

`waitforkeyrelease` waits for a joystick analog stick exactly when it would register as a keypress in-game; it calls `anykeypressed` which calls `keyval`.

Stuck joystick buttons seem to be a very common problem. This must be at least the 3rd or 4th time I've heard of someone being confused by a depressed button on a gamepad that's plugged in but not in use. And my own PS1 controller has a permanently stuck thumbstick button when I turn on analog mode. Maybe we should automatically detect and ignore stuck buttons?

Plus also checking joystick buttons in Custom seems to cause a lot of problems because of reasons like this, so as I said before it's safer to just disable it by default.



-- 
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1245#issuecomment-1242938640
You are receiving this because you are subscribed to this thread.

Message ID: <ohrrpgce/ohrrpgce/issues/1245/1242938640 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20220911/509bdef2/attachment.htm>


More information about the Ohrrpgce mailing list