[Ohrrpgce] [ohrrpgce:bugs] #2015 Arrow keys broken for gamepads on Android port

Bob the Hamster bob_the_hamster at users.sf.net
Tue Nov 24 20:33:45 PST 2015


I finally had time to bisect my way through the history and find when this bug started.

> r7449 | james | 2015-09-09 10:28:58 -0700 (Wed, 09 Sep 2015) | 3 lines
> 
> Clean-up of update_virtual_gamepad_display()
> It is now called on each tick, and no longer needs special arguments for being called
> when advancing text boxes or inside battle

This was the revision where instead of calling update_virtual_gamepad_display() after each special menu, I switched to calling it once every tick (which fixed the "Hide V. Gamepad When Suspendplayer" feature to work properly)

I have not yet figured out exactly why this screws up just the arrow keys, and not the other buttons on the virtual gamepad.



---

** [bugs:#2015] Arrow keys broken for gamepads on Android port**

**Status:** open
**Milestone:** OHRRPGCE
**Created:** Sun Nov 15, 2015 08:43 PM UTC by Bob the Hamster
**Last Updated:** Tue Nov 24, 2015 05:48 PM UTC
**Owner:** nobody


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)

This is most easily demonstrated with http://hamsterrepublic.com/tmp/inputtest-release-signed.apk

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.

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.

This definitely wasn't happening 10 months ago, so something has changed since then, but danged if I know what yet.


---

Sent from sourceforge.net because ohrrpgce at lists.motherhamster.org is subscribed to https://sourceforge.net/p/ohrrpgce/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/ohrrpgce/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20151125/b319df47/attachment.htm>


More information about the Ohrrpgce mailing list