<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - I have problems with "isKeyPressed ()" in laptops]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=1138</link>
		<description><![CDATA[The most recent posts in I have problems with "isKeyPressed ()" in laptops.]]></description>
		<lastBuildDate>Wed, 19 Aug 2015 07:25:05 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: I have problems with "isKeyPressed ()" in laptops]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=7594#p7594</link>
			<description><![CDATA[<p>and if it&#039;s not enough, in the function &quot;gameWinEvents&quot; add :</p><div class="codebox"><pre><code>case MWIN_EVENT_CHAR:
        {
            unsigned int key = windowEvents-&gt;data[0];
            const char * name = getKeyName(key);
            if(name)
                input-&gt;downKey(name);
        }
        break;</code></pre></div><p>(to be tested)</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Wed, 19 Aug 2015 07:25:05 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=7594#p7594</guid>
		</item>
		<item>
			<title><![CDATA[Re: I have problems with "isKeyPressed ()" in laptops]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=7593#p7593</link>
			<description><![CDATA[<p>yes, but you&#039;ll have to compile Maratis from source.</p><p>open &quot;MGameWinEvents.h&quot;, in the function &quot;getKeyName&quot;, in the &quot;switch(key)&quot;</p><p>change:</p><div class="codebox"><pre><code>    case MKEY_KP0: return &quot;0&quot;;
    case MKEY_KP1: return &quot;1&quot;;
    case MKEY_KP2: return &quot;2&quot;;
    case MKEY_KP3: return &quot;3&quot;;
    case MKEY_KP4: return &quot;4&quot;;
    case MKEY_KP5: return &quot;5&quot;;
    case MKEY_KP6: return &quot;6&quot;;
    case MKEY_KP7: return &quot;7&quot;;
    case MKEY_KP8: return &quot;8&quot;;
    case MKEY_KP9: return &quot;9&quot;;</code></pre></div><p>to:</p><div class="codebox"><pre><code>    case &#039;0&#039;: case MKEY_KP0: return &quot;0&quot;;
    case &#039;1&#039;: case MKEY_KP1: return &quot;1&quot;;
    case &#039;2&#039;: case MKEY_KP2: return &quot;2&quot;;
    case &#039;3&#039;: case MKEY_KP3: return &quot;3&quot;;
    case &#039;4&#039;: case MKEY_KP4: return &quot;4&quot;;
    case &#039;5&#039;: case MKEY_KP5: return &quot;5&quot;;
    case &#039;6&#039;: case MKEY_KP6: return &quot;6&quot;;
    case &#039;7&#039;: case MKEY_KP7: return &quot;7&quot;;
    case &#039;8&#039;: case MKEY_KP8: return &quot;8&quot;;
    case &#039;9&#039;: case MKEY_KP9: return &quot;9&quot;;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Wed, 19 Aug 2015 07:20:01 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=7593#p7593</guid>
		</item>
		<item>
			<title><![CDATA[Re: I have problems with "isKeyPressed ()" in laptops]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=7592#p7592</link>
			<description><![CDATA[<p>Can I make this in a simple way?</p>]]></description>
			<author><![CDATA[dummy@example.com (ArielRiv)]]></author>
			<pubDate>Wed, 19 Aug 2015 02:06:13 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=7592#p7592</guid>
		</item>
		<item>
			<title><![CDATA[Re: I have problems with "isKeyPressed ()" in laptops]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=7591#p7591</link>
			<description><![CDATA[<p>Yes, it&#039;s a limitation, sorry.<br />This case is not handled in the code,<br />it need to be added inside &quot;MGameWinEvents.h&quot;</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Mon, 17 Aug 2015 21:12:19 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=7591#p7591</guid>
		</item>
		<item>
			<title><![CDATA[I have problems with "isKeyPressed ()" in laptops]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=7590#p7590</link>
			<description><![CDATA[<p>the &quot;isKeyPressed ()&quot; function is not detected when I press the number keys on a laptop, how can I solve this problem?</p>]]></description>
			<author><![CDATA[dummy@example.com (ArielRiv)]]></author>
			<pubDate>Mon, 17 Aug 2015 01:45:16 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=7590#p7590</guid>
		</item>
	</channel>
</rss>
