<div class="markdown_content"><p>Okay, I have a good fix checked in for the first half of this bug. I understand why the analog stick stopped working. The code that shows/hides the virtual gamepad had to clear arrow key presses to prevent stuck keys when the shown/hidden state changed. This made the commands to show/hide the virtual gamepad unsafe to call every tick, which is exactly what revision 7449 was doing.</p>
<p>As for the lack of D-pad support, I will have to look into that later.</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> Wed Nov 25, 2015 04:33 AM 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>