<div class="markdown_content"><p>Maybe it has something to do with r6970, which changed anykeypressed:</p>
<p>Author: teeemcee <a href="mailto:teeemcee@7d344553-34f0-0310-a9b1-970ce8f1c3a2">teeemcee@7d344553-34f0-0310-a9b1-970ce8f1c3a2</a><br/>
Date:   Mon Jan 26 09:11:04 2015 +0000</p>
<div class="codehilite"><pre>On-keypress scripts now triggered every tick when a key or mouse button is held.

Previously they'd only be triggered each tick for move, use and cancel
keys (since those also set carray()), and only triggered on mouse clicks
</pre></div>


<p>I think I see a bug!<br/>
DECLARE FUNCTION anykeypressed (byval checkjoystick as bool = YES, trigger_level as integer = 0) as integer<br/>
does not match<br/>
function anykeypressed (byval checkjoystick as bool = YES, trigger_level as integer = 1) as integer</p>
<hr/>
<p><strong> <a class="alink" href="http://sourceforge.net/p/ohrrpgce/bugs/2015/">[bugs:#2015]</a> Arrow keys broken for gamepads on Android port</strong></p>
<p><strong>Status:</strong> open<br/>
<strong>Milestone:</strong> OHRRPGCE<br/>
<strong>Created:</strong> Sun Nov 15, 2015 08:43 PM UTC by Bob the Hamster<br/>
<strong>Last Updated:</strong> Sun Nov 15, 2015 08:43 PM UTC<br/>
<strong>Owner:</strong> nobody</p>
<p>I am not sure when this started, but arrow key handling is totally broken on the Android port when playing with a gamepad (OUYA, Gamestick, FireTv)</p>
<p>This is most easily demonstrated with <a href="http://hamsterrepublic.com/tmp/inputtest-release-signed.apk" rel="nofollow">http://hamsterrepublic.com/tmp/inputtest-release-signed.apk</a></p>
<p>When playing inputtest on Windows/Mac/Linux or Android with the on-creen virtual gamepad, the arrow keys work as expected, turning red when pressed, or pink when held down.</p>
<p>When using a gamepad on an Android Console, pressing the analog stick causes the arrow keys to flicker green for a single tick, and then nothing. As for the D-Pad, it does absolutely nothing on a FireTV, and on an OUYA, the D-pad makes the arrow keys flicker green for one tick, remain dark for a few ticks, and then stay on solid green.</p>
<p>This definitely wasn't happening 10 months ago, so something has changed since then, but danged if I know what yet.</p>
<hr/>
<p>Sent from sourceforge.net because ohrrpgce@lists.motherhamster.org is subscribed to <a href="https://sourceforge.net/p/ohrrpgce/bugs/">https://sourceforge.net/p/ohrrpgce/bugs/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/ohrrpgce/admin/bugs/options.">https://sourceforge.net/p/ohrrpgce/admin/bugs/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>