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

TeeEmCee teeemcee at users.sf.net
Mon Nov 16 03:50:03 PST 2015


Maybe it has something to do with r6970, which changed anykeypressed:

Author: teeemcee <teeemcee at 7d344553-34f0-0310-a9b1-970ce8f1c3a2>
Date:   Mon Jan 26 09:11:04 2015 +0000

    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
    
   
I think I see a bug!
DECLARE FUNCTION anykeypressed (byval checkjoystick as bool = YES, trigger_level as integer = 0) as integer
does not match
function anykeypressed (byval checkjoystick as bool = YES, trigger_level as integer = 1) as integer




---

** [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:** Sun Nov 15, 2015 08:43 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/20151116/c382722f/attachment.htm>


More information about the Ohrrpgce mailing list