ok, thanks. <div>I'll push the solution I suggested, I'll fix it if anybody provides a better way<div><br></div><div>Best regards,</div><div>Arnaud</div><div><br><br><div class="gmail_quote">On Sat, Feb 23, 2013 at 6:27 PM, Willem Jan Palenstijn <span dir="ltr"><<a href="mailto:wjp@usecode.org" target="_blank">wjp@usecode.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Sat, Feb 23, 2013 at 06:08:02PM +0100, Arnaud Boutonné wrote:<br>
> Dear team,<br>
><br>
> I thought I already sent a mail on -devel about that, then clone2727 to<br>
> prove me I was wrong.<br>
><br>
> In Soltys (CGE engine), there's a puzzle requiring the user to<br>
> simultaneously press the ALT key and to click on an object in the game.<br>
> At this time, I have no solutions to work around this. In my humble<br>
> opinion, using the virtual keyboard and click in the game is not possible<br>
> on several platforms<br>
><br>
> The solution I was about to push is a workaround based on the OS defined:<br>
> #if defined(WIN32) || defined(UNIX) || defined(MACOSX) || defined(MOTOEZX)<br>
> || defined(LINUPY) || defined(LINUXMOTO_SDL)<br>
> if (spr->_ref == 1 && _keyboard->_keyAlt) {<br>
> #else<br>
> if (spr->_ref == 1 && _gameCase2Cpt > 1) {<br>
> #endif<br>
><br>
> Another solution suggested by clone2727 is to use the keymapper, but I'm<br>
> not sure it's working in all case (typically, when the virtual keyboard is<br>
> involved)<br>
><br>
> The puzzle itself is not fascinating, I don't think it's a great loss to<br>
> partially skip the scene when the ALT key is not available.<br>
> The puzzle consist of winning a dice game against 2 guys and a goat. You<br>
> get an obscure hint about the alt key after playing dice 5 times,<br>
> then it gives a more clear hint (always the same) after 10, 15, 20, 25 and<br>
> 30 tries, then it gives no more clue.<br>
><br>
> The workaround makes Soltys win the game on the 2nd try.<br>
<br>
</div></div>That seems fine. From how you describe the puzzle, it really doesn't seem worth<br>
the effort to do more...<br>
<span class="HOEnZb"><font color="#888888"><br>
-Willem Jan<br>
</font></span></blockquote></div><br></div></div>