I think that all sounds good to me. I think the reason I mapped all android joystick stuff through keyboard keys is because OUYA was gamepad-only and I wanted existing games to work even if they scripted keyval checks to the arrow keys.<div><br></div><div>I agree that the multiple gamepad stuff should be deprecated. (I think I might be the only person to ever use it?) As long as the stuff for the first gamepad still works that is good enough</div><div><br></div><div>I like your plan for the second argument to keyval<br><br>On Thursday, October 25, 2018, Ralph Versteegen <<a href="mailto:teeemcee@gmail.com">teeemcee@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">James, is there any reason that all these arrowset functions read<br>
keyboard keys, to which gamepad buttons have been mapped, instead of<br>
just reading a gamepad directly?<br>
I'l like the get rid of all of these functions, and instead handle<br>
controls in allmodex, with multiple carray() arrays, one per player.<br>
Since multiple gamepad support is only used for Ouya, which is dead, I<br>
guess I don't need to worry too much about not breaking anything, as<br>
long as at least the first arrowset continues to work.<br>
<br>
Also, my plan is to make the second argument to keyval/keyispressed<br>
specify the joystick number if used with a joy: constant, specify the<br>
player number if used with a "* key" virtual key code, and do nothing<br>
with key: constants.<br>
______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" target="_blank">http://lists.motherhamster.<wbr>org/listinfo.cgi/ohrrpgce-<wbr>motherhamster.org</a><br>
</blockquote></div>