<p></p>
<p dir="auto">Hah, that's amusingly dumb. That's a decent solution, but also a timeout would be reasonable; <code class="notranslate">waitforkeyrelease</code> was only intended to wait a couple ticks anyway.</p>
<p dir="auto"><code class="notranslate">waitforkeyrelease</code> waits for a joystick analog stick exactly when it would register as a keypress in-game; it calls <code class="notranslate">anykeypressed</code> which calls <code class="notranslate">keyval</code>.</p>
<p dir="auto">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?</p>
<p dir="auto">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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1245#issuecomment-1242938640">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZUOZOIDBRI3K5SMF2DV5W3HZANCNFSM6AAAAAAQG3JNTI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AMWGWZXY4IHG4PC5N4XMAP3V5W3H3A5CNFSM6AAAAAAQG3JNTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSKCW6RA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><ohrrpgce/ohrrpgce/issues/1245/1242938640</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/1245#issuecomment-1242938640",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/1245#issuecomment-1242938640",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>