<div dir="auto">Ah, okay, that makes more sense.<div dir="auto"><br></div><div dir="auto">And you are right, Don't Eat Soap never did use joystick. It used the Android support for mapping gamepad to keys. I can test that on my old OUYA, I just haven't rebuilt anything for it recently.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 26, 2020, 11:53 PM Ralph Versteegen <<a href="mailto:teeemcee@gmail.com">teeemcee@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Actually, the eatsoap scripts don't read the joystick at all. But maybe you're referring to platform specific keys?</div><div><br></div><div>On PC, Space to bubble doesn't work. Is that what you mean? It's because of this line in "handle keys":</div><div>  if(any player menu key || keyval(key:Enter) >> 1) then(pause menu)</div><div>That hits bug 1106 <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1106" target="_blank" rel="noreferrer">https://github.com/ohrrpgce/ohrrpgce/issues/1106</a></div><div>I forgot to put the bug on my todo list! I definitely wanted to fix that one too.</div><div><br></div><div>However even with that bugfix, it looks like joystick controls on PC aren't going to work, and they never worked, so that's OK. I'm not sure whether mobile & console gamepad controls will work.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 27 Apr 2020 at 09:49, James Paige <<a href="mailto:Bob@hamsterrepublic.com" target="_blank" rel="noreferrer">Bob@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">> Not a big deal, I'm sure it will be an easy fix</div><div dir="ltr"><br></div><div>I want to clarify that I meant this will be easy to fix in Don't Eat Soap's scripts. I don't think this really calls for an engine fix.<br></div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 26, 2020 at 5:48 PM James Paige <<a href="mailto:Bob@hamsterrepublic.com" target="_blank" rel="noreferrer">Bob@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I just now noticed that this bit breaks a few of the keyboard controls for Don't Eat Soap.</div><div><br></div><div>Possibly a result of having manual scripting that checks both joysticks and keyboard keys and now some of those checks return true twice for a keyboard key.</div><div><br></div><div>Not a big deal, I'm sure it will be an easy fix, I just wanted to mention it in case we run across any other similar issues with old games that scripted for joystick support.</div><div><br></div><div>---</div><div>James Paige</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 12, 2019 at 9:04 AM Ralph Versteegen <<a href="mailto:teeemcee@gmail.com" target="_blank" rel="noreferrer">teeemcee@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This bit is a quick fix; I might replace it later with detailed<br>
settings for defining the joystick to keyboard mapping.<br>
I also wanted to extend it to map 3rd and 4th (and more) joystick<br>
buttons to Z and Shift, since I think those are the most common<br>
special keys used ... or maybe Z and X? Currently 3rd and 4th buttons<br>
are alternative Use and Cancel. But maybe there are some joysticks<br>
where 3rd and 4th buttons are 'handier'/more primary than 1st and 2nd.<br>
<br>
Also, it seemed kind of odd to have a settings to stop joysticks from<br>
acting like keyboard controls for scripts only, but not have any way<br>
to prevent joystick controls from working for moving the hero.<br>
But I think that should probably be a separate setting: Currently, you<br>
could say that keyboard, mouse, and all joysticks control player 1,<br>
but if you enable multiplayer controls (similar to how Ouya controls<br>
currently work) then the first joystick might become assigned player<br>
2. And in that case, Left on joy 1 shouldn't register as key:left if<br>
you're reading player 1's controls regardless of this bit.<br>
<br>
Also it would be worth testing with some games that actually do use<br>
joystick script commands. I recall you suggested that only Ouya games<br>
might have actually cared about distringuishing between different<br>
controllers/keyboard.<br>
<br>
On Tue, 12 Feb 2019 at 23:45, James Paige <<a href="mailto:Bob@hamsterrepublic.com" target="_blank" rel="noreferrer">Bob@hamsterrepublic.com</a>> wrote:<br>
><br>
> Oh, cool! I can't wait to try this out!<br>
><br>
> (Just need to order a gamepad and wait for it to ship!...)<br>
><br>
> On Tuesday, February 12, 2019, <<a href="mailto:subversion@hamsterrepublic.com" target="_blank" rel="noreferrer">subversion@hamsterrepublic.com</a>> wrote:<br>
>><br>
>> teeemcee<br>
>> 2019-02-11 22:05:02 -0800 (Mon, 11 Feb 2019)<br>
>> 75<br>
>> Add "Map joystick controls to keyboard keys for scripts" bit, on by default<br>
>> ---<br>
>> U   wip/common_menus.bas<br>
>> U   wip/docs/plotdict.xml<br>
>> U   wip/ohrhelp/general_game_bitsets.txt<br>
>> U   wip/scriptcommands.bas<br>
>> U   wip/whatsnew.txt<br>
>> _______________________________________________<br>
>> Ohrrpgce mailing list<br>
>> <a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank" rel="noreferrer">ohrrpgce@lists.motherhamster.org</a><br>
>> <a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
><br>
> _______________________________________________<br>
> Ohrrpgce mailing list<br>
> <a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank" rel="noreferrer">ohrrpgce@lists.motherhamster.org</a><br>
> <a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank" rel="noreferrer">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>
</blockquote></div></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank" rel="noreferrer">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank" rel="noreferrer">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>